[Pkg-utopia-maintainers] Bug#751559: avahi-daemon fills syslog with 'Received packet from invalid interface' messages

Rogier rogier777 at gmail.com
Sat Jun 14 09:50:12 UTC 2014


Package: avahi-daemon
Version: 0.6.31-4
Severity: normal

Dear Maintainer,

Since a few months, avahi-daemon has started polluting my logs with large
numbers of the following messages:

	Received packet from invalid interface

These messages are generated after avahi-daemon receives an mdns query
from another host on the network (see below).

The appearance of these messages coincides with the upgrade from
version 0.6.31-2 to 0.6.31-4.

(Unfortunately, I don't know if it just so happens that that host appeared
at the same time, or that it started doing those queries at that time, but
the most likely 'cause' of the messages seems the upgrade of avahi)

The messages disappear when I enable publishing, but I do not want to publish
information on all interfaces, and it does not seem possible to restrict
publishing to just one interface, while listening on all interfaces.

I did a system call trace, and I got the following:

10466 10:53:29 recvmsg(13, {msg_name(16)={sa_family=AF_INET, sin_port=htons(43401), sin_addr=inet_addr("192.168.2.6")}, msg_iov(1)=[{"\0\0\0\0\0\1\0\0\0\0\0\0\v_googlecast\4_tcp\5local\0\0\f\0\1", 40}], msg_controllen=40, {cmsg_len=24, cmsg_level=SOL_IP, cmsg_type=, ...}, msg_flags=0}, 0) = 40
10466 10:53:29 time(NULL)               = 1402736009
10466 10:53:29 send(3, "<28>Jun 14 10:53:29 avahi-daemon[10466]: Received packet from invalid interface.", 80, MSG_NOSIGNAL) = 80

192.168.2.6 is just another host on the network. Apparently, it sends mdns requests:
(from tcpdump):

11:07:33.104480 IP 192.168.2.6.43401 > 224.0.0.251.mdns: 0 PTR (QM)? _googlecast._tcp.local. (40)
11:07:33.106384 IP 192.168.2.6.47182 > 224.0.0.251.mdns: 0 PTR (QM)? _googlecast._tcp.local. (40)

Kind regards,

Rogier.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (x86_64)

Kernel: Linux 3.14-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages avahi-daemon depends on:
ii  adduser              3.113+nmu3
ii  bind9-host [host]    1:9.9.5.dfsg-4
ii  dbus                 1.8.4-1
ii  init-system-helpers  1.18
ii  libavahi-common3     0.6.31-4
ii  libavahi-core7       0.6.31-4
ii  libc6                2.19-1
ii  libcap2              1:2.22-1.2
ii  libdaemon0           0.14-6
ii  libdbus-1-3          1.8.4-1
ii  libexpat1            2.1.0-5
ii  lsb-base             4.1+Debian12

Versions of packages avahi-daemon recommends:
ii  libnss-mdns  0.10-6

Versions of packages avahi-daemon suggests:
pn  avahi-autoipd  <none>

-- Configuration Files:
/etc/avahi/avahi-daemon.conf changed:
[server]
use-ipv4=yes
use-ipv6=yes
ratelimit-interval-usec=1000000
ratelimit-burst=1000
[wide-area]
enable-wide-area=yes
[publish]
disable-publishing=yes
disable-user-service-publishing=yes
[reflector]
[rlimits]
rlimit-core=0
rlimit-data=4194304
rlimit-fsize=0
rlimit-nofile=768
rlimit-stack=4194304
rlimit-nproc=3

/etc/default/avahi-daemon changed:
AVAHI_DAEMON_DETECT_LOCAL=0


-- no debconf information



More information about the Pkg-utopia-maintainers mailing list