View previous topic :: View next topic |
Author |
Message |
metalliqaz
Joined: 13 Mar 2012 Posts: 6
|
Posted: Tue Mar 13, 2012 1:37 am Post subject: recvfrom(natpmp): Socket operation on non-socket |
|
|
Hi all,
Running miniupnpd 1.4 from pkgsrc on NetBSD 6.
Check out /var/log/messages...
Code: |
Mar 12 21:24:18 stripe miniupnpd[1779]: HTTP listening on port 65481
Mar 12 21:24:18 stripe miniupnpd[1779]: recvfrom(natpmp): Socket operation on non-socket
Mar 12 21:24:38 stripe syslogd[188]: last message repeated 122520 times
Mar 12 21:24:42 stripe syslogd[188]: last message repeated 26861 times
Mar 12 21:24:42 stripe miniupnpd[1779]: received signal 15, good-bye
Mar 12 21:24:42 stripe miniupnpd[1779]: recvfrom(natpmp): Socket operation on non-socket
|
Look at the timestamps. In 20 seconds, it sent that error over 122 thousand times!!! I notice that it mentions natpmp, yet my config file has natpmp turned off...
Code: |
ext_ifname=xennet0
listening_ip=192.168.1.1/24
port=0
enable_natpmp=no
enable_upnp=yes
bitrate_up=1000000
bitrate_down=10000000
secure_mode=no
system_uptime=yes
notify_interval=60
clean_ruleset_interval=600
uuid=ac5c39e9-1c32-4b37-a1a0-e290b4fd7011
serial=12345678
model_number=1
allow 1024-65535 192.168.1.0/24 1024-65535
deny 0-65535 0.0.0.0/0 0-65535
|
My internal interface is bound to 192.168.1.1 netmask 255.255.255.0. My external interface is indeed xennet0.
This is NetBSD, therefore ipfilter.
Thanks for any help.
UPDATE
By the way, If I enable natpmp (enable_natpmp=yes), then the problem disappears and it stops eating 20% of my processor sending errors. There seems to be a problem implementing that config option. |
|
Back to top |
|
 |
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1594
|
Posted: Tue Mar 13, 2012 5:23 pm Post subject: |
|
|
huhu I should have a look at this. Anyway, does this also happen with miniupnpd-1.5 ? (or the latest version ?) _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
 |
metalliqaz
Joined: 13 Mar 2012 Posts: 6
|
Posted: Wed Mar 14, 2012 1:30 am Post subject: |
|
|
I got 1.6 compiled and running. Seems to be fixed in the new version.
-d |
|
Back to top |
|
 |
|