Re: [tcpdump-workers] why I'm capturing packets larger than MTU size

2012-02-23 Thread Guy Harris
On Feb 23, 2012, at 9:23 AM, Andriy Tylychko wrote: > Yeah, seems you're right. After upgrading to libpcap 1.2.1 I see failed > sends only on packets with size of 1518 bytes, before that (with default > libpcap 0.8 from Debian repository) I saw packets of >2000 bytes. > > Why I cannot send such

Re: [tcpdump-workers] why I'm capturing packets larger than MTU size

2012-02-23 Thread Rick Jones
On 02/23/2012 06:31 AM, Andriy Tylychko wrote: I capture network traffic on Debian 5 and 6 with libpcap v. 1.2.1 compiled from sources. Then I send these traffic by pcap_sendpacket(). Sometimes there're packets (both TCP and UDP) larger than default MTU size (1500 bytes). I cannot send these pack

Re: [tcpdump-workers] why I'm capturing packets larger than MTU size

2012-02-23 Thread Aaron Turner
gt; To: tcpdump-workers@lists.tcpdump.org >> Subject: Re: [tcpdump-workers] why I'm capturing packets larger than MTU > size >> >> On Thu, Feb 23, 2012 at 6:31 AM, Andriy Tylychko > >> wrote: >> > I capture network traffic on Debian 5 and 6 with libpcap

Re: [tcpdump-workers] why I'm capturing packets larger than MTU size

2012-02-23 Thread Andriy Tylychko
---Original Message- > From: tcpdump-workers-ow...@lists.tcpdump.org [mailto:tcpdump-workers- > ow...@lists.tcpdump.org] On Behalf Of Aaron Turner > Sent: Thursday, February 23, 2012 6:49 PM > To: tcpdump-workers@lists.tcpdump.org > Subject: Re: [tcpdump-workers] why I'm ca

Re: [tcpdump-workers] why I'm capturing packets larger than MTU size

2012-02-23 Thread Aaron Turner
On Thu, Feb 23, 2012 at 6:31 AM, Andriy Tylychko wrote: > I capture network traffic on Debian 5 and 6 with libpcap v. 1.2.1 compiled > from sources. Then I send these traffic by pcap_sendpacket(). Sometimes > there're packets (both TCP and UDP) larger than default MTU size (1500 > bytes). I cannot

[tcpdump-workers] why I'm capturing packets larger than MTU size (1500 bytes) and how to send them by pcap_sendpacket()?

2012-02-23 Thread Andriy Tylychko
I capture network traffic on Debian 5 and 6 with libpcap v. 1.2.1 compiled from sources. Then I send these traffic by pcap_sendpacket(). Sometimes there're packets (both TCP and UDP) larger than default MTU size (1500 bytes). I cannot send these packets with error: "send error: packetSendPacket fai