[tcpdump-workers] From pcap_filter manual...

2009-04-27 Thread Eddie Harari
BUGS section: " Filter expressions on fields other than those in 802.11 headers will not correctly handle 802.11 data packets with both To DS and From DS set." is this only for libpcap programmers ? or also tcpdump users ? I have same program that basically sets a filter and sniff th

Re: [tcpdump-workers] libpcap changes required for BPF on Solaris

2009-04-27 Thread Darren Reed
There's another change that I think should be made that I'd like to discuss and that's the change from using "test -r" to "test -a" or "test -c". With the device as rwx--, "test -r" will fail for doing "configure" as non-root. I don't consider that to be ideal. At least I like to build softwar

Re: [tcpdump-workers] libpcap changes required for BPF on Solaris

2009-04-27 Thread Darren Reed
On 13/04/09 10:58 AM, Guy Harris wrote: On Apr 10, 2009, at 8:23 PM, Darren Reed wrote: The URL below contains the necessary changes for BPF on Solaris to "just work". To summarise, Solaris needs a few extra includes @ -37,6 +37,12 @@ static const char rcsid[] _U_ = #include #include #i

[tcpdump-workers] tcpdump -i crash

2009-04-27 Thread Miroslav Lichvar
Hi, I've received a bug report that tcpdump crashes when -i option is used and there are no interfaces available. https://bugzilla.redhat.com/show_bug.cgi?id=497819 This should fix it: --- a/tcpdump.c +++ b/tcpdump.c @@ -655,6 +655,8 @@ main(int argc, char **argv)

[tcpdump-workers] LibPcap filter problem,

2009-04-27 Thread Eddie Harari
Hi , I have a strange problem and would like to know what might be the problem ( maybe known issue ?). I have been programming an application that get packets from a Wi-Fi network (monitor mode), i have set a simple filter "TCP" to fetch only tcp packets. for now this is very simple , i use