openwrt / openwrt/packages

miniupnpd: Log spam "not from a LAN, closing the connection"

Open
#17,601 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

Maintainer: No Maintainer
Environment: WRT3200ACM on the latest master

Description:
I'm running a network with static DHCPv4, and sometimes when a new client connects miniupnpd dumps these logs:

Thu Jan 13 11:30:11 2022 daemon.warn miniupnpd[7909]: SSDP packet sender [::ffff:169.254.85.30]:39577 (if_index=-1) not from a LAN, ignoring
Thu Jan 13 11:30:11 2022 daemon.warn miniupnpd[7909]: SSDP packet sender [::ffff:169.254.85.30]:39577 (if_index=-1) not from a LAN, ignoring
Thu Jan 13 11:30:40 2022 daemon.warn miniupnpd[7909]: HTTP peer [::ffff:169.254.85.30]:57722 is not from a LAN, closing the connection
Thu Jan 13 11:30:40 2022 daemon.warn miniupnpd[7909]: HTTP peer [::ffff:169.254.85.30]:57724 is not from a LAN, closing the connection
Thu Jan 13 11:30:40 2022 daemon.warn miniupnpd[7909]: HTTP peer [::ffff:169.254.85.30]:57726 is not from a LAN, closing the connection
Thu Jan 13 11:30:40 2022 daemon.warn miniupnpd[7909]: HTTP peer [::ffff:169.254.85.30]:57730 is not from a LAN, closing the connection
Thu Jan 13 11:30:40 2022 daemon.warn miniupnpd[7909]: HTTP peer [::ffff:169.254.85.30]:57720 is not from a LAN, closing the connection
Thu Jan 13 11:30:40 2022 daemon.warn miniupnpd[7909]: HTTP peer [::ffff:169.254.85.30]:57728 is not from a LAN, closing the connection
Thu Jan 13 11:30:40 2022 daemon.warn miniupnpd[7909]: HTTP peer [::ffff:169.254.197.193]:55592 is not from a LAN, closing the connection
Thu Jan 13 11:30:40 2022 daemon.warn miniupnpd[7909]: HTTP peer [::ffff:169.254.197.193]:55593 is not from a LAN, closing the connection
Thu Jan 13 11:30:40 2022 daemon.warn miniupnpd[7909]: HTTP peer [::ffff:169.254.197.193]:55596 is not from a LAN, closing the connection
Thu Jan 13 11:30:41 2022 daemon.warn miniupnpd[7909]: SSDP packet sender [::ffff:169.254.197.193]:9535 (if_index=-1) not from a LAN, ignorin

There doesn't seem to e a way to disable these and it starts to fill syslog, and since these messages aren't helpful at all they could be disabled.

Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by locating the miniupnpd package and the code paths that emit the SSDP and HTTP "not from a LAN" messages, then determine how logging is configured. Done means preventing these repetitive messages from filling syslog while preserving the existing connection rejection behavior.

Written by the indexing model from the issue text.

Assessment

Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.