View previous topic :: View next topic |
Author |
Message |
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
Posted: Tue May 11, 2010 3:09 pm Post subject: |
|
|
miniupnpd[15501]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#GetGenericPortMappingEntry
miniupnpd[15501]: GetGenericPortMappingEntry: index=1
thats not a problem.
What happen when the client use the AddPortMapping method ?
after that, what is the result of pfctl -s rules -a miniupnpd ? _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
rephlex
Joined: 10 May 2010 Posts: 11
|
Posted: Tue May 11, 2010 3:52 pm Post subject: |
|
|
Can you suggest a utility that will accomplish this method? I have access to a Win7 machine to do this testing at the moment. Thanks.
miniupnp wrote: | miniupnpd[15501]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#GetGenericPortMappingEntry
miniupnpd[15501]: GetGenericPortMappingEntry: index=1
thats not a problem.
What happen when the client use the AddPortMapping method ?
after that, what is the result of pfctl -s rules -a miniupnpd ? |
|
|
Back to top |
|
|
rephlex
Joined: 10 May 2010 Posts: 11
|
Posted: Tue May 11, 2010 4:00 pm Post subject: |
|
|
Hi Admin,
I used the "UPnP Port forward utility" 1.00 to do an "Add new entry..." with TCP port 5566..
sudo pfctl -s rules -a miniupnpd
pass in quick on fxp0 inet proto tcp from any to any port = 5566 flags any keep state label "test" rdr-to 192.168.0.51 port 5566
rephlex wrote: | Can you suggest a utility that will accomplish this method? I have access to a Win7 machine to do this testing at the moment. Thanks.
miniupnp wrote: | miniupnpd[15501]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#GetGenericPortMappingEntry
miniupnpd[15501]: GetGenericPortMappingEntry: index=1
thats not a problem.
What happen when the client use the AddPortMapping method ?
after that, what is the result of pfctl -s rules -a miniupnpd ? |
|
|
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
Posted: Tue May 11, 2010 4:10 pm Post subject: |
|
|
rephlex wrote: | Hi Admin,
I used the "UPnP Port forward utility" 1.00 to do an "Add new entry..." with TCP port 5566..
sudo pfctl -s rules -a miniupnpd
pass in quick on fxp0 inet proto tcp from any to any port = 5566 flags any keep state label "test" rdr-to 192.168.0.51 port 5566
|
looks good !
there must be a problem in get_redirect_rule_by_index() or something !
I'll have a look _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
|
Back to top |
|
|
rephlex
Joined: 10 May 2010 Posts: 11
|
Posted: Tue May 11, 2010 4:25 pm Post subject: |
|
|
I will give this a shot... The true test would be to fire up my xbox 360 and see if it shows my NAT as "open" but I can't test that until tonight...
|
|
Back to top |
|
|
rephlex
Joined: 10 May 2010 Posts: 11
|
Posted: Tue May 11, 2010 5:09 pm Post subject: |
|
|
I did the same test by adding a port mapping using UPnP Port Forward Utility ver 1.00 after installing miniupnpd-1.4.20100511.tar.gz
miniupnpd log:
miniupnpd[21492]: GetGenericPortMappingEntry: index=0
miniupnpd[21492]: HTTP connection from 192.168.0.51:56165
miniupnpd[21492]: HTTP REQUEST : POST /ctl/IPConn (HTTP/1.1)
miniupnpd[21492]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#GetSpecificPor
tMappingEntry
miniupnpd[21492]: GetSpecificPortMappingEntry: rhost='(null)' 44551 TCP found => 192.168.0.
51:44551 desc='testport'
sudo pfctl -s rules -a miniupnpd
pass in quick on fxp0 inet proto tcp from any to any port = 44551 flags any keep state labe
l "testport" rdr-to 192.168.0.51 port 44551 |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
|
Back to top |
|
|
rephlex
Joined: 10 May 2010 Posts: 11
|
Posted: Tue May 11, 2010 10:47 pm Post subject: |
|
|
miniupnp wrote: | it looks great ! |
I'll try xbox live tonight and report my findings... |
|
Back to top |
|
|
rephlex
Joined: 10 May 2010 Posts: 11
|
Posted: Wed May 12, 2010 5:08 am Post subject: |
|
|
miniupnp wrote: | it looks great ! |
Does this look normal?
miniupnpd verbose log with Xbox 360 "test for xbox live" running. Result states "Scrict NAT" on the Xbox console.
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:30252 ST: uuid:d1d17c53-ace6-4349-b5fa-6edcfc87159a
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:30252 ST: uuid:d1d17c53-ace6-4349-b5fa-6edcfc87159a
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:30252 ST: uuid:d1d17c53-ace6-4349-b5fa-6edcfc87159a
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:10506 ST: urn:schemas-upnp-org:service:WANIPConnection:1
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:23819 ST: urn:schemas-upnp-org:service:WANPPPConnection:1
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:10506 ST: urn:schemas-upnp-org:service:WANIPConnection:1
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:23819 ST: urn:schemas-upnp-org:service:WANPPPConnection:1
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:10506 ST: urn:schemas-upnp-org:service:WANIPConnection:1
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:23819 ST: urn:schemas-upnp-org:service:WANPPPConnection:1
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:3142 ST: urn:schemas-upnp-org:service:WANIPConnection:1
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:22491 ST: urn:schemas-upnp-org:service:WANPPPConnection:1
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:3142 ST: urn:schemas-upnp-org:service:WANIPConnection:1
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:22491 ST: urn:schemas-upnp-org:service:WANPPPConnection:1
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:3142 ST: urn:schemas-upnp-org:service:WANIPConnection:1
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:22491 ST: urn:schemas-upnp-org:service:WANPPPConnection:1
.. I was expecting to have "open" as the NAT type reported by the Xbox 360 dashboard. Any ideas?
Thanks. |
|
Back to top |
|
|
rephlex
Joined: 10 May 2010 Posts: 11
|
Posted: Fri May 14, 2010 3:32 am Post subject: |
|
|
I think I may be fighting a pf issue here... If I delete my "block log all" rule from pf.conf then I can get xbox live working (with some additonal rdr rules to my xbox's IP).
As far as the upnp requirement it appears miniupnpd is at least responding.
rephlex wrote: | miniupnp wrote: | it looks great ! |
Does this look normal?
miniupnpd verbose log with Xbox 360 "test for xbox live" running. Result states "Scrict NAT" on the Xbox console.
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:30252 ST: uuid:d1d17c53-ace6-4349-b5fa-6edcfc87159a
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:30252 ST: uuid:d1d17c53-ace6-4349-b5fa-6edcfc87159a
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:30252 ST: uuid:d1d17c53-ace6-4349-b5fa-6edcfc87159a
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:10506 ST: urn:schemas-upnp-org:service:WANIPConnection:1
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:23819 ST: urn:schemas-upnp-org:service:WANPPPConnection:1
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:10506 ST: urn:schemas-upnp-org:service:WANIPConnection:1
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:23819 ST: urn:schemas-upnp-org:service:WANPPPConnection:1
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:10506 ST: urn:schemas-upnp-org:service:WANIPConnection:1
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:23819 ST: urn:schemas-upnp-org:service:WANPPPConnection:1
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:3142 ST: urn:schemas-upnp-org:service:WANIPConnection:1
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:22491 ST: urn:schemas-upnp-org:service:WANPPPConnection:1
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:3142 ST: urn:schemas-upnp-org:service:WANIPConnection:1
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:22491 ST: urn:schemas-upnp-org:service:WANPPPConnection:1
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:3142 ST: urn:schemas-upnp-org:service:WANIPConnection:1
miniupnpd[21492]: SSDP M-SEARCH from 192.168.0.151:22491 ST: urn:schemas-upnp-org:service:WANPPPConnection:1
.. I was expecting to have "open" as the NAT type reported by the Xbox 360 dashboard. Any ideas?
Thanks. |
|
|
Back to top |
|
|
nullstream
Joined: 20 May 2010 Posts: 1
|
Posted: Thu May 20, 2010 2:51 am Post subject: Tried 0511 release myself. |
|
|
My DNS-323 tried but couldn't register... device busy issue.
XBox was seen but same... device busy.
Log is below (via OpenBSD 4.7-release):
Code: |
# miniupnpd -d
miniupnpd[26032]: HTTP listening on port 5903
miniupnpd[26032]: Listening for NAT-PMP traffic on port 5351
miniupnpd[26032]: HTTP connection from 192.168.101.4:2156
miniupnpd[26032]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.0)
miniupnpd[26032]: HTTP connection from 192.168.101.4:2157
miniupnpd[26032]: HTTP REQUEST : POST /ctl/IPConn (HTTP/1.0)
miniupnpd[26032]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#AddPortMapping
miniupnpd[26032]: NewLeaseDuration=3600 not supported, ignored. (ip=192.168.101.4, desc='BitTorrent SDK 2.0')
miniupnpd[26032]: AddPortMapping: ext port 6881 to 192.168.101.4:6881 protocol TCP for: BitTorrent SDK 2.0
miniupnpd[26032]: UPnP permission rule 0 matched : port mapping accepted
miniupnpd[26032]: redirecting port 6881 to 192.168.101.4:6881 protocol TCP for: BitTorrent SDK 2.0
miniupnpd[26032]: ioctl(dev, DIOCCHANGERULE, ...) PF_CHANGE_ADD_TAIL: Device busy
miniupnpd[26032]: Returning UPnPError 501: ActionFailed
miniupnpd[26032]: HTTP connection from 192.168.101.4:2158
miniupnpd[26032]: HTTP REQUEST : POST /ctl/IPConn (HTTP/1.0)
miniupnpd[26032]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#AddPortMapping
miniupnpd[26032]: NewLeaseDuration=3600 not supported, ignored. (ip=192.168.101.4, desc='BitTorrent SDK 2.0')
miniupnpd[26032]: AddPortMapping: ext port 6881 to 192.168.101.4:6881 protocol UDP for: BitTorrent SDK 2.0
miniupnpd[26032]: UPnP permission rule 0 matched : port mapping accepted
miniupnpd[26032]: redirecting port 6881 to 192.168.101.4:6881 protocol UDP for: BitTorrent SDK 2.0
miniupnpd[26032]: ioctl(dev, DIOCCHANGERULE, ...) PF_CHANGE_ADD_TAIL: Device busy
miniupnpd[26032]: Returning UPnPError 501: ActionFailed
miniupnpd[26032]: SSDP M-SEARCH from 192.168.101.5:12855 ST: uuid:48699212-114e-6088-df8f-00195bef3243
miniupnpd[26032]: SSDP M-SEARCH from 192.168.101.5:12855 ST: uuid:48699212-114e-6088-df8f-00195bef3243
miniupnpd[26032]: SSDP M-SEARCH from 192.168.101.5:12855 ST: uuid:48699212-114e-6088-df8f-00195bef3243
miniupnpd[26032]: SSDP M-SEARCH from 192.168.101.5:11472 ST: urn:schemas-upnp-org:service:WANIPConnection:1
miniupnpd[26032]: SSDP M-SEARCH from 192.168.101.5:32631 ST: urn:schemas-upnp-org:service:WANPPPConnection:1
miniupnpd[26032]: HTTP connection from 192.168.101.5:19146
miniupnpd[26032]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[26032]: HTTP connection from 192.168.101.5:34657
miniupnpd[26032]: HTTP REQUEST : POST /ctl/IPConn (HTTP/1.1)
miniupnpd[26032]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#GetStatusInfo
miniupnpd[26032]: HTTP connection from 192.168.101.5:51979
miniupnpd[26032]: HTTP REQUEST : POST /ctl/IPConn (HTTP/1.1)
miniupnpd[26032]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#AddPortMapping
miniupnpd[26032]: AddPortMapping: ext port 3074 to 192.168.101.5:3074 protocol UDP for: Xbox (192.168.101.5:3074) 3074 UDP
miniupnpd[26032]: UPnP permission rule 0 matched : port mapping accepted
miniupnpd[26032]: redirecting port 3074 to 192.168.101.5:3074 protocol UDP for: Xbox (192.168.101.5:3074) 3074 UDP
miniupnpd[26032]: ioctl(dev, DIOCCHANGERULE, ...) PF_CHANGE_ADD_TAIL: Device busy
miniupnpd[26032]: Returning UPnPError 501: ActionFailed
|
|
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
Posted: Thu May 20, 2010 8:32 am Post subject: Re: Tried 0511 release myself. |
|
|
OpenBSD 4.7 has to be patched to avoid this error.
nullstream wrote: | My DNS-323 tried but couldn't register... device busy issue.
XBox was seen but same... device busy.
Log is below (via OpenBSD 4.7-release):
Code: |
# miniupnpd -d
miniupnpd[26032]: HTTP listening on port 5903
miniupnpd[26032]: Listening for NAT-PMP traffic on port 5351
miniupnpd[26032]: HTTP connection from 192.168.101.4:2156
miniupnpd[26032]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.0)
miniupnpd[26032]: HTTP connection from 192.168.101.4:2157
miniupnpd[26032]: HTTP REQUEST : POST /ctl/IPConn (HTTP/1.0)
miniupnpd[26032]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#AddPortMapping
miniupnpd[26032]: NewLeaseDuration=3600 not supported, ignored. (ip=192.168.101.4, desc='BitTorrent SDK 2.0')
miniupnpd[26032]: AddPortMapping: ext port 6881 to 192.168.101.4:6881 protocol TCP for: BitTorrent SDK 2.0
miniupnpd[26032]: UPnP permission rule 0 matched : port mapping accepted
miniupnpd[26032]: redirecting port 6881 to 192.168.101.4:6881 protocol TCP for: BitTorrent SDK 2.0
miniupnpd[26032]: ioctl(dev, DIOCCHANGERULE, ...) PF_CHANGE_ADD_TAIL: Device busy
miniupnpd[26032]: Returning UPnPError 501: ActionFailed
miniupnpd[26032]: HTTP connection from 192.168.101.4:2158
miniupnpd[26032]: HTTP REQUEST : POST /ctl/IPConn (HTTP/1.0)
miniupnpd[26032]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#AddPortMapping
miniupnpd[26032]: NewLeaseDuration=3600 not supported, ignored. (ip=192.168.101.4, desc='BitTorrent SDK 2.0')
miniupnpd[26032]: AddPortMapping: ext port 6881 to 192.168.101.4:6881 protocol UDP for: BitTorrent SDK 2.0
miniupnpd[26032]: UPnP permission rule 0 matched : port mapping accepted
miniupnpd[26032]: redirecting port 6881 to 192.168.101.4:6881 protocol UDP for: BitTorrent SDK 2.0
miniupnpd[26032]: ioctl(dev, DIOCCHANGERULE, ...) PF_CHANGE_ADD_TAIL: Device busy
miniupnpd[26032]: Returning UPnPError 501: ActionFailed
miniupnpd[26032]: SSDP M-SEARCH from 192.168.101.5:12855 ST: uuid:48699212-114e-6088-df8f-00195bef3243
miniupnpd[26032]: SSDP M-SEARCH from 192.168.101.5:12855 ST: uuid:48699212-114e-6088-df8f-00195bef3243
miniupnpd[26032]: SSDP M-SEARCH from 192.168.101.5:12855 ST: uuid:48699212-114e-6088-df8f-00195bef3243
miniupnpd[26032]: SSDP M-SEARCH from 192.168.101.5:11472 ST: urn:schemas-upnp-org:service:WANIPConnection:1
miniupnpd[26032]: SSDP M-SEARCH from 192.168.101.5:32631 ST: urn:schemas-upnp-org:service:WANPPPConnection:1
miniupnpd[26032]: HTTP connection from 192.168.101.5:19146
miniupnpd[26032]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[26032]: HTTP connection from 192.168.101.5:34657
miniupnpd[26032]: HTTP REQUEST : POST /ctl/IPConn (HTTP/1.1)
miniupnpd[26032]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#GetStatusInfo
miniupnpd[26032]: HTTP connection from 192.168.101.5:51979
miniupnpd[26032]: HTTP REQUEST : POST /ctl/IPConn (HTTP/1.1)
miniupnpd[26032]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#AddPortMapping
miniupnpd[26032]: AddPortMapping: ext port 3074 to 192.168.101.5:3074 protocol UDP for: Xbox (192.168.101.5:3074) 3074 UDP
miniupnpd[26032]: UPnP permission rule 0 matched : port mapping accepted
miniupnpd[26032]: redirecting port 3074 to 192.168.101.5:3074 protocol UDP for: Xbox (192.168.101.5:3074) 3074 UDP
miniupnpd[26032]: ioctl(dev, DIOCCHANGERULE, ...) PF_CHANGE_ADD_TAIL: Device busy
miniupnpd[26032]: Returning UPnPError 501: ActionFailed
|
|
_________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
chrisk_de
Joined: 25 May 2010 Posts: 4
|
Posted: Tue May 25, 2010 1:44 pm Post subject: |
|
|
Only 5 days later, but is this still true? I mean that I'd have to patch OpenBSD?
I am running 4.7-release and do still get these ioctl(dev, DIOCCHANGERULE, ...) PF_CHANGE_ADD_TAIL: Device busy errors.
If you are still in the need for system access, I could give you access to my Test(virtual)machine, again... I now finally moved into my new flat, so connection is stable again _________________ http://www.chrisk.de |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
Posted: Tue May 25, 2010 1:58 pm Post subject: |
|
|
chrisk_de wrote: | Only 5 days later, but is this still true? I mean that I'd have to patch OpenBSD?
I am running 4.7-release and do still get these ioctl(dev, DIOCCHANGERULE, ...) PF_CHANGE_ADD_TAIL: Device busy errors.
[...] |
yep, true. OpenBSD-4.7-release has to be patched in order for DIOCCHANGERULE to work.
I dunno if current is ok. I hope so ! _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
|