Re: [tcpdump-workers] How to print BOOTP/DHCP packets

2009-05-08 Thread Javier Gálvez Guerrero
Thanks for your answers. Now I can manage to get the info that I want. Best regards, Javi 2009/5/7 Jefferson Ogata > On 2009-05-07 14:34, Javier Gálvez Guerrero wrote: > > I want to get the information included in bootp/dhcp packets captured > > through tcpdump. I tried adding -

[tcpdump-workers] How to print BOOTP/DHCP packets

2009-05-07 Thread Javier Gálvez Guerrero
Hi, I want to get the information included in bootp/dhcp packets captured through tcpdump. I tried adding -v, -vv and -vvv options to the issued command but all the information I got was like this: pike:/home/dulceangustia/tcpdump-4.0.0# tcpdump -i ra0 port bootps -vvv tcpdump: listening on ra0,

[tcpdump-workers] Unable to build tcpdump 4.0.0 [Debian 2.6.26-2 - libpcap 1.0.0]

2009-04-30 Thread Javier Gálvez Guerrero
Hi, I'm using Debian Lenny (kernel 2.6.26-2) and I had libpcap 0.9.8 and tcpdump 3.9.8 installed but I would like to upgrade them to libpcap 1.0.0 and tcpdump 4.0.0. In order to do that, I downloaded the corresponding tarballs. I (believe that) properly installed libpcap 1.0.0 in my system (how co

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

2009-04-29 Thread Javier Gálvez Guerrero
d be much appreciated, so I can get the latest tcpdump release working. Thank you so much for your help and time and sorry for the inconvenience, Javi 2009/4/28 Guy Harris : > > On Apr 28, 2009, at 2:26 AM, Javier Gálvez Guerrero wrote: > >> I'm trying to catch DHCP Requests/

[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