Project

General

Profile

Actions

Bug #2856

closed

Add Rule with Comment at the end

Added by Manuel Sousa about 5 years ago. Updated about 5 years ago.

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

Description

I was trying to add a rule with a comment at the end like this:

pass udp 192.168.1.1 any -> any 161 # domain.dns.com

Suricata parser can't read this rule and throws a

[ERRCODE: SC_ERR_INVALID_SIGNATURE(39)] - error parsing signature
to this rule which I think as everything to be accepeted inside a rules file.

Thank you

Actions #1

Updated by Manuel Sousa about 5 years ago

aparently this is the intended behaviour. You may close this issue. Sorry for this.

Actions #2

Updated by Victor Julien about 5 years ago

The signature is invalid by itself as well, as it's missing the options part. A sid option is mandatory.

Actions #3

Updated by Andreas Herz about 5 years ago

  • Status changed from New to Closed

closed as requested by the author

Actions

Also available in: Atom PDF