Flood of "peer a.b.c.d:port is not from a LAN" in syslog

Bug #1758332 reported by Jani Uusitalo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
minissdpd
Fix Released
Unknown
minissdpd (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

After upgrading from Xenial to Bionic, my syslog is being spammed by minissdpd. From today's syslog going back three hours:

15.05 jani@saegusa:~$ grep "is not from a LAN" /var/log/syslog | tail
Mar 23 15:03:30 saegusa minissdpd[1990]: peer 192.168.1.4:39280 is not from a LAN
Mar 23 15:03:33 saegusa minissdpd[1990]: message repeated 3 times: [ peer 192.168.1.4:39280 is not from a LAN]
Mar 23 15:03:36 saegusa minissdpd[1990]: peer 192.168.1.10:13206 is not from a LAN
Mar 23 15:03:36 saegusa minissdpd[1990]: peer 192.168.1.10:13206 is not from a LAN
Mar 23 15:03:51 saegusa minissdpd[1990]: peer 192.168.1.1:32769 is not from a LAN
Mar 23 15:04:21 saegusa minissdpd[1990]: message repeated 39 times: [ peer 192.168.1.1:32769 is not from a LAN]
Mar 23 15:04:29 saegusa minissdpd[1990]: peer 192.168.1.10:13206 is not from a LAN
Mar 23 15:04:29 saegusa minissdpd[1990]: peer 192.168.1.10:13206 is not from a LAN
Mar 23 15:04:50 saegusa minissdpd[1990]: peer 192.168.1.1:32769 is not from a LAN
Mar 23 15:04:51 saegusa minissdpd[1990]: message repeated 19 times: [ peer 192.168.1.1:32769 is not from a LAN]
15.05 jani@saegusa:~$ grep -c "is not from a LAN" /var/log/syslog
1623

192.168.1.0 is my LAN.

According to the upstream report [1], specifying an interface should get rid of the "not from a LAN" messages, and I can confirm that adding "-i eth1" to the value of MiniSSDPd_OTHER_OPTIONS in /etc/default/minissdpd does just that. I don't know how good a solution adding a fixed interface is though, I'd imagine switching to (e.g.) a wifi interface on a system with multiple interfaces would cause the message flood to reappear.

*[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890584

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: minissdpd 1.5.20161216-2
ProcVersionSignature: Ubuntu 4.15.0-12.13-generic 4.15.7
Uname: Linux 4.15.0-12-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Mar 23 15:25:25 2018
InstallationDate: Installed on 2016-10-13 (525 days ago)
InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=fi_FI.UTF-8
 SHELL=/bin/bash
SourcePackage: minissdpd
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jani Uusitalo (uusijani) wrote :
Changed in minissdpd:
status: Unknown → New
Changed in minissdpd:
status: New → Fix Released
Yangfl (mmyangfl)
Changed in minissdpd (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.