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 

MiniUPnP doesn't recognize Belkin router F5D8236-4 v2

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



Joined: 14 Apr 2011
Posts: 2

PostPosted: Thu Apr 14, 2011 1:08 am    Post subject: MiniUPnP doesn't recognize Belkin router F5D8236-4 v2 Reply with quote

(see below)

Last edited by hughmann on Thu Apr 14, 2011 1:09 am; edited 1 time in total
Back to top
View user's profile Send private message
hughmann



Joined: 14 Apr 2011
Posts: 2

PostPosted: Thu Apr 14, 2011 1:08 am    Post subject: Reply with quote

UPNP_GetValidIGD() returns >1, breaks Transmission BT client. Please fix Smile

Code:
# ./upnpc-static.exe -l
upnpc : miniupnpc library test client. (c) 2006-2011 Thomas Bernard
Go to http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
for more information.
ifIndex=10 nextHop=102a8c0
        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]:          <client1IP>
        Subnet Mask[1]:         255.255.255.0
        BroadCast[1]:           1.0.0.0 (1)
        Reassembly size[1]:     65535
        Type and State[1]:
M-SEARCH Reply:
ST: urn:schemas-upnp-org:service:WANIPConnection:1
Location: http://<routerIP>:80/igd.xml
List of UPNP devices found on the network :
 desc: http://<routerIP>:80/igd.xml
 st: urn:schemas-upnp-org:service:WANIPConnection:1

address miniwget : <client1IP>
header='Server', value='Apache/0.6.5'
header='Pragma', value='no-cache'
header='Date', value='Sun, 01 Jan 2001 00:00:00 GMT'
header='Expires', value='Sun, 01 Jan 2001 00:00:00 GMT'
header='Cache-Control', value='max-age=0, must-revalidate'
header='Connection', value='close'
header='Content-type', value='text/xml'
urlbase = ''
WAN Device (Common interface config) :
 serviceType = 'urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1'
 controlURL = '/upnp/control?WANCommonInterfaceConfig'
 eventSubURL = '/upnp/event?WANCommonInterfaceConfig'
 SCPDURL = '/igd_wcic.xml'
primary WAN Connection Device (IP or PPP Connection):
 servicetype = 'urn:schemas-upnp-org:service:WANPPPConnection:1'
 controlURL = '/upnp/control?WANPPPConnection'
 eventSubURL = '/upnp/event?WANPPPConnection'
 SCPDURL = '/igd_wpc.xml'
secondary WAN Connection Device (IP or PPP Connection):
 servicetype = 'urn:schemas-upnp-org:service:WANIPConnection:1'
 controlURL = '/upnp/control?WANIPConnection'
 eventSubURL = '/upnp/event?WANIPConnection'
 SCPDURL = '/igd_wic.xml'
urls->ipcondescURL='http://<routerIP>:80/igd_wpc.xml' 33 n1=43
urls->controlURL='http://<routerIP>:80/upnp/control?WANPPPConnection' 51 n2=61
urls->controlURL_CIF='http://<routerIP>:80/upnp/control?WANCommonInterfaceConfig' 59 n3=69
SOAP request : POST /upnp/control?WANPPPConnection HTTP/1.1 - Host: <routerIP>
SOAPAction: "urn:schemas-upnp-org:service:WANPPPConnection:1#GetStatusInfo" - Content-Length: 272
header='Content-Type', value='text/xml'
header='Content-Length', value='432'
Content-Length: 432
header='Date', value='Thu, 14 Apr 2011 00:06:57 GMT'
header='EXT', value=''
header='Server', value='F5D8236-4-v2/1.0 UPnP/1.0'
End of HTTP content
SOAP Response :
<?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:GetStatusInfoResponse xmlns:u="urn:schemas-upnp-org:service:WANPPPConnection:1"><NewConnectionStatus>Disconnected</NewConnectionStatus><NewLastConnectionError>ERROR_NONE</NewLastConnectionError><NewUptime>3496996</NewUptime></u:GetStatusInfoResponse></s:Body></s:Envelope>

UPNPIGD_IsConnected(http://<routerIP>:80/upnp/control?WANPPPConnection) = 0
SOAP request : POST /upnp/control?WANPPPConnection HTTP/1.1 - Host: <routerIP>
SOAPAction: "urn:schemas-upnp-org:service:WANPPPConnection:1#GetStatusInfo" - Content-Length: 272
header='Content-Type', value='text/xml'
header='Content-Length', value='432'
Content-Length: 432
header='Date', value='Thu, 14 Apr 2011 00:06:57 GMT'
header='EXT', value=''
header='Server', value='F5D8236-4-v2/1.0 UPnP/1.0'
End of HTTP content
SOAP Response :
<?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:GetStatusInfoResponse xmlns:u="urn:schemas-upnp-org:service:WANPPPConnection:1"><NewConnectionStatus>Disconnected</NewConnectionStatus><NewLastConnectionError>ERROR_NONE</NewLastConnectionError><NewUptime>3496996</NewUptime></u:GetStatusInfoResponse></s:Body></s:Envelope>

We tried urn:schemas-upnp-org:service:WANPPPConnection:1, now we try urn:schemas-upnp-org:service:WANIPConnection:1 !
urls->ipcondescURL='http://<routerIP>:80/igd_wic.xml' 33 n1=43
urls->controlURL='http://<routerIP>:80/upnp/control?WANIPConnection' 50 n2=60
urls->controlURL_CIF='http://<routerIP>:80/upnp/control?WANCommonInterfaceConfig' 59 n3=69
SOAP request : POST /upnp/control?WANIPConnection HTTP/1.1 - Host: <routerIP>
SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#GetStatusInfo" - Content-Length: 271
header='Content-Type', value='text/xml'
header='Content-Length', value='431'
Content-Length: 431
header='Date', value='Thu, 14 Apr 2011 00:06:57 GMT'
header='EXT', value=''
header='Server', value='F5D8236-4-v2/1.0 UPnP/1.0'
End of HTTP content
SOAP Response :
<?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:GetStatusInfoResponse xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1"><NewConnectionStatus>Disconnected</NewConnectionStatus><NewLastConnectionError>ERROR_NONE</NewLastConnectionError><NewUptime>3496996</NewUptime></u:GetStatusInfoResponse></s:Body></s:Envelope>

UPNPIGD_IsConnected(http://<routerIP>:80/upnp/control?WANIPConnection) = 0
SOAP request : POST /upnp/control?WANIPConnection HTTP/1.1 - Host: <routerIP>
SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#GetStatusInfo" - Content-Length: 271
header='Content-Type', value='text/xml'
header='Content-Length', value='431'
Content-Length: 431
header='Date', value='Thu, 14 Apr 2011 00:06:57 GMT'
header='EXT', value=''
header='Server', value='F5D8236-4-v2/1.0 UPnP/1.0'
End of HTTP content
SOAP Response :
<?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:GetStatusInfoResponse xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1"><NewConnectionStatus>Disconnected</NewConnectionStatus><NewLastConnectionError>ERROR_NONE</NewLastConnectionError><NewUptime>3496996</NewUptime></u:GetStatusInfoResponse></s:Body></s:Envelope>

address miniwget : <client1IP>
header='Server', value='Apache/0.6.5'
header='Pragma', value='no-cache'
header='Date', value='Sun, 01 Jan 2001 00:00:00 GMT'
header='Expires', value='Sun, 01 Jan 2001 00:00:00 GMT'
header='Cache-Control', value='max-age=0, must-revalidate'
header='Connection', value='close'
header='Content-type', value='text/xml'
urlbase = ''
WAN Device (Common interface config) :
 serviceType = 'urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1'
 controlURL = '/upnp/control?WANCommonInterfaceConfig'
 eventSubURL = '/upnp/event?WANCommonInterfaceConfig'
 SCPDURL = '/igd_wcic.xml'
primary WAN Connection Device (IP or PPP Connection):
 servicetype = 'urn:schemas-upnp-org:service:WANPPPConnection:1'
 controlURL = '/upnp/control?WANPPPConnection'
 eventSubURL = '/upnp/event?WANPPPConnection'
 SCPDURL = '/igd_wpc.xml'
secondary WAN Connection Device (IP or PPP Connection):
 servicetype = 'urn:schemas-upnp-org:service:WANIPConnection:1'
 controlURL = '/upnp/control?WANIPConnection'
 eventSubURL = '/upnp/event?WANIPConnection'
 SCPDURL = '/igd_wic.xml'
urls->ipcondescURL='http://<routerIP>:80/igd_wpc.xml' 33 n1=43
urls->controlURL='http://<routerIP>:80/upnp/control?WANPPPConnection' 51 n2=61
urls->controlURL_CIF='http://<routerIP>:80/upnp/control?WANCommonInterfaceConfig' 59 n3=69
SOAP request : POST /upnp/control?WANPPPConnection HTTP/1.1 - Host: <routerIP>
SOAPAction: "urn:schemas-upnp-org:service:WANPPPConnection:1#GetStatusInfo" - Content-Length: 272
header='Content-Type', value='text/xml'
header='Content-Length', value='432'
Content-Length: 432
header='Date', value='Thu, 14 Apr 2011 00:06:57 GMT'
header='EXT', value=''
header='Server', value='F5D8236-4-v2/1.0 UPnP/1.0'
End of HTTP content
SOAP Response :
<?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:GetStatusInfoResponse xmlns:u="urn:schemas-upnp-org:service:WANPPPConnection:1"><NewConnectionStatus>Disconnected</NewConnectionStatus><NewLastConnectionError>ERROR_NONE</NewLastConnectionError><NewUptime>3496996</NewUptime></u:GetStatusInfoResponse></s:Body></s:Envelope>

UPNPIGD_IsConnected(http://<routerIP>:80/upnp/control?WANPPPConnection) = 0
Found a (not connected?) IGD : http://<routerIP>:80/upnp/control?WANPPPConnection
Trying to continue anyway
Local LAN ip address : <client1IP>
SOAP request : POST /upnp/control?WANPPPConnection HTTP/1.1 - Host: <routerIP>
SOAPAction: "urn:schemas-upnp-org:service:WANPPPConnection:1#GetConnectionTypeInfo" - Content-Length: 288
header='Content-Type', value='text/xml'
header='Content-Length', value='431'
Content-Length: 431
header='Date', value='Thu, 14 Apr 2011 00:06:57 GMT'
header='EXT', value=''
header='Server', value='F5D8236-4-v2/1.0 UPnP/1.0'
End of HTTP content
SOAP Response :
<?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:GetConnectionTypeInfoResponse xmlns:u="urn:schemas-upnp-org:service:WANPPPConnection:1"><NewConnectionType>IP_Routed</NewConnectionType><NewPossibleConnectionTypes>Unconfigured,IP_Routed</NewPossibleConnectionTypes></u:GetConnectionTypeInfoResponse></s:Body></s:Envelope>

Connection Type : IP_Routed
SOAP request : POST /upnp/control?WANPPPConnection HTTP/1.1 - Host: <routerIP>
SOAPAction: "urn:schemas-upnp-org:service:WANPPPConnection:1#GetStatusInfo" - Content-Length: 272
header='Content-Type', value='text/xml'
header='Content-Length', value='432'
Content-Length: 432
header='Date', value='Thu, 14 Apr 2011 00:06:57 GMT'
header='EXT', value=''
header='Server', value='F5D8236-4-v2/1.0 UPnP/1.0'
End of HTTP content
SOAP Response :
<?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:GetStatusInfoResponse xmlns:u="urn:schemas-upnp-org:service:WANPPPConnection:1"><NewConnectionStatus>Disconnected</NewConnectionStatus><NewLastConnectionError>ERROR_NONE</NewLastConnectionError><NewUptime>3496996</NewUptime></u:GetStatusInfoResponse></s:Body></s:Envelope>

Status : Disconnected, uptime=3496996s, LastConnectionError : ERROR_NONE
  Time started : Fri Mar 04 07:43:31 2011
SOAP request : POST /upnp/control?WANCommonInterfaceConfig HTTP/1.1 - Host: <routerIP>
SOAPAction: "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1#GetCommonLinkProperties" - Content-Length: 300
header='Content-Type', value='text/xml'
header='Content-Length', value='550'
Content-Length: 550
header='Date', value='Thu, 14 Apr 2011 00:06:57 GMT'
header='EXT', value=''
header='Server', value='F5D8236-4-v2/1.0 UPnP/1.0'
End of HTTP content
SOAP Response :
<?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:GetCommonLinkPropertiesResponse xmlns:u="urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1"><NewWANAccessType>Ethernet</NewWANAccessType><NewLayer1UpstreamMaxBitRate>100000000</NewLayer1UpstreamMaxBitRate><NewLayer1DownstreamMaxBitRate>100000000</NewLayer1DownstreamMaxBitRate><NewPhysicalLinkStatus>Up</NewPhysicalLinkStatus></u:GetCommonLinkPropertiesResponse></s:Body></s:Envelope>

MaxBitRateDown : 100000000 bps   MaxBitRateUp 100000000 bps
SOAP request : POST /upnp/control?WANPPPConnection HTTP/1.1 - Host: <routerIP>
SOAPAction: "urn:schemas-upnp-org:service:WANPPPConnection:1#GetExternalIPAddress" - Content-Length: 286
header='Content-Type', value='text/xml'
header='Content-Length', value='360'
Content-Length: 360
header='Date', value='Thu, 14 Apr 2011 00:06:57 GMT'
header='EXT', value=''
header='Server', value='F5D8236-4-v2/1.0 UPnP/1.0'
End of HTTP content
SOAP Response :
<?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:GetExternalIPAddressResponse xmlns:u="urn:schemas-upnp-org:service:WANPPPConnection:1"><NewExternalIPAddress><externIP></NewExternalIPAddress></u:GetExternalIPAddressResponse></s:Body></s:Envelope>

ExternalIPAddress = <externIP>
SOAP request : POST /upnp/control?WANPPPConnection HTTP/1.1 - Host: <routerIP>
SOAPAction: "urn:schemas-upnp-org:service:WANPPPConnection:1#GetGenericPortMappingEntry" - Content-Length: 342
header='Content-Type', value='text/xml'
header='Content-Length', value='629'
Content-Length: 629
header='Date', value='Thu, 14 Apr 2011 00:06:57 GMT'
header='EXT', value=''
header='Server', value='F5D8236-4-v2/1.0 UPnP/1.0'
End of HTTP content
SOAP Response :
<?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:GetGenericPortMappingEntryResponse xmlns:u="urn:schemas-upnp-org:service:WANPPPConnection:1"><NewRemoteHost></NewRemoteHost><NewExternalPort>5355</NewExternalPort><NewProtocol>UDP</NewProtocol><NewInternalPort>5353</NewInternalPort><NewInternalClient><client2IP></NewInternalClient><NewEnabled>1</NewEnabled><NewPortMappingDescription>iC5355</NewPortMappingDescription><NewLeaseDuration>0</NewLeaseDuration></u:GetGenericPortMappingEntryResponse></s:Body></s:Envelope>

 0 UDP  5355-><client2IP>:5353  'iC5355' ''
SOAP request : POST /upnp/control?WANPPPConnection HTTP/1.1 - Host: <routerIP>
SOAPAction: "urn:schemas-upnp-org:service:WANPPPConnection:1#GetGenericPortMappingEntry" - Content-Length: 342
header='Content-Type', value='text/xml'
header='Content-Length', value='438'
Content-Length: 438
header='Date', value='Thu, 14 Apr 2011 00:06:57 GMT'
header='EXT', value=''
header='Server', value='F5D8236-4-v2/1.0 UPnP/1.0'
End of HTTP content
SOAP Response :
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>713</errorCode><errorDescription>Specified Array Index Invalid</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>

GetGenericPortMappingEntry() returned 713 (SpecifiedArrayIndexInvalid)
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1525

PostPosted: Fri Apr 15, 2011 2:37 pm    Post subject: Reply with quote

The router has a bug, both the WANPPPConnection and the WANIPConnection report themselves as "Disconnected".
Anyway, MiniUPnPc is still working...
But there is no bug in UPNPIGD_IsConnected()
_________________
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.