[tcpdump-workers] Getting packet statistics

2009-02-06 Thread Ambika Tripathy
Hi Experts, I new to the libpcap application. For my application I want to implement one counter for packet statistics for one capture job. But when I search the codes I found in pcap-linux.c pcap_stats_linux() only the filtered packets are displyed by the pcap_stats(). But I want

Re: [tcpdump-workers] pcap-libdlpi.c doesn't compile in version 1.0.0

2009-02-06 Thread Sebastien Roy
Any input on the OpenSolaris issues I pointed out a few weeks back? Again, I have a fix that i can provide, but as I haven't contributed code to libpcap before, a quick primmer on what your process is would help me out. Thanks, -Seb On Fri, 2009-01-23 at 13:47 -0500, Sebastien Roy wrote: Hi

[tcpdump-workers] start pcap in two thread

2009-02-06 Thread David Andrey
Hi all, Can 2 threads (in the same process) start each one a sniffing session on the same interface, but with different filter. Is it safe and reliable ? I'm using Linux 2.6.27 and made some tests. It seems that one thread catch all the frames ?! Is it possible the compile libpcap for this

[tcpdump-workers] Where to get tcpslice?

2009-02-06 Thread Julian Mehnle
Hi all, http://www.tcpdump.org/related.html says there is an updated tcpslice in the tcpdump CVS server, as the project tcpslice, and I managed to check out the code from there a few months ago. However, now the libpcap and tcpdump code seems to have been moved to git repositories. What

Re: [tcpdump-workers] Where to get tcpslice?

2009-02-06 Thread Michael Richardson
Julian == Julian Mehnle jul...@mehnle.net writes: Julian http://www.tcpdump.org/related.html says there is an updated Julian tcpslice in the tcpdump CVS server, as the project Julian tcpslice, and I managed to check out the code from there a Julian few months ago. However, now

Re: [tcpdump-workers] start pcap in two thread

2009-02-06 Thread Guy Harris
On Feb 6, 2009, at 7:24 AM, David Andrey wrote: Can 2 threads (in the same process) start each one a sniffing session on the same interface, but with different filter. Is it safe and reliable ? It should work *IF* each thread opens a separate pcap_t for the interface and sets its own

Re: [tcpdump-workers] Where to get tcpslice?

2009-02-06 Thread Julian Mehnle
Michael Richardson wrote: Julian == Julian Mehnle jul...@mehnle.net writes: Julian http://www.tcpdump.org/related.html says there is an updated Julian tcpslice in the tcpdump CVS server, as the project Julian tcpslice, and I managed to check out the code from there a Julian few months ago.

Re: [tcpdump-workers] start pcap in two thread

2009-02-06 Thread Gianluca Varenni
- Original Message - From: Guy Harris g...@alum.mit.edu To: tcpdump-workers@lists.tcpdump.org Sent: Friday, February 06, 2009 11:06 AM Subject: Re: [tcpdump-workers] start pcap in two thread On Feb 6, 2009, at 7:24 AM, David Andrey wrote: Can 2 threads (in the same process)