tcpdump mailing list archives

pcap_compile and tcpdump syntax


From: Travis <travis () utulsa edu>
Date: Wed, 13 Oct 2004 13:13:53 -0500

Hello list,

Is it not correct that pcap_compile takes in a filter program with tcpdump syntax? If so then why is it that when I try to compile the program "host 129.244.241.XXX", where XXX is an actual number, does the compile function fail on me? I'm assuming this is something really stupid but it has me stumped for now. tcpdump has no problem with that syntax and dutifully spits out packets addressed to me.

Thanks
-Travis
-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.


Current thread: