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. |

| Subject: | Re: [Snort-users] snort 2.3.3 --enable-flexresp |
|---|---|
| Date: | Mon, 25 Apr 2005 11:35:49 -0400 |
hans wrote:
hi all i tried the experimental feature '--enable-flexresp' for compiling snort 2.3.3 on solaris 9 ( both sparc and intel plattform ) the first tests did run well, the following rule did disconnect an incomming connection immediate: alert tcp any any <> $HOME_NET 25 (msg:"HELLOon25"; resp:rst_all; ) the next step was to modify this rule sligthly. the disconnect should only appear, if the word "hello" was seen, with this rule: alert tcp any any <> $HOME_NET 25 (msg:"HELLOon25"; content:"hello"; resp:rst_all; ) i telnet to port 25, key in "hello" ( knowing it's not a smtp-dialog ) and nothing happens. i get a logentry, so the rule is involved if the word "hello" is seen, but no disconnect.
When you use a telnet client to generate test traffic, the telnet client will generally send one TCP segment per character because the telnet client explicitly disables the nagle algorithm. Since you are typing it out by hand, the string is actually sent so slow that the mailserver has a chance to acknowledge every individual character. Snort's stream re-assembly flushes whenever an ACK packet from the server comes by. Thus, each individual character was probably run through the rules engine separately, instead of as a single string "HELLO" Try using something like netcat instead of telnet, which more realistically simulates network traffic. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ 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
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: [Snort-users] Snort 2.3.3 available, Harper, Patrick |
|---|---|
| Next by Date: | [Snort-sigs] New OSSRC Mailing List, Alex Kirk |
| Previous by Thread: | Re: [Snort-users] snort 2.3.3 --enable-flexresp, hans |
| Next by Thread: | Re: [Snort-users] snort 2.3.3 --enable-flexresp, Matt Kettler |
| Indexes: | [Date] [Thread] [Top] [All Lists] |