Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Snort-Signatures
[Top] [All Lists]

[Snort-sigs] Rule for identifying all trafic except the specefied one

Subject: [Snort-sigs] Rule for identifying all trafic except the specefied one
Date: Thu, 15 Jun 2006 01:25:00 +0530
Hi,

We have a link for an ftp server and want to have an alert for all 
traffic to the ftp server except for one file type. The file that needs 
to pass has a fixed string at the start of the file. I have a rule to 
match the contents of the file,

alert tcp any any -> 192.168.3.74 any (msg:"Test Rule"; 
flow:to_server,established; content: "FOOBAR"; offset:0; depth:6; rev:1; 
fwsam: src, 10 seconds;)

fwsam is used for snortsam, for blocking the ip using alerts of snort. 
Now I want to negate this rule to alert all streams that do not match 
this rule. When I try to use ! operator I get an error about Pure not 
rule. I am using snort 2.4.5

Any help will be much appreciated!

raj


_______________________________________________
Snort-sigs mailing list
Snort-sigs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/snort-sigs

<Prev in Thread] Current Thread [Next in Thread>