Bug 463682

Summary: KDE Connect will not listen over Ethernet.
Product: [Applications] kdeconnect Reporter: psithurisma.me
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: REPORTED ---    
Severity: normal CC: andrew.g.r.holmes, uwu
Priority: NOR    
Version First Reported In: 22.12.0   
Target Milestone: ---   
Platform: Android   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Captured packets

Description psithurisma.me 2023-01-01 00:26:26 UTC
Created attachment 154934 [details]
Captured packets

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Install KDE Connect on Arch Linux, and on a android phone.
2. Run a DHCP Server on the same computer running Arch Linux. The DHCP Server should not forward packets. I.E creating an isolated network.
3. Using a USB Ethernet adapter and a USB-C to USB-A dongle, connect the ethernet adapter to the phone. 
4. Connect the ethernet adapter to the computer running Arch Linux using an ethernet cable.
5. Use Wireshark to capture network traffic between the phone and the computer running Arch Linux
6. Launch KDE Connect on both the phone and computer.
7. In the android client, Add a device using IP. Enter the IP Address of the computer running Arch Linux.


OBSERVED RESULT
KDE Connect is unable to detect devices on both the phone, and the computer.
Wireshark doesn't capture any traffic over ports 1714 through 1764. 

EXPECTED RESULT
KDE Connect on both clients will detect each other.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 22.12.0
(available in About System)
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
The network between my phone and my computer is an isolated network.
I am able to ping my phone from my computer. This is observable in the packet capture.


IP Addresses in private network:
+ 10.0.0.1 - Computer
+ 10.0.0.10 - Phone