This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

unable to send packet using tcpreplay

0

Hi, We are finding difficult to replay a pcapng trace using tcp replay. Here is the error message we are seeing.

Unable to send packet: Error with PF_PACKET send() : Message too long (errno =90) Warning in send_packets.c:send_packets() line 180:

Would like to know whether this is wireshark issue or tcp replay issue.

Thanks for any help,

asked 28 May '14, 09:29

krishnayeddula's gravatar image

krishnayeddula
629354148
accept rate: 6%


3 Answers:

0

Would like to know whether this is wireshark issue or tcp replay issue.

could be one of the following

  • libpacp on your system does not support pcpap-ng (please check libpcap version)
  • your pcap-ng file is somehow damaged (please check by opening the file with Wireshark)
  • If your OS is MAC OS X < 1.5.0, you could have hit a known bug (see the tcprelay FAQ)

So, please add some details about your system:

  • OS and OS version
  • Wireshark version on that system
  • tcprelay version
  • libpcap version

Regards
Kurt

answered 28 May '14, 10:05

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

edited 28 May '14, 10:06

Easiest advice: convert your pcapng file to pcap and try again...

(28 May '14, 10:13) Jasper ♦♦

0

hi, i had the same issue, after setting the MTU of interface, i fix it. you could try it for using command ifconfig to set the MTU. "Unable to send packet: Error with PF_PACKET send() : Message too long (errno =90) Warning in send_packets.c:send_packets() line 180"

answered 28 May '14, 20:22

fred's gravatar image

fred
267813
accept rate: 0%

I have the same issue, recording on a windows 10 machine on an interface with 1500 MTU, JumboFrame disabled, trying to play on debian with 1500 mtu - and got this error: Message too long (errno = 90)

(04 May '16, 01:09) kdani

hi, you can make mtu larger to fix this issue. for example, set mtu 3000.

(04 May '16, 02:32) fred

@kdani: Your answer has been converted to a comment as that's how this site works. Please read the FAQ for more information.

(04 May '16, 04:09) Jaap ♦

0

Opened a Tcpreplay issue to track. Will investigate as part of 4.0.5 release.

answered 29 May '14, 12:03

Fred%20Klassen's gravatar image

Fred Klassen
112
accept rate: 0%

edited 29 May '14, 12:04