#18043: Miniupnpd is flooding system log file (miniupnpd version 1.8.20140906-1)
------------------------------+-----------------------------------
 Reporter:  crazel@…          |      Owner:  developers
     Type:  defect            |     Status:  new
 Priority:  normal            |  Milestone:  Barrier Breaker 14.07
Component:  packages          |    Version:  Trunk
 Keywords:  miniupnpd floods  |
------------------------------+-----------------------------------
 That's happens almost every minute after strats

 {{{
 Mon Oct  6 18:25:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:42987 not from a LAN, ignoring
 Mon Oct  6 18:25:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:42987 not from a LAN, ignoring
 Mon Oct  6 18:25:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:42987 not from a LAN, ignoring
 Mon Oct  6 18:25:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:42987 not from a LAN, ignoring
 Mon Oct  6 18:25:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:42987 not from a LAN, ignoring
 Mon Oct  6 18:28:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:60160 not from a LAN, ignoring
 Mon Oct  6 18:28:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:60160 not from a LAN, ignoring
 Mon Oct  6 18:28:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:60160 not from a LAN, ignoring
 Mon Oct  6 18:28:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:60160 not from a LAN, ignoring
 Mon Oct  6 18:28:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:60160 not from a LAN, ignoring
 Mon Oct  6 18:28:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:60160 not from a LAN, ignoring
 Mon Oct  6 18:28:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:60160 not from a LAN, ignoring
 Mon Oct  6 18:28:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:60160 not from a LAN, ignoring
 Mon Oct  6 18:28:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:60160 not from a LAN, ignoring
 Mon Oct  6 18:28:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:60160 not from a LAN, ignoring
 Mon Oct  6 18:29:08 2014 daemon.info hostapd: wlan0: STA 38:aa:3c:e2:ff:56
 WPA: group key handshake completed (RSN)
 Mon Oct  6 18:29:17 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:34658 not from a LAN, ignoring
 Mon Oct  6 18:29:17 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:34658 not from a LAN, ignoring
 Mon Oct  6 18:29:17 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:34658 not from a LAN, ignoring
 Mon Oct  6 18:29:17 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:34658 not from a LAN, ignoring
 Mon Oct  6 18:29:17 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:34658 not from a LAN, ignoring
 Mon Oct  6 18:29:17 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:34658 not from a LAN, ignoring
 Mon Oct  6 18:29:17 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:34658 not from a LAN, ignoring
 Mon Oct  6 18:29:17 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:34658 not from a LAN, ignoring
 Mon Oct  6 18:29:17 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:34658 not from a LAN, ignoring
 Mon Oct  6 18:29:17 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:34658 not from a LAN, ignoring
 Mon Oct  6 18:29:17 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:34658 not from a LAN, ignoring
 Mon Oct  6 18:29:17 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:34658 not from a LAN, ignoring
 Mon Oct  6 18:31:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:38840 not from a LAN, ignoring
 Mon Oct  6 18:31:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:38840 not from a LAN, ignoring
 Mon Oct  6 18:31:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:38840 not from a LAN, ignoring
 Mon Oct  6 18:31:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:38840 not from a LAN, ignoring
 Mon Oct  6 18:31:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:38840 not from a LAN, ignoring
 Mon Oct  6 18:31:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:38840 not from a LAN, ignoring
 Mon Oct  6 18:31:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:38840 not from a LAN, ignoring
 Mon Oct  6 18:31:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:38840 not from a LAN, ignoring
 Mon Oct  6 18:31:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:38840 not from a LAN, ignoring
 Mon Oct  6 18:31:31 2014 daemon.warn miniupnpd[8355]: SSDP packet sender
 10.50.222.48:38840 not from a LAN, ignoring
 }}}

 /etc/config/upnp is default


 {{{
 root@OpenWrt:/tmp/etc# cat /etc/config/upnpd

 config upnpd 'config'
         option download '1024'
         option upload '512'
         option internal_iface 'lan'
         option port '5000'
         option upnp_lease_file '/var/upnp.leases'
         option uuid '3dd2d1c8-e5a0-4a44-a011-aca2229b9b88'

 config perm_rule
         option action 'allow'
         option ext_ports '1024-65535'
         option int_addr '0.0.0.0/0'
         option int_ports '1024-65535'
         option comment 'Allow high ports'

 config perm_rule
         option action 'deny'
         option ext_ports '0-65535'
         option int_addr '0.0.0.0/0'
         option int_ports '0-65535'
         option comment 'Default deny'

 }}}

 there is /tmp/etc/miniupnpd.conf


 {{{
 root@OpenWrt:/tmp/etc# cat /tmp/etc/miniupnpd.conf
 ext_ifname=eth1
 listening_ip=br-lan
 port=5000
 enable_natpmp=yes
 enable_upnp=yes
 secure_mode=yes
 pcp_allow_thirdparty=no
 system_uptime=yes
 lease_file=/var/upnp.leases
 bitrate_down=8388608
 bitrate_up=4194304
 uuid=3dd2d1c8-e5a0-4a44-a011-aca2229b9b88
 allow 1024-65535 0.0.0.0/0 1024-65535
 deny 0-65535 0.0.0.0/0 0-65535

 }}}

 there is ifconfig


 {{{
 root@OpenWrt:/# ifconfig
 br-lan    Link encap:Ethernet  HWaddr 84:C9:B2:4A:4C:D7
           inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
           inet6 addr: fe80::86c9:b2ff:fe4a:4cd7/64 Scope:Link
           inet6 addr: fd98:b049:566a::1/60 Scope:Global
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:109481 errors:0 dropped:0 overruns:0 frame:0
           TX packets:128610 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:11188876 (10.6 MiB)  TX bytes:60195795 (57.4 MiB)

 eth0      Link encap:Ethernet  HWaddr 84:C9:B2:4A:4C:D7
           inet6 addr: fe80::86c9:b2ff:fe4a:4cd7/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:102772 errors:0 dropped:1 overruns:12 frame:0
           TX packets:118064 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:12484353 (11.9 MiB)  TX bytes:52059944 (49.6 MiB)
           Interrupt:4

 eth0.1    Link encap:Ethernet  HWaddr 84:C9:B2:4A:4C:D7
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:102743 errors:0 dropped:0 overruns:0 frame:0
           TX packets:118050 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:10632315 (10.1 MiB)  TX bytes:51585515 (49.1 MiB)

 eth1      Link encap:Ethernet  HWaddr 00:25:22:7C:25:8A
           inet addr:10.50.222.48  Bcast:10.50.222.255  Mask:255.255.255.0
           inet6 addr: fe80::225:22ff:fe7c:258a/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:17984 errors:0 dropped:0 overruns:0 frame:0
           TX packets:13157 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:12540232 (11.9 MiB)  TX bytes:2363731 (2.2 MiB)
           Interrupt:5

 lo        Link encap:Local Loopback
           inet addr:127.0.0.1  Mask:255.0.0.0
           inet6 addr: ::1/128 Scope:Host
           UP LOOPBACK RUNNING  MTU:65536  Metric:1
           RX packets:142 errors:0 dropped:0 overruns:0 frame:0
           TX packets:142 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:32256 (31.5 KiB)  TX bytes:32256 (31.5 KiB)

 wlan0     Link encap:Ethernet  HWaddr 84:C9:B2:4A:4C:D7
           inet6 addr: fe80::86c9:b2ff:fe4a:4cd7/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:6736 errors:0 dropped:0 overruns:0 frame:0
           TX packets:10385 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:650853 (635.5 KiB)  TX bytes:7264695 (6.9 MiB)

 }}}

 The poblem might be that miniupnpd is somehow listening wan and wan6 (ipv6
 ssdp not included in the log because of turn it off) but:


 {{{
 root@OpenWrt:/tmp/etc# netstat -nlp | grep miniupnpd
 tcp        0      0 :::5000                 :::*                    LISTEN
 11145/miniupnpd
 udp        0      0 0.0.0.0:1900            0.0.0.0:*
 11145/miniupnpd
 udp        0      0 192.168.1.1:50637       0.0.0.0:*
 11145/miniupnpd
 udp        0      0 192.168.1.1:5351        0.0.0.0:*
 11145/miniupnpd
 udp        0      0 :::1900                 :::*
 11145/miniupnpd
 udp        0      0 :::37813                :::*
 11145/miniupnpd
 udp        0      0 :::5351                 :::*
 11145/miniupnpd

 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/18043>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to