Snort mailing list archives

Re: Content list 2


From: Matt Kettler <mkettler () evi-inc com>
Date: Thu, 05 Dec 2002 14:05:11 -0500

<removing cross-post to snort-sigs, leaving this only on snort-users>

Hmm, why are there \ characters in the MIDDLE of the line in a snort rule?? Those should only exist where there's a line break to prevent the line break from terminating the rule.

Those rules should be (note the removal of one mis-placed \ per rule)

alert tcp any any -> 150.163.18.13 any
(content: "|CAFEBABE|";content: "|AB3FFC0B|"; \
nocase; msg:"Fake Stuff";)

alert tcp any any -> 150.163.18.13 any \
(content: "|CAFEBABE|";nocase; msg:"Cool Stuff";)


At 01:16 PM 12/5/2002 -0300, Aditya () directnet com br wrote:

Hi Friends

Hi Matt Kettler you were right about contents they real do AND
operations :)
I was mistaken. But now i have another doubt, inside my snort.conf file
i just included directly these two rules

alert tcp any any -> 150.163.18.13 any
(content: "|CAFEBABE|";\content: "|AB3FFC0B|"; \
nocase; msg:"Fake Stuff";)
alert tcp any any -> 150.163.18.13 any \
(content: "|CAFEBABE|";\nocase; msg:"Cool Stuff";)

It doesn´t acuse no error , snort understands the rules, but my alerts
or not generated, I want to know were I am wrong, if you or someone else
could help me  please!!!

The funny thing is when i use an activate dynamic rule the alert is
generated, like this one

activate tcp any any -> 150.163.18.13 any (content: "|CAFEBABE|";\
activates: 1; nocase; msg:"Cool Stuff";)
dynamic tcp any any -> 150.163.18.13 any (activated_by: 1; count: 10;)

Aditya
INPE- Brazilian Space Research Center



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: