Folks;
X86_64, lan address 192.168.10.1
Updated from an older version of openwrt trunk (r40845, was working, same config) to newer version (r50108). Not using UPNP_STRICT
libminiupnpc - 2.0.20170509-1
minissdpd - 1.5.20161216-1
miniupnpc - 2.0.20170509-1
miniupnpd - 2.0.20170421-2
using default config (minsssdpd also running):
ps -Af | grep mini:
root 3916 1 0 10:24 ? 00:00:00 /usr/sbin/miniupnpd -f /var/etc/miniupnpd.conf
root 5946 1 0 10:25 ? 00:00:00 /usr/bin/minissdpd -i br-lan
netstat -tunlp | grep mini:
tcp 0 0 :::5000 :::* LISTEN 3916/miniupnpd
udp 0 0 192.168.10.1:43125 0.0.0.0:* 3916/miniupnpd
udp 0 0 192.168.10.1:5351 0.0.0.0:* 3916/miniupnpd
udp 0 0 0.0.0.0:1900 0.0.0.0:* 5946/minissdpd
udp 0 0 0.0.0.0:1900 0.0.0.0:* 3916/miniupnpd
PROBLEM (from local shell and ssh):
wget http://192.168.10.1:5000/rootDesc.xml:
results in "connection refused"
WORKAROUND:
add localhost to inerfaces:
option internal_iface 'loopback lan'
results in wget success.
netstat -tunlp | grep mini:
tcp 0 0 :::5000 :::* LISTEN 3916/miniupnpd
udp 0 0 192.168.10.1:43125 0.0.0.0:* 3916/miniupnpd
udp 0 0 127.0.0.1:5351 0.0.0.0:* 3916/miniupnpd
udp 0 0 192.168.10.1:5351 0.0.0.0:* 3916/miniupnpd
udp 0 0 127.0.0.1:44467 0.0.0.0:* 3916/miniupnpd
udp 0 0 0.0.0.0:1900 0.0.0.0:* 5946/minissdpd
udp 0 0 0.0.0.0:1900 0.0.0.0:* 3916/miniupnpd
Think no ipv6 wan access may be part of problem.
Questions:
1 - Should miniupnpd be listening to loopback interface by default, without specifying?
2 - Adding loopback to config results in a lot of "not from LAN" spam in log. How to elininate?
3 - How can I debug failure using default config?
config upnpd 'config'
option log_output '0'
option download '1024'
option upload '512'
option internal_iface 'lan'
option external_iface 'wan'
option port '5000'
option upnp_lease_file '/var/upnp.leases'
option uuid '56064c3c-202b-44d5-90e7-feb3a03264c6'
option enabled '1'
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'
Thanks, Bill