[tcpdump-workers] Fixing damaged cap file

2007-03-31 Thread [EMAIL PROTECTED]
Dear TcpDump and LibPcap team, I am new tcpdump and libpcap case, I have one big wish for You. Please, could You be so pleasure and send me patch for http://archive.ubuntu.com/ubuntu/pool/main/libp/libpcap0.8/libpcap0.8_0.9.5.orig.tar.gz

Re: [tcpdump-workers] pcap_inject vs. pcap_sendpacket and max frame size

2007-03-31 Thread Aaron Turner
*sigh* Long story short, I just figured out that both pcap_inject() and pcap_sendpacket() have the same problem (a bug in my code was hiding the error returned by pcap_sendpacket()). However the bug doesn't seem to affect directly sending using BPF directly or using Libnet (which also goes throu

[tcpdump-workers] pcap_inject vs. pcap_sendpacket and max frame size

2007-03-31 Thread Aaron Turner
Odd problem under OS X: I've tried using both pcap_inject() and pcap_sendpacket() to send raw ethernet frames and I've found that pcap_sendpacket() has no problem sending a 1514byte frame (14 byte ethernet header w/ 1500 bytes of data) while pcap_inject() complains that the frame is too large (er