avahi-daemon.conf requires interface whitelisting to ignore vpn interfaces #67
Labels
distro
OS or distro runtime environment
documentation
Improvements or additions to documentation
watch item
hard to reproduce or rarely seen
The default (as installed) avahi-daemon config allows all interfaces and denies none so it will attempt to bind to any interface it sees. The "fix" is editing the
avahi-daemon.conf
file to explicitly whitelist the interfaces avahi should listen on. This fix should also resolve the problem described in issue #39.If you're not using avahi (or don't know what it is) and you're concerned about your privacy/security, then you can either a) remove the packages or b) disable and mask the service. To remove the primary avahi packages run:
To keep the packages but stop any avahi services from running if you're using systemd (either Ubuntu or Gentoo) you'll need to run the following commands:
otherwise, for openrc run the following:
If you are using avahi and have not modified the default config, you should uncomment the
allow-interfaces
line in the above config file and add your ethernet and/or wifi devices after the=
(if more than one device, use a comma to separate the interface names).Open the file in your favorite editor and change this:
to something like:
Do substitute the interface names for your system, since it may or may not be using predictable interface names. Check the names with
ifconfig
:If
ifconfig
is not installed, use theip
command:and use the displayed device name instead of
eth0
.The text was updated successfully, but these errors were encountered: