1
General Discussion / Re: MTU size/fragmentation issue
« on: September 29, 2023, 11:33:28 am »
Hi,
many thanks. I added the tunables but this did not change the strange behaviour. I think it was a try but PMTU is in my mind a different story as I am always testing without DF bit set. So it is still a topic of fragmentation and reassembling. Still do not get the point why after receiving the FW is reassembling packet.
Here the packets received from IPSEC tunnel:
two packets because fragmented:
Frame 14: 1432 bytes on wire (11456 bits), 1432 bytes captured (11456 bits)
Enc IPv4, SPI 0xc1f65146
Internet Protocol Version 4, Src: 192.168.90.9, Dst: 192.168.44.32
0100 .... = Version: 4
.... 0101 = Header Length: 20 bytes (5)
Differentiated Services Field: 0x00 (DSCP: CS0, ECN: Not-ECT)
Total Length: 1420
Identification: 0x0541 (1345)
001. .... = Flags: 0x1, More fragments
0... .... = Reserved bit: Not set
.0.. .... = Don't fragment: Not set
..1. .... = More fragments: Set
...0 0000 0000 0000 = Fragment Offset: 0
Time to Live: 61
Protocol: ICMP (1)
Header Checksum: 0x4bb6 [validation disabled]
[Header checksum status: Unverified]
Source Address: 192.168.90.9
Destination Address: 192.168.44.32
[Reassembled IPv4 in frame: 15]
Data (1400 bytes)
Frame 15: 113 bytes on wire (904 bits), 113 bytes captured (904 bits)
Enc IPv4, SPI 0xc1f65146
Internet Protocol Version 4, Src: 192.168.90.9, Dst: 192.168.44.32
0100 .... = Version: 4
.... 0101 = Header Length: 20 bytes (5)
Differentiated Services Field: 0x00 (DSCP: CS0, ECN: Not-ECT)
Total Length: 101
Identification: 0x0541 (1345)
000. .... = Flags: 0x0
0... .... = Reserved bit: Not set
.0.. .... = Don't fragment: Not set
..0. .... = More fragments: Not set
...0 0000 1010 1111 = Fragment Offset: 1400
Time to Live: 61
Protocol: ICMP (1)
Header Checksum: 0x702e [validation disabled]
[Header checksum status: Unverified]
Source Address: 192.168.90.9
Destination Address: 192.168.44.32
[2 IPv4 Fragments (1481 bytes): #14(1400), #15(81)]
Internet Control Message Protocol
and here the packet before leaving the FW on a LAN (with default MTU of 1500):
Frame 12: 1515 bytes on wire (12120 bits), 1515 bytes captured (12120 bits)
Ethernet II, Src: Deciso_00:34:60 (f4:90:ea:00:34:60), Dst: Cisco_9f:f4:6b (00:00:0c:9f:f4:6b)
Internet Protocol Version 4, Src: 192.168.90.9, Dst: 192.168.44.32
0100 .... = Version: 4
.... 0101 = Header Length: 20 bytes (5)
Differentiated Services Field: 0x00 (DSCP: CS0, ECN: Not-ECT)
0000 00.. = Differentiated Services Codepoint: Default (0)
.... ..00 = Explicit Congestion Notification: Not ECN-Capable Transport (0)
Total Length: 1501
Identification: 0x0540 (1344)
000. .... = Flags: 0x0
0... .... = Reserved bit: Not set
.0.. .... = Don't fragment: Not set
..0. .... = More fragments: Not set
...0 0000 0000 0000 = Fragment Offset: 0
Time to Live: 60
Protocol: ICMP (1)
Header Checksum: 0x6c66 [validation disabled]
[Header checksum status: Unverified]
Source Address: 192.168.90.9
Destination Address: 192.168.44.32
Internet Control Message Protocol
Type: 0 (Echo (ping) reply)
Code: 0
Checksum: 0xb8b6 [correct]
[Checksum Status: Good]
Identifier (BE): 573 (0x023d)
Identifier (LE): 15618 (0x3d02)
Sequence Number (BE): 3 (0x0003)
Sequence Number (LE): 768 (0x0300)
[Request frame: 11]
[Response time: 6,693 ms]
Data (1473 bytes)
If FW is reassenmbling it then FW should fragment it when sending it out but this packet never is seen on the wire
regards Richard
many thanks. I added the tunables but this did not change the strange behaviour. I think it was a try but PMTU is in my mind a different story as I am always testing without DF bit set. So it is still a topic of fragmentation and reassembling. Still do not get the point why after receiving the FW is reassembling packet.
Here the packets received from IPSEC tunnel:
two packets because fragmented:
Frame 14: 1432 bytes on wire (11456 bits), 1432 bytes captured (11456 bits)
Enc IPv4, SPI 0xc1f65146
Internet Protocol Version 4, Src: 192.168.90.9, Dst: 192.168.44.32
0100 .... = Version: 4
.... 0101 = Header Length: 20 bytes (5)
Differentiated Services Field: 0x00 (DSCP: CS0, ECN: Not-ECT)
Total Length: 1420
Identification: 0x0541 (1345)
001. .... = Flags: 0x1, More fragments
0... .... = Reserved bit: Not set
.0.. .... = Don't fragment: Not set
..1. .... = More fragments: Set
...0 0000 0000 0000 = Fragment Offset: 0
Time to Live: 61
Protocol: ICMP (1)
Header Checksum: 0x4bb6 [validation disabled]
[Header checksum status: Unverified]
Source Address: 192.168.90.9
Destination Address: 192.168.44.32
[Reassembled IPv4 in frame: 15]
Data (1400 bytes)
Frame 15: 113 bytes on wire (904 bits), 113 bytes captured (904 bits)
Enc IPv4, SPI 0xc1f65146
Internet Protocol Version 4, Src: 192.168.90.9, Dst: 192.168.44.32
0100 .... = Version: 4
.... 0101 = Header Length: 20 bytes (5)
Differentiated Services Field: 0x00 (DSCP: CS0, ECN: Not-ECT)
Total Length: 101
Identification: 0x0541 (1345)
000. .... = Flags: 0x0
0... .... = Reserved bit: Not set
.0.. .... = Don't fragment: Not set
..0. .... = More fragments: Not set
...0 0000 1010 1111 = Fragment Offset: 1400
Time to Live: 61
Protocol: ICMP (1)
Header Checksum: 0x702e [validation disabled]
[Header checksum status: Unverified]
Source Address: 192.168.90.9
Destination Address: 192.168.44.32
[2 IPv4 Fragments (1481 bytes): #14(1400), #15(81)]
Internet Control Message Protocol
and here the packet before leaving the FW on a LAN (with default MTU of 1500):
Frame 12: 1515 bytes on wire (12120 bits), 1515 bytes captured (12120 bits)
Ethernet II, Src: Deciso_00:34:60 (f4:90:ea:00:34:60), Dst: Cisco_9f:f4:6b (00:00:0c:9f:f4:6b)
Internet Protocol Version 4, Src: 192.168.90.9, Dst: 192.168.44.32
0100 .... = Version: 4
.... 0101 = Header Length: 20 bytes (5)
Differentiated Services Field: 0x00 (DSCP: CS0, ECN: Not-ECT)
0000 00.. = Differentiated Services Codepoint: Default (0)
.... ..00 = Explicit Congestion Notification: Not ECN-Capable Transport (0)
Total Length: 1501
Identification: 0x0540 (1344)
000. .... = Flags: 0x0
0... .... = Reserved bit: Not set
.0.. .... = Don't fragment: Not set
..0. .... = More fragments: Not set
...0 0000 0000 0000 = Fragment Offset: 0
Time to Live: 60
Protocol: ICMP (1)
Header Checksum: 0x6c66 [validation disabled]
[Header checksum status: Unverified]
Source Address: 192.168.90.9
Destination Address: 192.168.44.32
Internet Control Message Protocol
Type: 0 (Echo (ping) reply)
Code: 0
Checksum: 0xb8b6 [correct]
[Checksum Status: Good]
Identifier (BE): 573 (0x023d)
Identifier (LE): 15618 (0x3d02)
Sequence Number (BE): 3 (0x0003)
Sequence Number (LE): 768 (0x0300)
[Request frame: 11]
[Response time: 6,693 ms]
Data (1473 bytes)
If FW is reassenmbling it then FW should fragment it when sending it out but this packet never is seen on the wire
regards Richard