-
devname: announce the LAN face with avahi on Linux, find the LAN address portably · b76c2eb3
lan_ip asks the kernel for the route source toward the mDNS group (then the default route) instead of parsing ifconfig, and accepts RFC 1918 only. Announcing goes through the platform: dns-sd -P on macOS, avahi-publish -a -R on Linux. Without an announcer (avahi missing or avahi-daemon down) the gate stays shut with a clear reason and no ssh probe; loopback names are untouched. The machine's own .local name is never re-announced, and names removed from the registry are withdrawn.
PLN (Algolia) authoredb76c2eb3
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| test_devname.py | Loading commit data... |