Project

General

Profile

Actions

Bug #14495

closed

Snort does not contain DetectorFini() function

Added by Jonathan Lee about 2 years ago. Updated about 2 years ago.

Status:
Not a Bug
Priority:
Normal
Assignee:
-
Category:
Snort
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
All
Affected Plus Version:
23.05
Affected Architecture:
SG-2100

Description

Detector cisco_content_group_dummy_detectors.lua: does not contain DetectorFini() function

I have been getting this error once and a while. I have posted to Netgate forum but no responses. This causes a fail open.

https://forum.netgate.com/topic/172958/detector-cisco_content_group_dummy_detectors-lua-does-not-contain-detectorfini-function


Files

Screenshot 2023-06-21 at 9.05.43 AM.png (345 KB) Screenshot 2023-06-21 at 9.05.43 AM.png Snort failed open Jonathan Lee, 06/21/2023 04:05 PM
OpenDetectorDeveloperGuide.pdf (433 KB) OpenDetectorDeveloperGuide.pdf Open Source Detectors Developers Guide Jonathan Lee, 06/21/2023 07:51 PM
Actions #1

Updated by Bill Meeks about 2 years ago

This is not a bug. This is due to having incorrect user-supplied text rules for the current version of the OpenAppID detector stubs package. You are using an old and out-of-date user text rules package with OpenAppID. It is up to the OpenAppID function user to craft and configure the necessary text rules to work with the current OpenAppID rules stubs package from the Snort Vulnerability Research Team.

OpenAppID is NOT like the other rules at all. You can't simply enable it and have it work. User intervention is mandatory to craft and configure suitable text rules to stay in step with the rules stubs provided from Snort VRT. Those stubs frequently get updated by upstream.

As with everything the Snort binary does not like during startup, it will perform a FATAL ERROR exit and not continue startup. This behavior is by design in the Snort binary and cannot be changed short of rewriting the Snort binary. The "fail open" is how it is designed, unfortunately.

Actions #2

Updated by Jonathan Lee about 2 years ago

I did not know this. Thanks for the reply. I have attached this for future reference should someone search for the same issue in the future. I just added this to the Netgate Forum also. Its SourceFire Open Source Detector Developers Guide. I got this pdf a couple years ago from someone.

Actions #3

Updated by Marcos M about 2 years ago

  • Status changed from New to Not a Bug
Actions

Also available in: Atom PDF