https://bugs.kde.org/show_bug.cgi?id=458553
            Bug ID: 458553
           Summary: android app cannot connect to PC on IPv4 network if
                    IPv6 is blocked
           Product: kdeconnect
           Version: unspecified
          Platform: Other
                OS: Android 11.x
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: android-application
          Assignee: albertv...@gmail.com
          Reporter: l...@royal.net
  Target Milestone: ---

SUMMARY
I was using KDE connect on android 9 in conjunction with NoRoot firewall
(https://play.google.com/store/apps/details?id=app.greyshirts.firewall) for a
long time, but after I switched to new android 12 phone I found out that when
this firewall is enabled KDE connect cannot see my computer. I tried changing
Noroot firewall to another random VPN-type android firewall - Rethink DNS
(https://f-droid.org/packages/com.celzero.bravedns/) and got the same result.
Then I tried yet another VPN-type firewall - Netpatch
(https://play.google.com/store/apps/details?id=co.netpatch.firewall). Like the
two previous firewalls, it doesn't support IPv6 filtering, but unlike them it
has a switch to disable IPv6 blocking and it did the trick - with IPv6
unblocked KDE connect was able to see my computer again. Obviously, it is
insecure as now apps can bypass the firewall using IPv6, so it is not an
acceptable solution but at least it indicates the problem: for some reason KDE
Connect needs IPv6 even though my WiFi network is IPv4-only. So why does KDE
Connect need IPv6 so badly and is it possible to make it work without it? 


STEPS TO REPRODUCE
prerequisites:
Netpatch is installed in android
(https://play.google.com/store/apps/details?id=co.netpatch.firewall)
WiFi network is IPv4 only

1. start netpatch, enable it on the main screen, then tap 'network connections'
and toggle IPv6 blocking to on - KDE connect cannot see the PC
2. toggle IPv6 blocking to off - KDE connect now can see the PC

OBSERVED RESULT


EXPECTED RESULT
KDE connect should've been able to communicate on both occasions

SOFTWARE/OS VERSIONS
android app: 1.19.1
Android: 12

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to