It took me a while to figure out why many of my self-hosted services were intermittently failing to connect on my phone after updating to Android 17. I eventually figured out there’s a new ACCESS_LOCAL_NETWORK permission which means the “Nearby devices” permission is now required to access devices on the same network subnet. For an avid self-hoster, this can be quite a bit.

I had my DNS configured so my public-facing server resolved to a local IP address when on my LAN. This meant that my web, immich, xmpp, NTP, jellyfin and DoH servers all resolved to a local IP address on wifi. On Android 17, it all broke without warning. No error messages. No asking for extra permissions. Just silent packet dropping.

I’ve solved it by configuring my public-facing services to resolve to my external (static) IP address, even when inside the network. I couldn’t make any internal services resolve to the external address (SMB, CUPS etc) because they are (obviously) not bound to my WAN interface.

I get why the change was made. A lot of apps were snooping around people’s networks to gather intel. A potentially massive privacy violation.

Has anyone else had this issue? Is this the cleanest solution?

  • curbstickle@anarchist.nexusM
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 hours ago

    The problem with graphene, unfortunately.

    It doesn’t actually get away from google, at best its plugging holes in a (to me) sinking ship.

    • NarrativeBear@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      6 hours ago

      I wish there were some viable “fully cooked” alternatives. I won’t touch apple products with a 10 foot poll, and I owned the first and second iPhone.

      As for Linux phone i have tinkered with it but its nowhere close to being a daily driver, yet.

      Strangely sometimes I wish the Microsoft phone was not a total flop…

      I guess the only thing left if a completely dumb phone, but that does not help if you use your phone more as a “pocket computer” then a phone at all.

      • curbstickle@anarchist.nexusM
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 hours ago

        Completely agree

        My current decision is between a new Motorola signature 27 with graphene (running under the assumption Linux will be able to make the jump there, which isn’t an unreasonable conclusion to jump to), or getting a mostly basic flip phone that can hotspot and using a umpc with it.

        Where Linux phones have failed for me is the limited options for phones and on the actual phone part, so I feel like separation that out with a nice umpc and letting a phone be a phone is a worthwhile option.

        We’ll see how things play out though!