rigtorp / udpreplay

Replay UDP packets from a pcap file
MIT License
262 stars 72 forks source link

Fragmentation issue #7

Closed rangila closed 6 years ago

rangila commented 6 years ago

The library crashes when trying to send UDP packets fragmented at the IP level.

Error messages: "sendto: message too long" or "sendto: Bad address"

Could you please support me and eventually release a patch?

Thanks, Aleksey

rigtorp commented 6 years ago

If kernel refuses to send messages larger than MTU, I don't think there is anything udpreplay can do about that.

rangila commented 6 years ago

Thank you, that's an useful hint for me. I will try to solve the issue by verifying if there's something in the kernel configuration that would allow me to perform this operation.