Snort mailing list archives

RE: BPF filters for the intimidated


From: "Joshua Berry" <jberry () PENSON COM>
Date: Fri, 23 Jul 2004 14:00:20 -0500

If you only want to capture UDP ports destined to a specific host on
port 53 here is an example (where host = 1.1.1.1):

(udp && dst host 1.1.1.1 && port 53)

So you could do this with Tcpdump:

/usr/sbin/tcpdump -vvvxXi <ethX> 'udp && dst host 1.1.1.1 && port 53'

-----Original Message-----
From: snort-users-admin () lists sourceforge net
[mailto:snort-users-admin () lists sourceforge net] On Behalf Of Paul
Schmehl
Sent: Friday, July 23, 2004 1:16 PM
To: Snort-User Mailing List
Subject: [Snort-users] BPF filters for the intimidated

Does anyone know a good source for a tutorial on BFP filters?  Reading
the 
man page has me crossing my eyes and growning.

I want to capture udp packets on port 53 to one host, including the
entire 
payload.  I've figured out the hex address for the host, but the rest 
escapes me.

Paul Schmehl (pauls () utdallas edu)
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&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


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&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


Current thread: