Or aren't they using UPnP? Quick googling wasn't successful. I thought most of those autodiscover-services use UPnP.
Or aren't they using UPnP? Quick googling wasn't successful. I thought most of those autodiscover-services use UPnP.
One is service discovery, in cooperation with zeroconf (aka bonjour/mDNS). This is handled 100% by devices themselves.
The other is the port forwarding protocol, where devices can ask your router to open a port in the NAT to the wide internet forwarded to them. This is done in the router. It's also a potential massive security hole.
If you disable UPnP on your router, you only disable the second thing. The first thing keeps working.
If you really want the dubious convenience of UPnP port forwarding, at least limit it to the one or two devices on your LAN that need it.
It's just that two things with wildly different security profiles get referred to with the same name
Even most VPNs won’t, by default, allow mDNS packets across, without adding a relay server and some additional configuration.
But, yeah, letting any application basically go into ‘server’ mode on your home network at-will is not the most secure setup.
Airdrop uses an ad-hoc WiFi network (peer-to-peer) with TLS, as does I think (Android) Beam. If I'm not mistaken some other devices in this area (Chromecast, Roku, etc.) use similar techniques, and sometimes leverage bluetooth ad-hoc networks. Discovery services like printers and fileshares tend to use (I'm assuming you're macOS) Bonjour (Rendezvous, renamed awhile back), which is sort of like an ad-hoc multicast (mDNS) solution if I understand it. On Windows it would use something like Netbios - conceptually the same. I just set a static IP on my wifi printer and call it a day, it's trivial stuff being a printer.