Project

General

Profile

Actions

Bug #4744

closed

Warn if Absent app-layer protocol is always enabled by default

Added by Jeff Lucovsky about 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

If an applayer protocol's section is unavailable in suricata.yaml, it will get auto enabled.
e.g. say the following section for dnp3 was missing from the configuration file, it will still get auto enabled.

app-layer:
  protocols:
    # DNP3                                                                                                    
    dnp3:
      enabled: no
      detection-ports:
        dp: 20000

But, this is not the desired behavior. To fix this, we explicitly demand a protocol defined in suricata.yaml if it is to be enabled in Suricata 7. See ticket https://redmine.openinfosecfoundation.org/issues/4739 and the linked PR.

However, since this may be too big of a behavioral change for the existing setups running Suricata versions up to 6.0.x, we set a warning that we are enabling the protocol despite it being absent in suricata.yaml and this must be changed to avoid issues with the latest versions.

NOTE: In order to avoid this warning, simply, add the protocol section to suricata.yaml


Related issues 1 (0 open1 closed)

Copied from Suricata - Bug #4739: Absent app-layer protocol is always enabled by defaultClosedPhilippe AntoineActions
Actions

Also available in: Atom PDF