openwrt / openwrt/packages

miniupnpd log spamming

Open
#11,971 29 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hello! miniupnpd spamming logs and here is no way to make it quite. Example:

Mon Apr 27 12:33:20 2020 daemon.warn miniupnpd[1503]: HTTP Connection from 0.0.0.0 closed unexpectedly
Mon Apr 27 12:33:20 2020 daemon.warn miniupnpd[1503]: HTTP Connection from 0.0.0.0 closed unexpectedly
Mon Apr 27 12:33:20 2020 daemon.warn miniupnpd[1503]: HTTP Connection from 192.168.54.178 closed unexpectedly
Mon Apr 27 12:33:20 2020 daemon.warn miniupnpd[1503]: HTTP Connection from 192.168.54.178 closed unexpectedly
Mon Apr 27 12:33:30 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed::cc3' to ip address
Mon Apr 27 12:33:30 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed::cc3' to ip address
Mon Apr 27 12:33:30 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed::cc3' to ip address
Mon Apr 27 12:33:30 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed::cc3' to ip address
Mon Apr 27 12:33:30 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed::cc3' to ip address
Mon Apr 27 12:33:30 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed::cc3' to ip address
Mon Apr 27 12:33:30 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed::cc3' to ip address
Mon Apr 27 12:33:30 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed::cc3' to ip address
Mon Apr 27 12:33:30 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed::cc3' to ip address
Mon Apr 27 12:33:30 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed::cc3' to ip address
Mon Apr 27 13:01:56 2020 daemon.notice miniupnpd[1503]: remove port mapping 9487 TCP because it has expired
Mon Apr 27 13:01:56 2020 daemon.notice miniupnpd[1503]: remove port mapping 22143 TCP because it has expired
Mon Apr 27 13:02:28 2020 daemon.warn miniupnpd[1503]: HTTP Connection from 0.0.0.0 closed unexpectedly
Mon Apr 27 13:02:28 2020 daemon.warn miniupnpd[1503]: HTTP Connection from 0.0.0.0 closed unexpectedly
Mon Apr 27 13:02:28 2020 daemon.warn miniupnpd[1503]: HTTP Connection from 192.168.54.222 closed unexpectedly
Mon Apr 27 13:02:28 2020 daemon.warn miniupnpd[1503]: HTTP Connection from 192.168.54.222 closed unexpectedly
Mon Apr 27 13:02:38 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed:290:4cff:fe14:4329' to ip address
Mon Apr 27 13:02:38 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed:290:4cff:fe14:4329' to ip address
Mon Apr 27 13:02:38 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed:290:4cff:fe14:4329' to ip address
Mon Apr 27 13:02:38 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed:290:4cff:fe14:4329' to ip address
Mon Apr 27 13:02:38 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed:290:4cff:fe14:4329' to ip address
Mon Apr 27 13:02:38 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed:290:4cff:fe14:4329' to ip address
Mon Apr 27 13:02:38 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed:290:4cff:fe14:4329' to ip address
Mon Apr 27 13:02:38 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed:290:4cff:fe14:4329' to ip address
Mon Apr 27 13:02:38 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed:290:4cff:fe14:4329' to ip address
Mon Apr 27 13:02:38 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed:290:4cff:fe14:4329' to ip address
Mon Apr 27 13:03:30 2020 daemon.warn miniupnpd[1503]: HTTP Connection from 0.0.0.0 closed unexpectedly
Mon Apr 27 13:03:30 2020 daemon.warn miniupnpd[1503]: HTTP Connection from 0.0.0.0 closed unexpectedly
Mon Apr 27 13:03:30 2020 daemon.warn miniupnpd[1503]: HTTP Connection from 192.168.54.178 closed unexpectedly
Mon Apr 27 13:03:30 2020 daemon.warn miniupnpd[1503]: HTTP Connection from 192.168.54.178 closed unexpectedly
Mon Apr 27 13:03:40 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed::cc3' to ip address
Mon Apr 27 13:03:40 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed::cc3' to ip address
Mon Apr 27 13:03:40 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed::cc3' to ip address
Mon Apr 27 13:03:40 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed::cc3' to ip address
Mon Apr 27 13:03:40 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed::cc3' to ip address
Mon Apr 27 13:03:40 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed::cc3' to ip address
Mon Apr 27 13:03:40 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed::cc3' to ip address
Mon Apr 27 13:03:40 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed::cc3' to ip address
Mon Apr 27 13:03:40 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed::cc3' to ip address
Mon Apr 27 13:03:40 2020 daemon.err miniupnpd[1503]: Failed to convert hostname '2001:470:28:6ed::cc3' to ip address
Mon Apr 27 13:14:05 2020 authpriv.info dropbear[1953]: Child connection from 192.168.54.178:55848

Is it possible to add option to hide some errors?

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

Start by reviewing miniupnpd's logging and configuration behavior, using the repeated HTTP connection, hostname conversion, and expired port-mapping messages as examples. Determine which messages should be suppressible and how an OpenWrt package option would expose that control; done means the selected messages can be hidden without suppressing unrelated logs.

Written by the indexing model from the issue text.

Assessment

Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.