[tcpdump-workers] reading a live pcap file in real time

2009-03-03 Thread Giovanni Venturi
ue on libpcap in the way I get the live sniffing let me know. Thank you for your attention, Giovanni Venturi -- A KDE Italian translator and KSniffer core developer Slackware GNU/Linux current version - kernel 2.6.28.7 KSniffer Project - http://www.ksniffer.org/ KDE Italia - http://www.kde-

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

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

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_fd

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

2008-11-18 Thread Giovanni Venturi
Alle martedì 18 novembre 2008, Guy Harris ha scritto: > If you *truly* set a variable to, say, 9, and then later set it from > the return value of a function, and immediately after setting it from > the return value of the function it still has the value you originally > set it to, then either > >

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

2008-11-18 Thread Giovanni Venturi
Alle lunedì 17 novembre 2008, Guy Harris ha scritto: > On Nov 16, 2008, at 1:28 PM, Giovanni Venturi wrote: > > Hello, > > I'm the author of ksniffer a GUI interface under KDE 3 to capture > > network > > packet. > > Till libpcap < 1.0.0 (the last stable y

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

2008-11-17 Thread Giovanni Venturi
As reported in man: pcap_create() is used to create a packet capture handle to look at packets on the network. source is a string that specifies the network device to open; on Linux systems with 2.2 or later kernels, a source argument of "any" or NULL can be used to capture packets from all int

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

2008-11-17 Thread Giovanni Venturi
Alle lunedì 17 novembre 2008, Guy Harris ha scritto: > On Nov 16, 2008, at 1:28 PM, Giovanni Venturi wrote: > > Hello, > > I'm the author of ksniffer a GUI interface under KDE 3 to capture > > network > > packet. > > Till libpcap < 1.0.0 (the last stable y

[tcpdump-workers] error executing ksniff with libpcap 1.0.0

2008-11-17 Thread Giovanni Venturi
Hello, I'm the author of ksniffer a GUI interface under KDE 3 to capture network packet. Till libpcap < 1.0.0 (the last stable you released) all was ok in the packet capture, but now I get the following error message: can't create rx ring on packet socket 4: 92-Protocol not available What does

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

2008-11-17 Thread Giovanni Venturi
Alle lunedì 17 novembre 2008, Guy Harris ha scritto: > On Nov 16, 2008, at 2:11 PM, Guy Harris wrote: > > 4) somehow that causes pcap_open_live() to fail, rather than just > > falling back on reading from the PF_PACKET socket in the normal > > fashion. > > > > If so, that's a libpcap bug; I'll

[tcpdump-workers] error executing ksniff with libpcap 1.0.0

2008-11-16 Thread Giovanni Venturi
Hello, I'm the author of ksniffer a GUI interface under KDE 3 to capture network packet. Till libpcap < 1.0.0 (the last stable you released) all was ok in the packet capture, but now I get the following error message: can't create rx ring on packet socket 4: 92-Protocol not available What does

Re: [tcpdump-workers] Devices and adresses in libpcap

2008-04-13 Thread Giovanni Venturi
Alle domenica 13 aprile 2008, David Rosal ha scritto: > Thanks Guy. > > By the way: Have you had a look at libpcap++? > > The web page is: http://libpcappp.sourceforge.net/ > > Your opinion would be specially appreciated. > > Anyway, thanks for the help. > You should add on the website what libpc

[tcpdump-workers] packets direct access

2008-02-29 Thread Giovanni Venturi
Hello, I'm new in this list. I wrote a sniffer using libpcap but I've got some questions. I'd like to access directly to the packets number N in the dump file. How can I do without start form the first packet and go on sequentially till the N packet? I ask you this becase If I've got a file with