Bug 408796

Summary: Malformed UDP header in IPv6
Product: [Applications] kdeconnect Reporter: Pavel <ao>
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: REPORTED ---    
Severity: normal CC: uwu
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Pavel 2019-06-16 18:13:38 UTC
I was trying to connect my phone to PC, manually entering IP address.
There is a router between them (Mikrotik with RouterOS) because the phone is registered in guest Wi-Fi network which is separated from my main LAN.

There's no problem when I enter an IPv4 address manually.

If I enter my PC's IPv6 address:

1. UDP packet for port 1716 goes through the firewall in router and goes out. However, if I capture it with packet sniffer and and take a look in Wireshark, I see some raw data instead of parsed UDP header.
2. When the packet arrives to PC's network interface, tcpdump also complains:

12:51:27.744727 IP6 xxxx:xxxx:xxxx:xxxx:7caf:3c9d:1c29:ab4d > fdd5:e0e1:b7b1:1e33::ee: frag (0|1448) 48200 > 1716: UDP, bad length 1461 > 1440

I'm running KDE Connect 1.12.7 on Android 9.