{"id":5600,"date":"2018-03-23T15:28:27","date_gmt":"2018-03-23T13:28:27","guid":{"rendered":"http:\/\/mummila.net\/kommentit\/?p=5600"},"modified":"2018-03-23T15:28:27","modified_gmt":"2018-03-23T13:28:27","slug":"flood-of-peer-a-b-c-dport-is-not-from-a-lan-in-syslog","status":"publish","type":"post","link":"https:\/\/mummila.net\/kommentit\/2018\/03\/23\/flood-of-peer-a-b-c-dport-is-not-from-a-lan-in-syslog\/","title":{"rendered":"Flood of &#8221;peer a.b.c.d:port is not from a LAN&#8221; in syslog"},"content":{"rendered":"<p>After upgrading from Xenial to Bionic, my syslog is being spammed by minissdpd. From today&#8217;s syslog going back three hours:<\/p>\n<p>15.05 jani@saegusa:~$ grep &#8221;is not from a LAN&#8221; \/var\/log\/syslog | tail<br \/>\nMar 23 15:03:30 saegusa minissdpd[1990]: peer 192.168.1.4:39280 is not from a LAN<br \/>\nMar 23 15:03:33 saegusa minissdpd[1990]: message repeated 3 times: [ peer 192.168.1.4:39280 is not from a LAN]<br \/>\nMar 23 15:03:36 saegusa minissdpd[1990]: peer 192.168.1.10:13206 is not from a LAN<br \/>\nMar 23 15:03:36 saegusa minissdpd[1990]: peer 192.168.1.10:13206 is not from a LAN<br \/>\nMar 23 15:03:51 saegusa minissdpd[1990]: peer 192.168.1.1:32769 is not from a LAN<br \/>\nMar 23 15:04:21 saegusa minissdpd[1990]: message repeated 39 times: [ peer 192.168.1.1:32769 is not from a LAN]<br \/>\nMar 23 15:04:29 saegusa minissdpd[1990]: peer 192.168.1.10:13206 is not from a LAN<br \/>\nMar 23 15:04:29 saegusa minissdpd[1990]: peer 192.168.1.10:13206 is not from a LAN<br \/>\nMar 23 15:04:50 saegusa minissdpd[1990]: peer 192.168.1.1:32769 is not from a LAN<br \/>\nMar 23 15:04:51 saegusa minissdpd[1990]: message repeated 19 times: [ peer 192.168.1.1:32769 is not from a LAN]<br \/>\n15.05 jani@saegusa:~$ grep -c &#8221;is not from a LAN&#8221; \/var\/log\/syslog<br \/>\n1623<\/p>\n<p>192.168.1.0 is my LAN.<\/p>\n<p>According to the upstream report [1], specifying an interface should get rid of the &#8221;not from a LAN&#8221; messages, and I can confirm that adding &#8221;-i eth1&#8221; to the value of MiniSSDPd_OTHER_OPTIONS in \/etc\/default\/minissdpd does just that. I don&#8217;t know how good a solution adding a fixed interface is though, I&#8217;d imagine switching to (e.g.) a wifi interface on a system with multiple interfaces would cause the message flood to reappear.<\/p>\n<p>*[1] https:\/\/bugs.debian.org\/cgi-bin\/bugreport.cgi?bug=890584<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After upgrading from Xenial to Bionic, my syslog is being spammed by minissdpd with &#8221;peer 192.168.1.n:port is not from a LAN&#8221; messages.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8860],"tags":[],"class_list":["post-5600","post","type-post","status-publish","format-standard","hentry","category-vianhallintajarjestelmat","sijainti-launchpad"],"_links":{"self":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/5600","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/comments?post=5600"}],"version-history":[{"count":2,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/5600\/revisions"}],"predecessor-version":[{"id":5602,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/5600\/revisions\/5602"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/media?parent=5600"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/categories?post=5600"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/tags?post=5600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}