Snort mailing list archives

RE: TCP Flags & MySQL


From: "Paul Melson" <pmelson () gmail com>
Date: Mon, 10 Apr 2006 12:52:23 -0400

-----Original Message-----
Subject: Re: [Snort-users] TCP Flags & MySQL

TCP flags are in "decimal" value.  So.  2 would be SYN, and 18 would be a
combination of two 
flags,  ACK = 16 and SYN = 2, so 18 = SYN, ACK.

The number in the tcp_win size is the "window size" of the packet. You can
google all sorts 
of information concerning either of these topics.

You can write a BPF filter for Snort or tcpdump to look for these values
(if you want to 
look at them in a dump format) with the bpf filter of 'port 0 and tcp[13]
= 2 or tcp[13] = 
18'.

Joel, 

Thanks for the answer.  This is exactly what I was looking for.


It might be easier to install a GUI for the db, like BASE.  That way you
can "see" these 
alerts in your browser.

In the case where a packet payload is present, the GUI we're using does
display all of the TCP and IP header info from MySQL.  It just happened that
this time I wanted that info but couldn't use our GUI since this rule
doesn't record payload.

Thanks again.

PaulM





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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: