[Snort-users] FlexResp and react keyword
robtompc at ...131...
Sat Oct 6 11:11:02 EDT 2001
Having some trouble with the react keyword (and
probably the resp keyword??) with snort-1.8.1-RELEASE,
on Linux Mandrake 7.2 (kernel 2.2.17).
compile snort with './configure --enable-flexresp'
create a snort.conf file:
output log_tcpdump: suspicious.log
suspicious tcp any any -> 127.0.0.1 80 \
(msg: "http attempt"; react: block, msg;)
run '/usr/local/bin/snort -dev -i lo -l /var/log/snort
and run 'lynx localhost'
lynx gets the web page, takes exactly 104 packets. I
was expecting snort to 'magically' block the
I get a /var/log/snort/1006 at ...3712..., and
an empty alert file in the same dir. Running
/var/log/snort/1006\@0845-suspicious.log' I get:
Log directory =
--== Initializing Snort ==--
TCPDUMP file reading mode.
Read network traffic from
"/var/log/snort/1006 at ...3712..." file.
snaplen = 1514
After that it freezes, have to kill -9 it. Running
'tcpdump -F /var/log/snort/1006\@0845-suspicious.log'
tcpdump: illegal char 'o'
the o is a lowercase o with a hat '^' over it.
1> The rule is triggered, because snort creates the
logfile. How come the react keyword doesn't block the
2> The logfile is unreadable. Any idea why?
"Experience is that marvelous thing that enables you to recognize a mistake when you make it again." -- F. P. Jones
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
More information about the Snort-users