Re: [tcpdump-workers] pcap_inject and 802.1q subinterfaces on Solaris?

2011-05-20 Thread Darren Reed
On 19/05/11 03:33 PM, Tim Sammut wrote: Hi, everyone. I have a small tool that uses pcap_inject to send ethernet frames on specific host interfaces. When injecting on a 802.1q virtual interface on Solaris the frame is ultimately transmitted without the 802.1q header that should have been add by

Re: [tcpdump-workers] Best OS / Distribution for gigabit capture?

2011-05-20 Thread Guy Harris
On Feb 8, 2011, at 12:53 AM, M. V. wrote: > (this result is with libpcap-0.9.8. i got much worse > results with libpcap-1.0+). What snapshot length are you using? If, for example, this is on Ethernet, and you're capturing with a snapshot length of 65535 (that's the default for newer versions

Re: [tcpdump-workers] libpcap capture performance drop

2011-05-20 Thread Guy Harris
On Sep 6, 2010, at 11:45 AM, Doktor Bernd wrote: > If I recompile with the HAVE_PACKET_RING stuff *not* commented out I get the > bad performance as with the packaged versions from Ubuntu. So the performance > drop is caused by that part of libpcap. The packet-ring stuff has fixed-length slots

Re: [tcpdump-workers] *** glibc detected *** corrupted double-linked list

2011-05-20 Thread harish badrinath
The heap is being corrupted whn running on PPC. Do you have GDB on the embedded box??. I also sent a similar mail (infact i termed it: A possible bug in libpcap xD), turns out it was completely my fault. If you cant cross compile valgrind, then try using something like efence (http://en.wikipedia.

[tcpdump-workers] *** glibc detected *** corrupted double-linked list

2011-05-20 Thread Guy Morand
Hello everyone ! I don't know if I'm in the right place but I'm having a strange error with libpcap and as I don't find any clue on the Internet, I was wondering if you could help me or give any pointer I wrote a small application with libpcap 1.1.1. It works pretty well on my station. Th

Re: [tcpdump-workers] *** glibc detected *** corrupted

2011-05-20 Thread Guy Morand
> I see you're using pthreads. > Your malloc may not be thread-safe on the embedded platform? Thanks for your help, I'll check this ! Regards, Guy Morand - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.

Re: [tcpdump-workers] *** glibc detected *** corrupted

2011-05-20 Thread rixed
I see you're using pthreads. Your malloc may not be thread-safe on the embedded platform? - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.

Re: [tcpdump-workers] *** glibc detected *** corrupted double-linked list

2011-05-20 Thread Guy Morand
Hello everyone ! I don't know if I'm in the right place but I'm having a strange error with libpcap and as I don't find any clue on the Internet, I was wondering if you could help me or give any pointer I wrote a small application with libpcap 1.1.1. It works pretty well on my station. T