Bad packet size when replaying pcap

107 views
Skip to first unread message

Conor McKiernan

unread,
Apr 22, 2021, 7:16:37 AM4/22/21
to TRex Traffic Generator

Hi all,

I'm trying to replay some traffic from a recorded pcap.
I get this error when trying to replay it:
Port 0 : *** Bad packet size provided: 11106. Should be between 14 and 9238
The packet is from TLS traffic I'm wondering if it is possible to get around this limit?

Thanks,
Conor

hanoh haim

unread,
Apr 22, 2021, 7:54:11 AM4/22/21
to Conor McKiernan, TRex Traffic Generator
try tcprewite to fix mtu so the maximum packet size would be 1500. I think you capture the pcap in a wrong way using  gro enabled so optimization of TCP segments was consolidated as one packet. 
Most nics are limited to 9K maximum packet size. 
If you have the ability to capture again, try to disable lro and gso and gro.


Thanks
Hanoh

Conor McKiernan

unread,
Apr 22, 2021, 8:22:48 AM4/22/21
to TRex Traffic Generator
Disabled gro, captured again and it worked!
Thanks once again for the help
Reply all
Reply to author
Forward
0 new messages