Opened 5 years ago

Closed 3 years ago

#1538 closed defect (fixed)

IPv6 SSU packet too big

Reported by: zzz Owned by: zzz
Priority: minor Milestone: 0.9.24
Component: router/transport Version: 0.9.18
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

1504 bytes

04-xx xx:48:53.534 ERROR [acket pusher] er.transport.udp.PacketBuilder: Size is 1456 for 1456 byte pkt with [xxxx:xxxx:a511:a400:186c:d02c:a00a:4662]:1025 data size 1397 pkt size 1504 MTU 1280 -211 for all acks -211 for full acks -53 full acks included 0 partial acks included  Fragments: [Fragment 0 (1397 bytes) of OB Message 1107408635 with 2 fragments of size 2646 volleys: 7 lifetime: 4893 pending fragments: 0 1 ]
java.lang.Exception
	at net.i2p.router.transport.udp.PacketBuilder.buildPacket(PacketBuilder.java:540)
	at net.i2p.router.transport.udp.OutboundMessageFragments.preparePackets(OutboundMessageFragments.java:439)
	at net.i2p.router.transport.udp.OutboundMessageFragments.getNextVolley(OutboundMessageFragments.java:337)
	at net.i2p.router.transport.udp.PacketPusher.run(PacketPusher.java:40)
	at java.lang.Thread.run(Thread.java:745)
	at net.i2p.util.I2PThread.run(I2PThread.java:84)
04-xx xx:48:55.141 ^^^ 2 similar messages omitted ^^^
04-xx xx:48:55.941 ^^^ 1 similar message omitted ^^^

04-xx xx:19:46.055 ERROR [acket pusher] er.transport.udp.PacketBuilder: Size is 1456 for 1456 byte pkt with [xxxx:xxxx:19a:0:ad7b:ad6:f8b9:dcb8]:18630 data size 1397 pkt size 1504 MTU 1280 -211 for all acks -211 for full acks -53 full acks included 0 partial acks included  Fragments: [Fragment 0 (1397 bytes) of OB Message 881836414 with 2 fragments of size 2646 volleys: 2 lifetime: 4230 pending fragments: 0 1 ]
java.lang.Exception
	at net.i2p.router.transport.udp.PacketBuilder.buildPacket(PacketBuilder.java:540)
	at net.i2p.router.transport.udp.OutboundMessageFragments.preparePackets(OutboundMessageFragments.java:439)
	at net.i2p.router.transport.udp.OutboundMessageFragments.getNextVolley(OutboundMessageFragments.java:337)
	at net.i2p.router.transport.udp.PacketPusher.run(PacketPusher.java:40)
	at java.lang.Thread.run(Thread.java:745)
	at net.i2p.util.I2PThread.run(I2PThread.java:84)
04-xx xx:19:46.860 ^^^ 1 similar message omitted ^^^

Subtickets

Change History (6)

comment:1 Changed 5 years ago by zzz

Fragmented to 1397 data bytes, but should be 1377 for IPv6, and then MTU got reduced to 1280, so should be even less. PeerState?.fragmentSize() thinks it is IPv4, but we're sending via IPv6?

comment:2 Changed 5 years ago by zzz

Version: 0.9.190.9.18

Version 0.9.18-10

comment:3 Changed 5 years ago by zzz

it's like this peer switched from IPv4 to IPv6? Or we did? Or we have inconsistent v4/v6 settings between the peer and the packet? Maybe transitioned from v4 to v6 during introduction? How did this happen?

comment:4 Changed 4 years ago by zzz

Milestone: 0.9.200.9.24

v6 detection fix in db2b3138e057c0c7f496e4adb0c81527017c0ed5 0.9.23-12 may be related

comment:5 Changed 4 years ago by str4d

Status: newopen

comment:6 Changed 3 years ago by zzz

Resolution: fixed
Status: openclosed

optimistically closing

Note: See TracTickets for help on using tickets.