Re: [tcpdump-workers] error executing ksniff with libpcap 1.0.0

2008-11-19 Thread Guy Harris
On Nov 17, 2008, at 1:46 PM, Giovanni Venturi wrote: To make the pcap_next/pcap_ex non blocking under Linux I use: FD_ZERO(&m_fdset); FD_SET(m_pcap_fd, &m_fdset); m_fdtimeout.tv_sec = 0; m_fdtimeout.tv_usec = CAP_READ_TIMEOUT*1000; selRet = select(m_pcap_fd+1, &m_fdset, NULL, NU

Re: [tcpdump-workers] any device doesn't work anymore

2008-11-19 Thread Guy Harris
On Nov 17, 2008, at 3:15 PM, Giovanni Venturi wrote: just block told me that: SIOCGIFHWADDR: No such device I've checked a fix for this into the main and 1.0 CVS branches. If I use NULL no block tell me that there is a problem. I got crash on (FD_SET): "Crash" meaning your program crashe

Re: [tcpdump-workers] error executing ksniff with libpcap 1.0.0

2008-11-19 Thread Giovanni Venturi
Alle mercoledì 19 novembre 2008, Guy Harris ha scritto: > On Nov 17, 2008, at 1:46 PM, Giovanni Venturi wrote: > > To make the pcap_next/pcap_ex non blocking under Linux I use: > > > >FD_ZERO(&m_fdset); > >FD_SET(m_pcap_fd, &m_fdset); > >m_fdtimeout.tv_sec = 0; > >m_fdtimeout.tv_use

Re: [tcpdump-workers] any device doesn't work anymore

2008-11-19 Thread Giovanni Venturi
Alle mercoledì 19 novembre 2008, Guy Harris ha scritto: > On Nov 17, 2008, at 3:15 PM, Giovanni Venturi wrote: > > just block told me that: > > > > SIOCGIFHWADDR: No such device > > I've checked a fix for this into the main and 1.0 CVS branches. > Mmm. If you can... Can you send me a patch against

Re: [tcpdump-workers] any device doesn't work anymore

2008-11-19 Thread Guy Harris
On Nov 19, 2008, at 9:43 AM, Giovanni Venturi wrote: Alle mercoledì 19 novembre 2008, Guy Harris ha scritto: I've checked a fix for this into the main and 1.0 CVS branches. Mmm. If you can... Can you send me a patch against 1.0.0 version? I've attached it to this message. Yes my program

Re: [tcpdump-workers] any device doesn't work anymore

2008-11-19 Thread Giovanni Venturi
Alle mercoledì 19 novembre 2008, Guy Harris ha scritto: > On Nov 19, 2008, at 9:43 AM, Giovanni Venturi wrote: > > Alle mercoledì 19 novembre 2008, Guy Harris ha scritto: > >> I've checked a fix for this into the main and 1.0 CVS branches. > > > > Mmm. If you can... Can you send me a patch against