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 

connected to router but no external ip

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



Joined: 29 Jun 2011
Posts: 3

PostPosted: Wed Jun 29, 2011 10:12 pm    Post subject: connected to router but no external ip Reply with quote

I am using Windows7 64 bit. I have built miniupnpc-1.5.20110515 with visual studio 2008. I am at a hotel and miniupnp appears to find the router but not the external ip. Below is a dump of the debug.

Can anyone give me a hint as to what is wrong and/or how to modify minupnpc to work with this router?
Back to top
View user's profile Send private message
joesmoe



Joined: 29 Jun 2011
Posts: 3

PostPosted: Wed Jun 29, 2011 10:12 pm    Post subject: Here is a dump of the debug info Reply with quote

I had to change all the h t t p with xttp>> because i could not post ( error You must have 1 posts before you can post URL's/Links )

'RogueUpnp.exe': Loaded 'C:\Windows\SysWOW64\rasadhlp.dll'
Host Official name: DEEPTHOUGHT
'RogueUpnp.exe': Loaded 'C:\Windows\SysWOW64\dhcpcsvc.dll'
Local Ip 172.17.197.252
Default Ip 172.17.197.252
'RogueUpnp.exe': Loaded 'C:\Windows\SysWOW64\uxtheme.dll'
'RogueUpnp.exe': Loaded 'C:\Program Files (x86)\McAfee\SiteAdvisor\sahook.dll'
'RogueUpnp.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll'
'RogueUpnp.exe': Loaded 'C:\Windows\SysWOW64\WSHTCPIP.DLL'
ifIndex=10 nextHop=10111ac
'RogueUpnp.exe': Loaded 'C:\Windows\SysWOW64\dhcpcsvc6.dll'
Num Entries: 2

Interface Index[0]: 1
IP Address[0]: 127.0.0.1
Subnet Mask[0]: 255.0.0.0
BroadCast[0]: 1.0.0.0 (1)
Reassembly size[0]: 65535
Type and State[0]:

Interface Index[1]: 10
IP Address[1]: 172.17.197.252
Subnet Mask[1]: 255.255.0.0
BroadCast[1]: 1.0.0.0 (1)
Reassembly size[1]: 65535
Type and State[1]:
Sending M-SEARCH * XTTP/1.1
HOST: 239.255.255.250:1900
ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
MAN: "ssdp:discover"
MX: 2

Sending M-SEARCH * XTTP/1.1
HOST: 239.255.255.250:1900
ST: urn:schemas-upnp-org:service:WANIPConnection:1
MAN: "ssdp:discover"
MX: 2

Sending M-SEARCH * XTTP/1.1
HOST: 239.255.255.250:1900
ST: urn:schemas-upnp-org:service:WANPPPConnection:1
MAN: "ssdp:discover"
MX: 2

Sending M-SEARCH * XTTP/1.1
HOST: 239.255.255.250:1900
ST: upnp:rootdevice
MAN: "ssdp:discover"
MX: 2

M-SEARCH Reply:
ST: upnp:rootdevice
Location: xttp>>172.17.169.245:2869/upnphost/udhisapi.dll?content=uuid:92517394-7418-4452-af72-27553bb33486
parsed url : hostname='172.17.169.245' port=2869 path='/upnphost/udhisapi.dll?content=uuid:92517394-7418-4452-af72-27553bb33486'
header='Content-Length', value='5816'
Content-Length: 5816
header='Content-Type', value='text/xml; charset="utf-8"'
header='Server', value='Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0 Microsoft-XTTPAPI/2.0'
header='Date', value='Wed, 29 Jun 2011 11:32:35 GMT'
header='Connection', value='close'
End of XTTP content
urlbase = ''
WAN Device (Common interface config) :
serviceType = ''
controlURL = ''
eventSubURL = ''
SCPDURL = ''
primary WAN Connection Device (IP or PPP Connection):
servicetype = ''
controlURL = ''
eventSubURL = ''
SCPDURL = ''
secondary WAN Connection Device (IP or PPP Connection):
servicetype = ''
controlURL = ''
eventSubURL = ''
SCPDURL = ''
WAN IPv6 Firewall Control :
servicetype = ''
controlURL = ''
eventSubURL = ''
SCPDURL = ''
parsed url : hostname='172.17.169.245' port=2869 path='/upnphost/udhisapi.dll?content=uuid:92517394-7418-4452-af72-27553bb33486'
header='Content-Length', value='5816'
Content-Length: 5816
header='Content-Type', value='text/xml; charset="utf-8"'
header='Server', value='Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0 Microsoft-XTTPAPI/2.0'
header='Date', value='Wed, 29 Jun 2011 11:32:35 GMT'
header='Connection', value='close'
End of XTTP content
urlbase = ''
WAN Device (Common interface config) :
serviceType = ''
controlURL = ''
eventSubURL = ''
SCPDURL = ''
primary WAN Connection Device (IP or PPP Connection):
servicetype = ''
controlURL = ''
eventSubURL = ''
SCPDURL = ''
secondary WAN Connection Device (IP or PPP Connection):
servicetype = ''
controlURL = ''
eventSubURL = ''
SCPDURL = ''
WAN IPv6 Firewall Control :
servicetype = ''
controlURL = ''
eventSubURL = ''
SCPDURL = ''
parsed url : hostname='172.17.169.245' port=2869 path='/upnphost/udhisapi.dll?content=uuid:92517394-7418-4452-af72-27553bb33486'
header='Content-Length', value='5816'
Content-Length: 5816
header='Content-Type', value='text/xml; charset="utf-8"'
header='Server', value='Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0 Microsoft-XTTPAPI/2.0'
header='Date', value='Wed, 29 Jun 2011 11:32:35 GMT'
header='Connection', value='close'
End of XTTP content
urlbase = ''
WAN Device (Common interface config) :
serviceType = ''
controlURL = ''
eventSubURL = ''
SCPDURL = ''
primary WAN Connection Device (IP or PPP Connection):
servicetype = ''
controlURL = ''
eventSubURL = ''
SCPDURL = ''
secondary WAN Connection Device (IP or PPP Connection):
servicetype = ''
controlURL = ''
eventSubURL = ''
SCPDURL = ''
WAN IPv6 Firewall Control :
servicetype = ''
controlURL = ''
eventSubURL = ''
SCPDURL = ''
urls->ipcondescURL='xttp>>172.17.169.245:2869/' 27 n1=100
urls->controlURL='xttp>>172.17.169.245:2869/' 27 n2=100
urls->controlURL_CIF='xttp>>172.17.169.245:2869/' 27 n3=100
urls->controlURL_6FC='xttp>>172.17.169.245:2869/' 27 n4=100
SOAP request : POST / XTTP/1.1 - Host: 172.17.169.245:2869
SOAPAction: "#GetStatusInfo" - Content-Length: 225
Headers :
POST / XTTP/1.1
Host: 172.17.169.245:2869
User-Agent: OS/version, UPnP/1.0, MiniUPnPc/1.4
Content-Length: 225
Content-Type: text/xml
SOAPAction: "#GetStatusInfo"
Connection: Close
Cache-Control: no-cache
Pragma: no-cache

Body :
<?xml version="1.0"?>
<s:Envelope xmlns:s="xttp>>schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="xttp>>schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetStatusInfo xmlns:u=""></u:GetStatusInfo></s:Body></s:Envelope>

UPNPIGD_IsConnected(xttp://172.17.169.245:2869/) = 0
SOAP request : POST / XTTP/1.1 - Host: 172.17.169.245:2869
SOAPAction: "#GetConnectionTypeInfo" - Content-Length: 241
Headers :
POST / XTTP/1.1
Host: 172.17.169.245:2869
User-Agent: OS/version, UPnP/1.0, MiniUPnPc/1.4
Content-Length: 241
Content-Type: text/xml
SOAPAction: "#GetConnectionTypeInfo"
Connection: Close
Cache-Control: no-cache
Pragma: no-cache

Body :
<?xml version="1.0"?>
<s:Envelope xmlns:s="xttp>>schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="xttp>>schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetConnectionTypeInfo xmlns:u=""></u:GetConnectionTypeInfo></s:Body></s:Envelope>

Connection Type : 面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面?7¬面
SOAP request : POST / XTTP/1.1 - Host: 172.17.169.245:2869
SOAPAction: "#GetStatusInfo" - Content-Length: 225
Headers :
POST / XTTP/1.1
Host: 172.17.169.245:2869
User-Agent: OS/version, UPnP/1.0, MiniUPnPc/1.4
Content-Length: 225
Content-Type: text/xml
SOAPAction: "#GetStatusInfo"
Connection: Close
Cache-Control: no-cache
Pragma: no-cache

Body :
<?xml version="1.0"?>
<s:Envelope xmlns:s="xttp>>schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="xttp>>schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetStatusInfo xmlns:u=""></u:GetStatusInfo></s:Body></s:Envelope>

Status : 面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面?7¬面, uptime=0s, LastConnectionError : tF
Time started : Wed Jun 29 06:33:07 2011
SOAP request : POST / XTTP/1.1 - Host: 172.17.169.245:2869
SOAPAction: "#GetCommonLinkProperties" - Content-Length: 245
Headers :
POST / XTTP/1.1
Host: 172.17.169.245:2869
User-Agent: OS/version, UPnP/1.0, MiniUPnPc/1.4
Content-Length: 245
Content-Type: text/xml
SOAPAction: "#GetCommonLinkProperties"
Connection: Close
Cache-Control: no-cache
Pragma: no-cache

Body :
<?xml version="1.0"?>
<s:Envelope xmlns:s="xttp>>schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="xttp>>schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetCommonLinkProperties xmlns:u=""></u:GetCommonLinkProperties></s:Body></s:Envelope>

MaxBitRateDown : 3435973836 bps (3435.9 Mbps) MaxBitRateUp 0 bps
SOAP request : POST / XTTP/1.1 - Host: 172.17.169.245:2869
SOAPAction: "#GetExternalIPAddress" - Content-Length: 239
Headers :
POST / XTTP/1.1
Host: 172.17.169.245:2869
User-Agent: OS/version, UPnP/1.0, MiniUPnPc/1.4
Content-Length: 239
Content-Type: text/xml
SOAPAction: "#GetExternalIPAddress"
Connection: Close
Cache-Control: no-cache
Pragma: no-cache

Body :
<?xml version="1.0"?>
<s:Envelope xmlns:s="xttp>>schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="xttp>>schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetExternalIPAddress xmlns:u=""></u:GetExternalIPAddress></s:Body></s:Envelope>

GetExternalIPAddress() returned -3
ExternalIPAddress = 面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面面?7¬面
Back to top
View user's profile Send private message
joesmoe



Joined: 29 Jun 2011
Posts: 3

PostPosted: Thu Jun 30, 2011 1:25 am    Post subject: Another Debug dump if add break point results are different Reply with quote

If I add a breakpoint at line 824 of miniupnpc.c in function UPNP_GetValidIGD
and pause a few seconds before continuing I get a much different result
but still no external IP
descXML = miniwget_getaddr(dev->descURL, &descXMLsize,
lanaddr, lanaddrlen);
breakpoint heare -----> if(descXML)
{
ndev++;


'RogueUpnp.exe': Loaded 'C:\Windows\SysWOW64\rasadhlp.dll'
Host Official name: DEEPTHOUGHT
'RogueUpnp.exe': Loaded 'C:\Windows\SysWOW64\dhcpcsvc.dll'
Local Ip 172.17.197.252
Default Ip 172.17.197.252
'RogueUpnp.exe': Loaded 'C:\Windows\SysWOW64\uxtheme.dll'
'RogueUpnp.exe': Loaded 'C:\Program Files (x86)\McAfee\SiteAdvisor\sahook.dll'
'RogueUpnp.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll'
'RogueUpnp.exe': Loaded 'C:\Windows\SysWOW64\WSHTCPIP.DLL'
ifIndex=10 nextHop=10111ac
'RogueUpnp.exe': Loaded 'C:\Windows\SysWOW64\dhcpcsvc6.dll'
Num Entries: 2

Interface Index[0]: 1
IP Address[0]: 127.0.0.1
Subnet Mask[0]: 255.0.0.0
BroadCast[0]: 1.0.0.0 (1)
Reassembly size[0]: 65535
Type and State[0]:

Interface Index[1]: 10
IP Address[1]: 172.17.197.252
Subnet Mask[1]: 255.255.0.0
BroadCast[1]: 1.0.0.0 (1)
Reassembly size[1]: 65535
Type and State[1]:
Sending M-SEARCH * HTTP/1.1
HOST: 239.255.255.250:1900
ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
MAN: "ssdp:discover"
MX: 2

M-SEARCH Reply:
ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
Location: http://172.17.187.253:2869/upnphost/udhisapi.dll?content=uuid:387f0cfe-4e39-4105-82c8-8923b9c6aa33
parsed url : hostname='172.17.187.253' port=2869 path='/upnphost/udhisapi.dll?content=uuid:387f0cfe-4e39-4105-82c8-8923b9c6aa33'
header='Content-Length', value='3615'
Content-Length: 3615
header='Content-Type', value='text/xml'
header='Server', value='Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0 Microsoft-HTTPAPI/1.0'
header='Date', value='Thu, 30 Jun 2011 01:07:39 GMT'
header='Connection', value='close'
End of HTTP content
urlbase = ''
WAN Device (Common interface config) :
serviceType = 'urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1'
controlURL = '/upnphost/udhisapi.dll?control=uuid:66e16981-907a-44d7-b2af-dc2c1a4881ca+urn:upnp-org:serviceId:WANCommonIFC1'
eventSubURL = '/upnphost/udhisapi.dll?event=uuid:66e16981-907a-44d7-b2af-dc2c1a4881ca+urn:upnp-org:serviceId:WANCommonIFC1'
SCPDURL = '/upnphost/udhisapi.dll?content=uuid:391847dc-63cd-460d-a81f-edf12348e09b'
primary WAN Connection Device (IP or PPP Connection):
servicetype = 'urn:schemas-upnp-org:service:WANIPConnection:1'
controlURL = '/upnphost/udhisapi.dll?control=uuid:3e758b2e-634a-4cca-afd3-529b9565046c+urn:upnp-org:serviceId:WANIPConn1'
eventSubURL = '/upnphost/udhisapi.dll?event=uuid:3e758b2e-634a-4cca-afd3-529b9565046c+urn:upnp-org:serviceId:WANIPConn1'
SCPDURL = '/upnphost/udhisapi.dll?content=uuid:d67ef6ef-0a3f-45ad-b19e-231890e344d0'
secondary WAN Connection Device (IP or PPP Connection):
servicetype = ''
controlURL = ''
eventSubURL = ''
SCPDURL = ''
WAN IPv6 Firewall Control :
servicetype = ''
controlURL = ''
eventSubURL = ''
SCPDURL = ''
urls->ipcondescURL='http://172.17.187.253:2869/upnphost/udhisapi.dll?content=uuid:d67ef6ef-0a3f-45ad-b19e-231890e344d0' 98 n1=172
urls->controlURL='http://172.17.187.253:2869/upnphost/udhisapi.dll?control=uuid:3e758b2e-634a-4cca-afd3-529b9565046c+urn:upnp-org:serviceId:WANIPConn1' 132 n2=206
urls->controlURL_CIF='http://172.17.187.253:2869/upnphost/udhisapi.dll?control=uuid:66e16981-907a-44d7-b2af-dc2c1a4881ca+urn:upnp-org:serviceId:WANCommonIFC1' 135 n3=209
urls->controlURL_6FC='http://172.17.187.253:2869/' 27 n4=100
SOAP request : POST /upnphost/udhisapi.dll?control=uuid:3e758b2e-634a-4cca-afd3-529b9565046c+urn:upnp-org:serviceId:WANIPConn1 HTTP/1.1 - Host: 172.17.187.253:2869
SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#GetStatusInfo" - Content-Length: 271
Headers :
POST /upnphost/udhisapi.dll?control=uuid:3e758b2e-634a-4cca-afd3-529b9565046c+urn:upnp-org:serviceId:WANIPConn1 HTTP/1.1
Host: 172.17.187.253:2869
User-Agent: OS/version, UPnP/1.0, MiniUPnPc/1.4
Content-Length: 271
Content-Type: text/xml
SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#GetStatusInfo"
Connection: Close
Cache-Control: no-cache
Pragma: no-cache

Body :
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetStatusInfo xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1"></u:GetStatusInfo></s:Body></s:Envelope>

header='Content-Length', value='650'
Content-Length: 650
header='Content-Type', value='text/xml; charset="utf-8"'
header='Server', value='Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0 Microsoft-HTTPAPI/1.0'
header='Date', value='Thu, 30 Jun 2011 01:11:04 GMT'
header='Connection', value='close'
End of HTTP content
SOAP Response :
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:GetStatusInfoResponse xmlns:m="urn:schemas-upnp-org:service:WANIPConnection:1"><NewConnectionStatus xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">Unconfigured</NewConnectionStatus><NewLastConnectionError xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">ERROR_NONE</NewLastConnectionError><NewUptime xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="ui4">0</NewUptime></m:GetStatusInfoResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

UPNPIGD_IsConnected(http://172.17.187.253:2869/upnphost/udhisapi.dll?control=uuid:3e758b2e-634a-4cca-afd3-529b9565046c+urn:upnp-org:serviceId:WANIPConn1) = 0
SOAP request : POST /upnphost/udhisapi.dll?control=uuid:3e758b2e-634a-4cca-afd3-529b9565046c+urn:upnp-org:serviceId:WANIPConn1 HTTP/1.1 - Host: 172.17.187.253:2869
SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#GetStatusInfo" - Content-Length: 271
Headers :
POST /upnphost/udhisapi.dll?control=uuid:3e758b2e-634a-4cca-afd3-529b9565046c+urn:upnp-org:serviceId:WANIPConn1 HTTP/1.1
Host: 172.17.187.253:2869
User-Agent: OS/version, UPnP/1.0, MiniUPnPc/1.4
Content-Length: 271
Content-Type: text/xml
SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#GetStatusInfo"
Connection: Close
Cache-Control: no-cache
Pragma: no-cache

Body :
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetStatusInfo xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1"></u:GetStatusInfo></s:Body></s:Envelope>

header='Content-Length', value='650'
Content-Length: 650
header='Content-Type', value='text/xml; charset="utf-8"'
header='Server', value='Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0 Microsoft-HTTPAPI/1.0'
header='Date', value='Thu, 30 Jun 2011 01:11:22 GMT'
header='Connection', value='close'
End of HTTP content
SOAP Response :
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:GetStatusInfoResponse xmlns:m="urn:schemas-upnp-org:service:WANIPConnection:1"><NewConnectionStatus xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">Unconfigured</NewConnectionStatus><NewLastConnectionError xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">ERROR_NONE</NewLastConnectionError><NewUptime xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="ui4">0</NewUptime></m:GetStatusInfoResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

parsed url : hostname='172.17.187.253' port=2869 path='/upnphost/udhisapi.dll?content=uuid:387f0cfe-4e39-4105-82c8-8923b9c6aa33'
header='Content-Length', value='3615'
Content-Length: 3615
header='Content-Type', value='text/xml'
header='Server', value='Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0 Microsoft-HTTPAPI/1.0'
header='Date', value='Thu, 30 Jun 2011 01:11:52 GMT'
header='Connection', value='close'
End of HTTP content
The thread 'Win32 Thread' (0xc2a0) has exited with code 0 (0x0).
urlbase = ''
WAN Device (Common interface config) :
serviceType = 'urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1'
controlURL = '/upnphost/udhisapi.dll?control=uuid:66e16981-907a-44d7-b2af-dc2c1a4881ca+urn:upnp-org:serviceId:WANCommonIFC1'
eventSubURL = '/upnphost/udhisapi.dll?event=uuid:66e16981-907a-44d7-b2af-dc2c1a4881ca+urn:upnp-org:serviceId:WANCommonIFC1'
SCPDURL = '/upnphost/udhisapi.dll?content=uuid:391847dc-63cd-460d-a81f-edf12348e09b'
primary WAN Connection Device (IP or PPP Connection):
servicetype = 'urn:schemas-upnp-org:service:WANIPConnection:1'
controlURL = '/upnphost/udhisapi.dll?control=uuid:3e758b2e-634a-4cca-afd3-529b9565046c+urn:upnp-org:serviceId:WANIPConn1'
eventSubURL = '/upnphost/udhisapi.dll?event=uuid:3e758b2e-634a-4cca-afd3-529b9565046c+urn:upnp-org:serviceId:WANIPConn1'
SCPDURL = '/upnphost/udhisapi.dll?content=uuid:d67ef6ef-0a3f-45ad-b19e-231890e344d0'
secondary WAN Connection Device (IP or PPP Connection):
servicetype = ''
controlURL = ''
eventSubURL = ''
SCPDURL = ''
WAN IPv6 Firewall Control :
servicetype = ''
controlURL = ''
eventSubURL = ''
SCPDURL = ''
urls->ipcondescURL='http://172.17.187.253:2869/upnphost/udhisapi.dll?content=uuid:d67ef6ef-0a3f-45ad-b19e-231890e344d0' 98 n1=172
The thread 'Win32 Thread' (0xb938) has exited with code 0 (0x0).
urls->controlURL='http://172.17.187.253:2869/upnphost/udhisapi.dll?control=uuid:3e758b2e-634a-4cca-afd3-529b9565046c+urn:upnp-org:serviceId:WANIPConn1' 132 n2=206
urls->controlURL_CIF='http://172.17.187.253:2869/upnphost/udhisapi.dll?control=uuid:66e16981-907a-44d7-b2af-dc2c1a4881ca+urn:upnp-org:serviceId:WANCommonIFC1' 135 n3=209
urls->controlURL_6FC='http://172.17.187.253:2869/' 27 n4=100
The thread 'Win32 Thread' (0xc310) has exited with code 0 (0x0).
SOAP request : POST /upnphost/udhisapi.dll?control=uuid:3e758b2e-634a-4cca-afd3-529b9565046c+urn:upnp-org:serviceId:WANIPConn1 HTTP/1.1 - Host: 172.17.187.253:2869
SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#GetStatusInfo" - Content-Length: 271
Headers :
POST /upnphost/udhisapi.dll?control=uuid:3e758b2e-634a-4cca-afd3-529b9565046c+urn:upnp-org:serviceId:WANIPConn1 HTTP/1.1
Host: 172.17.187.253:2869
User-Agent: OS/version, UPnP/1.0, MiniUPnPc/1.4
Content-Length: 271
Content-Type: text/xml
SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#GetStatusInfo"
Connection: Close
Cache-Control: no-cache
Pragma: no-cache

Body :
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetStatusInfo xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1"></u:GetStatusInfo></s:Body></s:Envelope>

header='Content-Length', value='650'
Content-Length: 650
header='Content-Type', value='text/xml; charset="utf-8"'
header='Server', value='Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0 Microsoft-HTTPAPI/1.0'
header='Date', value='Thu, 30 Jun 2011 01:12:22 GMT'
header='Connection', value='close'
End of HTTP content
SOAP Response :
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:GetStatusInfoResponse xmlns:m="urn:schemas-upnp-org:service:WANIPConnection:1"><NewConnectionStatus xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">Unconfigured</NewConnectionStatus><NewLastConnectionError xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">ERROR_NONE</NewLastConnectionError><NewUptime xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="ui4">0</NewUptime></m:GetStatusInfoResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

UPNPIGD_IsConnected(http://172.17.187.253:2869/upnphost/udhisapi.dll?control=uuid:3e758b2e-634a-4cca-afd3-529b9565046c+urn:upnp-org:serviceId:WANIPConn1) = 0
The thread 'Win32 Thread' (0xba94) has exited with code 0 (0x0).
SOAP request : POST /upnphost/udhisapi.dll?control=uuid:3e758b2e-634a-4cca-afd3-529b9565046c+urn:upnp-org:serviceId:WANIPConn1 HTTP/1.1 - Host: 172.17.187.253:2869
SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#GetConnectionTypeInfo" - Content-Length: 287
Headers :
POST /upnphost/udhisapi.dll?control=uuid:3e758b2e-634a-4cca-afd3-529b9565046c+urn:upnp-org:serviceId:WANIPConn1 HTTP/1.1
Host: 172.17.187.253:2869
User-Agent: OS/version, UPnP/1.0, MiniUPnPc/1.4
Content-Length: 287
Content-Type: text/xml
SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#GetConnectionTypeInfo"
Connection: Close
Cache-Control: no-cache
Pragma: no-cache

Body :
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetConnectionTypeInfo xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1"></u:GetConnectionTypeInfo></s:Body></s:Envelope>

header='Content-Length', value='583'
Content-Length: 583
header='Content-Type', value='text/xml; charset="utf-8"'
header='Server', value='Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0 Microsoft-HTTPAPI/1.0'
header='Date', value='Thu, 30 Jun 2011 01:16:10 GMT'
header='Connection', value='close'
End of HTTP content
SOAP Response :
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:GetConnectionTypeInfoResponse xmlns:m="urn:schemas-upnp-org:service:WANIPConnection:1"><NewConnectionType xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">IP_Routed</NewConnectionType><NewPossibleConnectionTypes xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">IP_Routed</NewPossibleConnectionTypes></m:GetConnectionTypeInfoResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

Connection Type : IP_Routed
SOAP request : POST /upnphost/udhisapi.dll?control=uuid:3e758b2e-634a-4cca-afd3-529b9565046c+urn:upnp-org:serviceId:WANIPConn1 HTTP/1.1 - Host: 172.17.187.253:2869
SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#GetStatusInfo" - Content-Length: 271
Headers :
POST /upnphost/udhisapi.dll?control=uuid:3e758b2e-634a-4cca-afd3-529b9565046c+urn:upnp-org:serviceId:WANIPConn1 HTTP/1.1
Host: 172.17.187.253:2869
User-Agent: OS/version, UPnP/1.0, MiniUPnPc/1.4
Content-Length: 271
Content-Type: text/xml
SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#GetStatusInfo"
Connection: Close
Cache-Control: no-cache
Pragma: no-cache

Body :
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetStatusInfo xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1"></u:GetStatusInfo></s:Body></s:Envelope>

header='Content-Length', value='650'
Content-Length: 650
header='Content-Type', value='text/xml; charset="utf-8"'
header='Server', value='Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0 Microsoft-HTTPAPI/1.0'
header='Date', value='Thu, 30 Jun 2011 01:16:10 GMT'
header='Connection', value='close'
End of HTTP content
SOAP Response :
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:GetStatusInfoResponse xmlns:m="urn:schemas-upnp-org:service:WANIPConnection:1"><NewConnectionStatus xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">Unconfigured</NewConnectionStatus><NewLastConnectionError xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">ERROR_NONE</NewLastConnectionError><NewUptime xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="ui4">0</NewUptime></m:GetStatusInfoResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

Status : Unconfigured, uptime=0s, LastConnectionError : ERROR_NONE
Time started : Wed Jun 29 20:15:43 2011
SOAP request : POST /upnphost/udhisapi.dll?control=uuid:66e16981-907a-44d7-b2af-dc2c1a4881ca+urn:upnp-org:serviceId:WANCommonIFC1 HTTP/1.1 - Host: 172.17.187.253:2869
SOAPAction: "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1#GetCommonLinkProperties" - Content-Length: 300
Headers :
POST /upnphost/udhisapi.dll?control=uuid:66e16981-907a-44d7-b2af-dc2c1a4881ca+urn:upnp-org:serviceId:WANCommonIFC1 HTTP/1.1
Host: 172.17.187.253:2869
User-Agent: OS/version, UPnP/1.0, MiniUPnPc/1.4
Content-Length: 300
Content-Type: text/xml
SOAPAction: "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1#GetCommonLinkProperties"
Connection: Close
Cache-Control: no-cache
Pragma: no-cache

Body :
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetCommonLinkProperties xmlns:u="urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1"></u:GetCommonLinkProperties></s:Body></s:Envelope>

header='Content-Length', value='836'
Content-Length: 836
header='Content-Type', value='text/xml; charset="utf-8"'
header='Server', value='Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0 Microsoft-HTTPAPI/1.0'
header='Date', value='Thu, 30 Jun 2011 01:16:10 GMT'
header='Connection', value='close'
End of HTTP content
SOAP Response :
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:GetCommonLinkPropertiesResponse xmlns:m="urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1"><NewWANAccessType xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">Ethernet</NewWANAccessType><NewLayer1UpstreamMaxBitRate xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="ui4">1000000000</NewLayer1UpstreamMaxBitRate><NewLayer1DownstreamMaxBitRate xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="ui4">1000000000</NewLayer1DownstreamMaxBitRate><NewPhysicalLinkStatus xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">Up</NewPhysicalLinkStatus></m:GetCommonLinkPropertiesResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

MaxBitRateDown : 1000000000 bps (1000.0 Mbps) MaxBitRateUp 1000000000 bps (1000.0 Mbps)
SOAP request : POST /upnphost/udhisapi.dll?control=uuid:3e758b2e-634a-4cca-afd3-529b9565046c+urn:upnp-org:serviceId:WANIPConn1 HTTP/1.1 - Host: 172.17.187.253:2869
SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#GetExternalIPAddress" - Content-Length: 285
Headers :
POST /upnphost/udhisapi.dll?control=uuid:3e758b2e-634a-4cca-afd3-529b9565046c+urn:upnp-org:serviceId:WANIPConn1 HTTP/1.1
Host: 172.17.187.253:2869
User-Agent: OS/version, UPnP/1.0, MiniUPnPc/1.4
Content-Length: 285
Content-Type: text/xml
SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#GetExternalIPAddress"
Connection: Close
Cache-Control: no-cache
Pragma: no-cache

Body :
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetExternalIPAddress xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1"></u:GetExternalIPAddress></s:Body></s:Envelope>

header='Content-Length', value='450'
Content-Length: 450
header='Content-Type', value='text/xml; charset="utf-8"'
header='Server', value='Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0 Microsoft-HTTPAPI/1.0'
header='Date', value='Thu, 30 Jun 2011 01:16:10 GMT'
header='Connection', value='close'
End of HTTP content
SOAP Response :
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:GetExternalIPAddressResponse xmlns:m="urn:schemas-upnp-org:service:WANIPConnection:1"><NewExternalIPAddress xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string"></NewExternalIPAddress></m:GetExternalIPAddressResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

GetExternalIPAddress() returned -1
GetExternalIPAddress failed.
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1474

PostPosted: Thu Jun 30, 2011 8:34 pm    Post subject: Reply with quote

Indeed there is no IP address in the response to GetExternalIPAddress.
Code:
SOAP Response :
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:GetExternalIPAddressResponse xmlns:m="urn:schemas-upnp-org:service:WANIPConnection:1">
<NewExternalIPAddress xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string"></NewExternalIPAddress></m:GetExternalIPAddressResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

there should be a problem in the configuration of the router.
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc 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.