Re: [tcpdump-workers] How to use specific protocol filters in pcap programming

2009-04-28 Thread Guy Harris
On Apr 28, 2009, at 2:26 AM, Javier Gálvez Guerrero wrote: I'm trying to catch DHCP Requests/ACK and IEEE 802.11Probe Requests and Association ACK packets in a custom C program using libpcap but I'm facing some problems when applying filter chains different than simple ones like 'ether dst

[tcpdump-workers] How to use specific protocol filters in pcap programming

2009-04-28 Thread Javier Gálvez Guerrero
Hi there, I'm trying to catch DHCP Requests/ACK and IEEE 802.11Probe Requests and Association ACK packets in a custom C program using libpcap but I'm facing some problems when applying filter chains different than simple ones like 'ether dst X' or 'port Y'. I would like to know what should I do in

Re: [tcpdump-workers] tcpdump -i crash

2009-04-28 Thread Guy Harris
On Apr 27, 2009, at 7:12 AM, Miroslav Lichvar wrote: I've received a bug report that tcpdump crashes when -i option is used and there are no interfaces available. I've checked in a different-but-similar fix. - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.

Re: [tcpdump-workers] From pcap_filter manual...

2009-04-28 Thread Guy Harris
On Apr 27, 2009, at 8:19 PM, Eddie Harari wrote: 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 ? tcpdu