|
|||||||||||
|
[Snort-devel] incorrect TCP RST handling.
From: Shai Rubin <shai(at)cs.wisc.edu>
Date: Fri Aug 29 2003 - 16:39:44 EDT I believe that SNORT has a bug in how it handles RST TCP packets. The attached tcpdump illustrates how a RST packet can cause SNORT to flush a stream and to miss an attack (finger-root in this case, reassembly was activated on port 79 for this case).
When a RST packet is a (fast) retransmission of a data packet that was
not acked yet, SNORT flushes the stream without waiting to see whether the
RST was accepted by the host.
Note that most hosts will NOT accept the RST packet (see Paxson paper IEEE-security 2003). I also believe that the fix is simple , as shown below. /tmp>diff spp_stream4.c snort-2.0.1/src/preprocessors/spp_stream4.c 3197,3199c3197 < static StreamPacketData spd; < spd.seq_num = pkt_seq; < --- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Snort-devel mailing list Snort-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/snort-devel
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:08:09 EDT |
||||||||||
|
|||||||||||