miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

xbox not working when miniupnpd compiled with --igd2

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Bugs
View previous topic :: View next topic  
Author Message
stigt



Joined: 12 Feb 2014
Posts: 6

PostPosted: Wed Feb 12, 2014 12:24 am    Post subject: xbox not working when miniupnpd compiled with --igd2 Reply with quote

When I compile miniupnpd (downloaded the source today) without --igd2 and run the xbox network test it works fine and I see the iptables rules get added to open port 3074 and a dnat rule back to the xbox. However when I compile with --igd2 the the xbox connectivity test fails.

Hmm, looks like I can't include the debug output in my 1st post. I'll try it has a second post.
Back to top
View user's profile Send private message
stigt



Joined: 12 Feb 2014
Posts: 6

PostPosted: Wed Feb 12, 2014 12:25 am    Post subject: Reply with quote

Running in forground this is what I see first without --igd2:

Code:
root@ER-bgp-test:/home/stig# miniupnpd -f ./mini.conf -d                                                                                                                                                                                     
miniupnpd[4648]: Reloading rules from lease file
miniupnpd[4648]: Starting NAT-PMP UPnP-IGD with external interface eth0
miniupnpd[4648]: HTTP listening on port 44386
miniupnpd[4648]: Listening for NAT-PMP traffic on port 5351
miniupnpd[4648]: get_lan_for_peer(): found in LAN eth6 1.0.0.1
miniupnpd[4648]: ST: urn:schemas-upnp-org:service:WANIPConnection:1 (ver=1)
miniupnpd[4648]: SSDP M-SEARCH from 1.0.0.10:15159 ST: urn:schemas-upnp-org:service:WANIPConnection:1
miniupnpd[4648]: Single search found
miniupnpd[4648]: SSDP Announce 398 bytes to 1.0.0.10:15159 ST: HTTP/1.1 200 OK
CACHE-CONTROL: max-age=120
ST: urn:schemas-upnp-org:service:WANIPConnection:1
USN: uuid:6B8B4567-23F6-9869-EA12-24A53C86C099::urn:schemas-upnp-org:service:WANIPConnection:1
EXT:
SERVER: Debian/squeeze UPnP/1.1 MiniUPnPd/1.8
LOCATION: http://1.0.0.1:44386/rootDesc.xml
OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
01-NLS: 1
BOOTID.UPNP.ORG: 1
CONFIGID.UPNP.ORG: 1337

miniupnpd[4648]: get_lan_for_peer(): found in LAN eth6 1.0.0.1
miniupnpd[4648]: ST: urn:schemas-upnp-org:service:WANPPPConnection:1 (ver=1)
miniupnpd[4648]: SSDP M-SEARCH from 1.0.0.10:31192 ST: urn:schemas-upnp-org:service:WANPPPConnection:1
miniupnpd[4648]: Single search found
miniupnpd[4648]: SSDP Announce 400 bytes to 1.0.0.10:31192 ST: HTTP/1.1 200 OK
CACHE-CONTROL: max-age=120
ST: urn:schemas-upnp-org:service:WANPPPConnection:1
USN: uuid:6B8B4567-23F6-9869-EA12-24A53C86C099::urn:schemas-upnp-org:service:WANPPPConnection:1
EXT:
SERVER: Debian/squeeze UPnP/1.1 MiniUPnPd/1.8
LOCATION: http://1.0.0.1:44386/rootDesc.xml
OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
01-NLS: 1
BOOTID.UPNP.ORG: 1
CONFIGID.UPNP.ORG: 1337

miniupnpd[4648]: HTTP connection from 1.0.0.10:40318
miniupnpd[4648]: get_lan_for_peer(): found in LAN eth6 1.0.0.1
miniupnpd[4648]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[4648]: HTTP connection from 1.0.0.10:46680
miniupnpd[4648]: get_lan_for_peer(): found in LAN eth6 1.0.0.1
miniupnpd[4648]: HTTP REQUEST : POST /ctl/IPConn (HTTP/1.1)
miniupnpd[4648]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#GetStatusInfo
miniupnpd[4648]: Remote Call of SoapMethod 'GetStatusInfo'
miniupnpd[4648]: HTTP connection from 1.0.0.10:33400
miniupnpd[4648]: get_lan_for_peer(): found in LAN eth6 1.0.0.1
miniupnpd[4648]: HTTP REQUEST : POST /ctl/IPConn (HTTP/1.1)
miniupnpd[4648]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#GetExternalIPAddress
miniupnpd[4648]: Remote Call of SoapMethod 'GetExternalIPAddress'
miniupnpd[4648]: HTTP connection from 1.0.0.10:48145
miniupnpd[4648]: get_lan_for_peer(): found in LAN eth6 1.0.0.1
miniupnpd[4648]: HTTP REQUEST : POST /ctl/IPConn (HTTP/1.1)
miniupnpd[4648]: SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#AddPortMapping
miniupnpd[4648]: Remote Call of SoapMethod 'AddPortMapping'
miniupnpd[4648]: AddPortMapping: ext port 3074 to 1.0.0.10:3074 protocol UDP for: Xbox (1.0.0.10:3074) 3074 UDP leaseduration=0 rhost=
miniupnpd[4648]: no permission rule matched : accept by default (n_perms=0)
miniupnpd[4648]: redirecting port 3074 to 1.0.0.10:3074 protocol UDP for: Xbox (1.0.0.10:3074) 3074 UDP


Now with --igd2

Code:
oot@ER-bgp-test:/home/stig# miniupnpd -f ./mini.conf -d                                                                                                                                                                                     
miniupnpd[4422]: Reloading rules from lease file
miniupnpd[4422]: Starting NAT-PMP/PCP UPnP-IGD with external interface eth0
miniupnpd[4422]: HTTP listening on port 34049
miniupnpd[4422]: Listening for NAT-PMP/PCP traffic on port 5351
miniupnpd[4422]: get_lan_for_peer(): found in LAN eth6 1.0.0.1
miniupnpd[4422]: ST: urn:schemas-upnp-org:service:WANIPConnection:1 (ver=1)
miniupnpd[4422]: SSDP M-SEARCH from 1.0.0.10:31177 ST: urn:schemas-upnp-org:service:WANIPConnection:1
miniupnpd[4422]: Single search found
miniupnpd[4422]: SSDP Announce 398 bytes to 1.0.0.10:31177 ST: HTTP/1.1 200 OK
CACHE-CONTROL: max-age=120
ST: urn:schemas-upnp-org:service:WANIPConnection:1
USN: uuid:6B8B4567-23F6-9869-EA12-24A53C86C099::urn:schemas-upnp-org:service:WANIPConnection:1
EXT:
SERVER: Debian/squeeze UPnP/1.1 MiniUPnPd/1.8
LOCATION: http://1.0.0.1:34049/rootDesc.xml
OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
01-NLS: 1
BOOTID.UPNP.ORG: 1
CONFIGID.UPNP.ORG: 1337

miniupnpd[4422]: get_lan_for_peer(): found in LAN eth6 1.0.0.1
miniupnpd[4422]: ST: urn:schemas-upnp-org:service:WANPPPConnection:1 (ver=1)
miniupnpd[4422]: SSDP M-SEARCH from 1.0.0.10:17030 ST: urn:schemas-upnp-org:service:WANPPPConnection:1
miniupnpd[4422]: Single search found
miniupnpd[4422]: SSDP Announce 400 bytes to 1.0.0.10:17030 ST: HTTP/1.1 200 OK
CACHE-CONTROL: max-age=120
ST: urn:schemas-upnp-org:service:WANPPPConnection:1
USN: uuid:6B8B4567-23F6-9869-EA12-24A53C86C099::urn:schemas-upnp-org:service:WANPPPConnection:1
EXT:
SERVER: Debian/squeeze UPnP/1.1 MiniUPnPd/1.8
LOCATION: http://1.0.0.1:34049/rootDesc.xml
OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
01-NLS: 1
BOOTID.UPNP.ORG: 1
CONFIGID.UPNP.ORG: 1337

miniupnpd[4422]: HTTP connection from 1.0.0.10:63703
miniupnpd[4422]: get_lan_for_peer(): found in LAN eth6 1.0.0.1
miniupnpd[4422]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)


I did some searching and found a post from 2011 that said igd2 was still in development, but should be backwards compatible. Is it still considered in development?

Any ideas? I have packet captures, but it does look like I can attach files.[
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Thu Feb 13, 2014 9:32 am    Post subject: Reply with quote

IGDv2 is now more advanced than in 2013. It should work and be backward compatible.
but it is not well tested so there may be bugs Sad

From what I understand, with --igdv2, the XBOX stops right after receiving the /rootDesc.xml file, so something must be wrong there.
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Thu Feb 13, 2014 9:44 am    Post subject: Reply with quote

in the rootDesc.xml there is urn:schemas-upnp-org:service:WANIPConnection:2
where as the SSDP packets include urn:schemas-upnp-org:service:WANIPConnection:1

can you test that patch ?
(contact me by email if we need to exchanges files)

Code:
diff -u -p -r1.57 minissdp.c
--- minissdp.c  6 Feb 2014 09:52:03 -0000       1.57
+++ minissdp.c  13 Feb 2014 09:43:57 -0000
@@ -767,9 +767,19 @@ ProcessSSDPData(int s, const char *bufr,
 #endif
                                   )
                                {
+#ifndef SSDP_RESPOND_SAME_VERSION
+                                       if(i==0)
+                                               ver_str[0] = '\0';
+                                       else
+                                               snprintf(ver_str, sizeof(ver_str), "%d", known_service_types[i].version);
+#endif
                                        syslog(LOG_INFO, "Single search found");
                                        SendSSDPResponse(s, sender,
+#ifdef SSDP_RESPOND_SAME_VERSION
                                                         st, st_len, "",
+#else
+                                                        known_service_types[i].s, l, ver_str,
+#endif
                                                         announced_host, port,
                                                         known_service_types[i].uuid);
                                        break;

_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
stigt



Joined: 12 Feb 2014
Posts: 6

PostPosted: Fri Feb 14, 2014 1:22 am    Post subject: Reply with quote

Thanks for the patch, but it still didn't work. Here the output:

Code:
/run/miniupnpd.pid -de/stig# miniupnpd -f /opt/vyatta/etc/miniupnpd.conf -P /var
miniupnpd[1578]: Reloading rules from lease file
miniupnpd[1578]: could not open lease file: /var/log/upnp.leases
miniupnpd[1578]: Starting NAT-PMP UPnP-IGD with external interface eth0
miniupnpd[1578]: HTTP listening on port 51691
miniupnpd[1578]: HTTP IPv6 address given to control points : [2001:470:1f04:9a3::2]
miniupnpd[1578]: Listening for NAT-PMP traffic on port 5351
miniupnpd[1578]: sendto(udp_notify=8, [2001:470:1f04:9a3::2]): Network is unreachable
miniupnpd[1578]: sendto(udp_notify=8, [2001:470:1f04:9a3::2]): Network is unreachable
miniupnpd[1578]: sendto(udp_notify=8, [2001:470:1f04:9a3::2]): Network is unreachable
miniupnpd[1578]: sendto(udp_notify=8, [2001:470:1f04:9a3::2]): Network is unreachable
miniupnpd[1578]: sendto(udp_notify=8, [2001:470:1f04:9a3::2]): Network is unreachable
miniupnpd[1578]: sendto(udp_notify=8, [2001:470:1f04:9a3::2]): Network is unreachable
miniupnpd[1578]: sendto(udp_notify=8, [2001:470:1f04:9a3::2]): Network is unreachable
miniupnpd[1578]: sendto(udp_notify=8, [2001:470:1f04:9a3::2]): Network is unreachable
miniupnpd[1578]: sendto(udp_notify=8, [2001:470:1f04:9a3::2]): Network is unreachable
miniupnpd[1578]: sendto(udp_notify=8, [2001:470:1f04:9a3::2]): Network is unreachable
miniupnpd[1578]: sendto(udp_notify=8, [2001:470:1f04:9a3::2]): Network is unreachable
miniupnpd[1578]: sendto(udp_notify=8, [2001:470:1f04:9a3::2]): Network is unreachable
miniupnpd[1578]: sendto(udp_notify=8, [2001:470:1f04:9a3::2]): Network is unreachable
miniupnpd[1578]: sendto(udp_notify=8, [2001:470:1f04:9a3::2]): Network is unreachable
miniupnpd[1578]: sendto(udp_notify=8, [2001:470:1f04:9a3::2]): Network is unreachable
miniupnpd[1578]: sendto(udp_notify=8, [2001:470:1f04:9a3::2]): Network is unreachable
miniupnpd[1578]: sendto(udp_notify=8, [2001:470:1f04:9a3::2]): Network is unreachable
miniupnpd[1578]: sendto(udp_notify=8, [2001:470:1f04:9a3::2]): Network is unreachable
miniupnpd[1578]: sendto(udp_notify=8, [2001:470:1f04:9a3::2]): Network is unreachable
miniupnpd[1578]: sendto(udp_notify=8, [2001:470:1f04:9a3::2]): Network is unreachable
miniupnpd[1578]: sendto(udp_notify=8, [2001:470:1f04:9a3::2]): Network is unreachable
miniupnpd[1578]: sendto(udp_notify=8, [2001:470:1f04:9a3::2]): Network is unreachable
miniupnpd[1578]: sendto(udp_notify=8, [2001:470:1f04:9a3::2]): Network is unreachable
miniupnpd[1578]: sendto(udp_notify=8, [2001:470:1f04:9a3::2]): Network is unreachable
miniupnpd[1578]: get_lan_for_peer(): found in LAN eth6 1.0.0.1
miniupnpd[1578]: ST: urn:schemas-upnp-org:service:WANIPConnection:1 (ver=1)
miniupnpd[1578]: SSDP M-SEARCH from 1.0.0.10:4631 ST: urn:schemas-upnp-org:service:WANIPConnection:1
miniupnpd[1578]: Single search found
miniupnpd[1578]: SSDP Announce 398 bytes to 1.0.0.10:4631 ST: HTTP/1.1 200 OK
CACHE-CONTROL: max-age=120
ST: urn:schemas-upnp-org:service:WANIPConnection:2
USN: uuid:d0f6bdd7-69d8-479c-8861-357e08de85bf::urn:schemas-upnp-org:service:WANIPConnection:2
EXT:
SERVER: Debian/squeeze UPnP/1.1 MiniUPnPd/1.8
LOCATION: http://1.0.0.1:51691/rootDesc.xml
OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
01-NLS: 1
BOOTID.UPNP.ORG: 1
CONFIGID.UPNP.ORG: 1337

miniupnpd[1578]: get_lan_for_peer(): found in LAN eth6 1.0.0.1
miniupnpd[1578]: ST: urn:schemas-upnp-org:service:WANPPPConnection:1 (ver=1)
miniupnpd[1578]: SSDP M-SEARCH from 1.0.0.10:9682 ST: urn:schemas-upnp-org:service:WANPPPConnection:1
miniupnpd[1578]: Single search found
miniupnpd[1578]: SSDP Announce 400 bytes to 1.0.0.10:9682 ST: HTTP/1.1 200 OK
CACHE-CONTROL: max-age=120
ST: urn:schemas-upnp-org:service:WANPPPConnection:1
USN: uuid:d0f6bdd7-69d8-479c-8861-357e08de85bf::urn:schemas-upnp-org:service:WANPPPConnection:1
EXT:
SERVER: Debian/squeeze UPnP/1.1 MiniUPnPd/1.8
LOCATION: http://1.0.0.1:51691/rootDesc.xml
OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
01-NLS: 1
BOOTID.UPNP.ORG: 1
CONFIGID.UPNP.ORG: 1337

miniupnpd[1578]: HTTP connection from [::ffff:1.0.0.10]:33740
miniupnpd[1578]: get_lan_for_peer(): found in LAN eth6 1.0.0.1
miniupnpd[1578]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[1578]: get_lan_for_peer(): found in LAN eth6 1.0.0.1
miniupnpd[1578]: ST: urn:schemas-upnp-org:service:WANIPConnection:1 (ver=1)
miniupnpd[1578]: SSDP M-SEARCH from 1.0.0.10:5528 ST: urn:schemas-upnp-org:service:WANIPConnection:1
miniupnpd[1578]: Single search found
miniupnpd[1578]: SSDP Announce 398 bytes to 1.0.0.10:5528 ST: HTTP/1.1 200 OK
CACHE-CONTROL: max-age=120
ST: urn:schemas-upnp-org:service:WANIPConnection:2
USN: uuid:d0f6bdd7-69d8-479c-8861-357e08de85bf::urn:schemas-upnp-org:service:WANIPConnection:2
EXT:
SERVER: Debian/squeeze UPnP/1.1 MiniUPnPd/1.8
LOCATION: http://1.0.0.1:51691/rootDesc.xml
OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
01-NLS: 1
BOOTID.UPNP.ORG: 1
CONFIGID.UPNP.ORG: 1337

miniupnpd[1578]: get_lan_for_peer(): found in LAN eth6 1.0.0.1
miniupnpd[1578]: ST: urn:schemas-upnp-org:service:WANPPPConnection:1 (ver=1)
miniupnpd[1578]: SSDP M-SEARCH from 1.0.0.10:5037 ST: urn:schemas-upnp-org:service:WANPPPConnection:1
miniupnpd[1578]: Single search found
miniupnpd[1578]: SSDP Announce 400 bytes to 1.0.0.10:5037 ST: HTTP/1.1 200 OK
CACHE-CONTROL: max-age=120
ST: urn:schemas-upnp-org:service:WANPPPConnection:1
USN: uuid:d0f6bdd7-69d8-479c-8861-357e08de85bf::urn:schemas-upnp-org:service:WANPPPConnection:1
EXT:
SERVER: Debian/squeeze UPnP/1.1 MiniUPnPd/1.8
LOCATION: http://1.0.0.1:51691/rootDesc.xml
OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
01-NLS: 1
BOOTID.UPNP.ORG: 1
CONFIGID.UPNP.ORG: 1337

miniupnpd[1578]: HTTP connection from [::ffff:1.0.0.10]:35805
miniupnpd[1578]: get_lan_for_peer(): found in LAN eth6 1.0.0.1
miniupnpd[1578]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)

 
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Fri Feb 14, 2014 9:27 am    Post subject: Reply with quote

maybe the XBox rejects the IGD v2 description...
which xbox version is it ? you could contact Microsoft support.
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
stigt



Joined: 12 Feb 2014
Posts: 6

PostPosted: Fri Feb 14, 2014 9:02 pm    Post subject: Reply with quote

miniupnp wrote:
maybe the XBox rejects the IGD v2 description...
which xbox version is it ? you could contact Microsoft support.
It a black xbox 360 and the software was updated last week. I have packet captures if that would be useful to you. I also tried using miniupnpc to add a IGD:2 pinhole and couldn't get that to work, but maybe I wasn't using the right format (do you have an example for upnpc -A ...).

As you can probably tell, I'm not very knowledgeable about UPnP but from some of my reading igd2 mainly adds IPv6 support. Is that true or there other functionality that IPv4 would benefit from? This is for a router product and we're currently using linux-igd, but several of of customers have asked we switch to miniupnpd.
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Mon Feb 17, 2014 3:20 pm    Post subject: Reply with quote

I'm afraid you should ask microsoft confirmation if Xbox 360 is compatible with UPnP IGD v2 and stick to IGD v1 if needed.
If XBox 360 is compatible with IGDv2, please tell me which IGDv2 work well with it !

you are right, main improvement of IGD v2 over v1 is IPv6 support.

example for upnp -A :
Code:
upnpc -A "" "" 10.1.2.3 12345 6 3600

_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
stigt



Joined: 12 Feb 2014
Posts: 6

PostPosted: Mon Feb 17, 2014 7:17 pm    Post subject: Reply with quote

Well I can probably live without IPv6 support for now, but I would've thought that even if they don't support IGDv2 that it would be backwards compatible with IGDv1.
Back to top
View user's profile Send private message
stigt



Joined: 12 Feb 2014
Posts: 6

PostPosted: Mon Feb 17, 2014 8:34 pm    Post subject: Reply with quote

Quote:
upnpc -A "" "" 10.1.2.3 12345 6 3600

BTW when I try that example I get:

Code:
stig@uffda:~$ upnpc -m eth2 -A "" "" 10.1.2.3 12345 6 3600
upnpc : miniupnpc library test client. (c) 2005-2013 Thomas Bernard
Go to http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
for more information.
List of UPNP devices found on the network :
 desc: http://172.16.3.49:49040/rootDesc.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found valid IGD : http://172.16.3.49:49040/
Local LAN ip address : 172.16.3.15
AddPinhole([]: -> [10.1.2.3]:12345) failed with code 402 (Invalid Args)


miniupnpd output:
Code:
miniupnpd[9850]: get_lan_for_peer(): found in LAN eth7 172.16.3.49
miniupnpd[9850]: ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1 (ver=1)
miniupnpd[9850]: SSDP M-SEARCH from 172.16.3.15:43852 ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
miniupnpd[9850]: Single search found
miniupnpd[9850]: SSDP Announce 412 bytes to 172.16.3.15:43852 ST: HTTP/1.1 200 OK
CACHE-CONTROL: max-age=120
ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
USN: uuid:d0f6bdd7-69d8-479c-8861-357e08de85bd::urn:schemas-upnp-org:device:InternetGatewayDevice:1
EXT:
SERVER: Debian/squeeze UPnP/1.1 MiniUPnPd/1.8
LOCATION: http://172.16.3.49:49040/rootDesc.xml
OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
01-NLS: 1
BOOTID.UPNP.ORG: 1
CONFIGID.UPNP.ORG: 1337

miniupnpd[9850]: HTTP connection from [::ffff:172.16.3.15]:35807
miniupnpd[9850]: get_lan_for_peer(): found in LAN eth7 172.16.3.49
miniupnpd[9850]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[9850]: HTTP connection from [::ffff:172.16.3.15]:35808
miniupnpd[9850]: get_lan_for_peer(): found in LAN eth7 172.16.3.49
miniupnpd[9850]: HTTP REQUEST : POST / (HTTP/1.1)
miniupnpd[9850]: SOAPAction: #GetStatusInfo
miniupnpd[9850]: HTTP connection from [::ffff:172.16.3.15]:35809
miniupnpd[9850]: get_lan_for_peer(): found in LAN eth7 172.16.3.49
miniupnpd[9850]: HTTP REQUEST : POST / (HTTP/1.1)
miniupnpd[9850]: SOAPAction: #GetExternalIPAddress
miniupnpd[9850]: HTTP connection from [::ffff:172.16.3.15]:35810
miniupnpd[9850]: get_lan_for_peer(): found in LAN eth7 172.16.3.49
miniupnpd[9850]: HTTP REQUEST : POST /ctl/IP6FCtl (HTTP/1.1)
miniupnpd[9850]: SOAPAction: urn:schemas-upnp-org:service:WANIPv6FirewallControl:1#AddPinhole
miniupnpd[9850]: AddPinhole : getaddrinfo() : Name or service not known
miniupnpd[9850]: Checking internal IP@ and port (Security policy purpose)
miniupnpd[9850]: Failed to convert hostname '10.1.2.3' to ip address
miniupnpd[9850]: Returning UPnPError 402: Invalid Args


I was wondering if it might be a big endian issue (my platform is MIPS64), but I compiled for x86 and got the same error.
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Tue Feb 18, 2014 8:18 am    Post subject: Reply with quote

stigt wrote:
Quote:
upnpc -A "" "" 10.1.2.3 12345 6 3600


I'm stupid Smile
-A is for IPv6 pinhole so the IP address should be 2001::xxx:xxx:xxx:xxx (whatever it is Smile
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
DmitryMJA
Guest





PostPosted: Sat Jul 26, 2014 9:05 pm    Post subject: xbox not working when miniupnpd compiled with igd2 Reply with quote

looks like that would be the culprit. Not sure how it was working for me when I tested things, but this would be the correct code just replacing news with newsmod
PHP Code:
Back to top
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.