Questions tagged [ip-fragmentation]
44 questions
6
votes
0 answers
How to read a pcap file generated by tcpdump that contains large UDP packets and reassemble the IP fragmented packets?
I would like to read a pcap file generated by tcpdump that contains large UDP packets that have undergone IPV4 fragmentation. The original packets are of a size of around 22000 bytes.
In C++, I would use libtins with its IPV4Reassembler. Is there a…

Daniel
- 510
- 3
- 15
3
votes
1 answer
Video streaming protocol - handling fragmentation
Recently i was trying to stream live video captured by webcam over udp. The approach I took was to read one frame,send it over udp and read the data at receiver side and display it.
Now, I understand that sending data over udp/tcp results in…

DUDE_MXP
- 724
- 7
- 24
3
votes
2 answers
How bad is ip fragmentation
I understand that when sending ip messages around, each hop in the network path between be and my packet's destination will check if the next hop's MTU is bigger than the size of the packet I sent. If so, the packet will be fragmented and the two…

Matteo Monti
- 8,362
- 19
- 68
- 114
3
votes
1 answer
Will Socket deliver IP fragmented packets as one reassembled UDP packet?
When receiving TCP packets, Socket will give me reassembled packets, in case they got IP fragmented, as I'm guaranteed to get an ordered, gap-free stream of bytes.
When receiving UDP packets, where I may receive packets in a different order than…

Evgeniy Berezovsky
- 18,571
- 13
- 82
- 156
2
votes
1 answer
Clear Don't Fragment bit on Linux
I have a test requirement which required me clear don't fragment bit for packet flowing through Linux machine(cent-OS).
I have tried setting the net.ipv4.ip_forward_use_pmtu=1 but it seems to only disable MTU Path discovery and does not clear DF…

Avinash Kumar Ranjan
- 375
- 3
- 9
2
votes
0 answers
Disabling IP reassembly / defragmentation in link aggraegation scenario
The diagram below depicts a network that involves the aggregation of three slow channel throughputs over a WAN. Each router attempts to reassemble the fragmented IP packets which leads to data loss because the fragments take random paths through the…

George Robinson
- 1,500
- 9
- 21
2
votes
1 answer
IPv6 reassembling
RFC8200 specifically says that fragmentation is done only by the source node and not by any intermediate node. It also says that fragments are reassembled at the receiver. Can I conclude from this that reassembly is done only at the receiver and no…

jt26
- 21
- 3
2
votes
1 answer
Why doesn't Linux IPSec implementation support fragmentation before encryption?
I am trying to address an issue where ESP packets are getting fragmented as after adding the ESP header the MTU size is exceeded. The solution (which is what everybody does) is to do the fragmentation before doing the ESP encryption.
My question is…

Nikhil Utane
- 1,141
- 2
- 12
- 29
1
vote
0 answers
I can't fragment my packet on a TCP connection
I've been trying and trying to fragment my TCP packets but I havent found any helpful implementation of it. I am familiar with the theory and concepts of fragmentation, have even come across some flags such as IP_PMTUDISC_DONT, IP_PMTUDISC_WANT, and…

Awais Nawaz
- 11
- 1
1
vote
1 answer
which data structure to choose for ip datagram reassembly at receiver end?
While reassembling datagram at receiver which data structure would be better in terms of
if 1-2 fragment got lost we should discard complete datagram
sorting of fragments should be faster
if fragments are further fragmented then reassembling all…

anand
- 267
- 1
- 3
- 16
1
vote
1 answer
Does the internet really works at 1500 bytes?
MTU (Maximum transmission unit) is the maximum frame size that can be transported.
When we talk about MTU, it's generally a cap at the hardware level and is for the lower level layers - DataLink and Physical layer.
Now, considering the OSI layer, it…

DUDE_MXP
- 724
- 7
- 24
1
vote
0 answers
DF bit set for UDP socket program
I tried a simple code of UDP socket in Java and the analysis showed me that the DF bit was always set in the packet's IP Header, is there a way to clear the flag?
I tried out a code in TCP as well, and both the server and client code was in the…

Anushreya
- 11
- 2
1
vote
1 answer
IP Fragmentation on Linux
I have a linux system that sits between 2 routers ( sniffer like ).
both routers support Jumbo frames while my system is limited to MTU 1500.
My understanding that Sending router will fragment the Jumbo Frame into IP Datagram based on MTU 1500 and…

user3087632
- 143
- 2
- 9
1
vote
2 answers
Extra Bytes in IP Fragmentation
I am currently going through my networking slides and was wondering if someone could help me with the concept of fragmentation
so i understand the first part till "108 Bytes" but what I don't understand is this "8 Bytes = 13.5 => 13 * 8
Bytes =…

elGreato
- 140
- 1
- 14
1
vote
1 answer
NodeJS ip fragmentation
This question suggests that the Node.js Net module doesn't handle ip-fragmentation:
Node.js how to handle packet fragmentation with net.Server
I can almost not imagine it's true, but I can't find any documentation about this (please forgive me if it…

Sander
- 171
- 1
- 10