UDP Fragmentation problem
Posted: Mon Jul 20, 2015 9:20 am
Hi,
I have a problem with UDP fragmentation.
My OS supports UDP and it can assemble fragmented packets.
My problem is with sending fragmented packets.
When a send a large packet of 4000 bytes from a client running on Linus, the packet is sent fragmented.My OS can reassemble the packet successfully.
The problem is that when I try to send the packet back and fragment it to be sent over the network in fragments the packet does not go through.
Basically packets appear correctly on the wireshark that is on the same machine that has my OS VM, but it seems that the packets do not travel over the network.
I have started 2 wiresharks on each side and here are screenshots from both.
Also when I decrease the packet size and send the packets without fragmentation the two way communication works fine.
I don't know also why on the wireshark running on the OS side it shows duplicate packets.
One question that I need clarification on is about the checksum. In case of fragmentation, does the checksum represent the whole stream or only the first packet?
Kindly let me know if you can advise for any prospect problems that might cause that.
Thanks
Karim.
I have a problem with UDP fragmentation.
My OS supports UDP and it can assemble fragmented packets.
My problem is with sending fragmented packets.
When a send a large packet of 4000 bytes from a client running on Linus, the packet is sent fragmented.My OS can reassemble the packet successfully.
The problem is that when I try to send the packet back and fragment it to be sent over the network in fragments the packet does not go through.
Basically packets appear correctly on the wireshark that is on the same machine that has my OS VM, but it seems that the packets do not travel over the network.
I have started 2 wiresharks on each side and here are screenshots from both.
Also when I decrease the packet size and send the packets without fragmentation the two way communication works fine.
I don't know also why on the wireshark running on the OS side it shows duplicate packets.
One question that I need clarification on is about the checksum. In case of fragmentation, does the checksum represent the whole stream or only the first packet?
Kindly let me know if you can advise for any prospect problems that might cause that.
Thanks
Karim.