[Snort-users] SSH MISMATCH

Jefferson, Shawn Shawn.Jefferson at ...14448...
Thu Oct 18 18:18:13 EDT 2012

Pre-processors rules are "built-in" to snort, and when you compile snort you can specify that you want to enable pre-processor rules (I typically use --enable-sourcefire which enables some other options you'll most likely want as well.)  Then you need to have the pre-processor rules files specified in your snort.conf as well.  You can then disable rules in these files like you mention.  Make sure to -HUP snort to get it to re-read the rule config (I'm pretty sure that works for pre-processor rules as well-someone correct me if I'm wrong.)

-----Original Message-----
From: AllowOverride [mailto:allowoverride at ...11827...] 
Sent: Wednesday, October 17, 2012 3:10 PM
To: snort-users
Subject: [Snort-users] SSH MISMATCH

i am trying to turn off this alert in preproc_rules/preprocessor.rules:

#alert ( msg: "SSH_EVENT_PROTOMISMATCH"; sid: 4; gid: 128; rev: 1;
metadata: rule-type preproc, service ssh ;

i commented it out, still it shows up in base.

which leads to another logical question: 

how can one find out where a rule lives in the first place.
i figured out from base if i mouse over the snort portion it states:
128-4 which i figured you can grep 128 goto the file, 4 entries down, find it that way.

1. is there another easier way to find them?

2. lastly, how can i turn it off 128-4 for good.


Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for free today:
Snort-users mailing list
Snort-users at lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
Snort-users list archive:

Please visit http://blog.snort.org to stay current on all the latest Snort news!

More information about the Snort-users mailing list