Open GoogleCodeExporter opened 8 years ago
Thanks for sharing that information - please to test the upnpc-static-1.2u.zip
binary as well as the upnp-
static-2008-02-17u.zip binary found at
http://code.google.com/p/tcmportmapper/downloads/list
if both deliver results with the -l option then the bug is within
tcmportmapper, if 1.2 fails the same way port
map fails, please contact Thomas Bernard from
http://miniupnp.free.fr/devicelist.php - he has proven to be very
quick and helpful in fixing issues with certain routers. Best to supply him
with network logs generated with tools
like TCPFlow.
Original comment by dasge...@gmail.com
on 8 Feb 2009 at 6:07
Thanks a lot for the feedback, I've tested both binaries results are below.
This is what I get when ruinning upnpc-static-1.2u with the -l flag:
upnpc : miniupnpc library test client. (c) 2006-2008 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://192.168.1.1:80/devdescr.xml
st: urn:schemas-upnp-org:device:InternetGatewayDevice:1
desc: http://192.168.1.1:80/devdescr.xml
st: urn:schemas-upnp-org:service:WANIPConnection:1
Found a (not connected?) IGD : http://192.168.1.1:80/wpppc_cont
Trying to continue anyway
Local LAN ip address : 192.168.1.35
GetConnectionTypeInfo failed.
Status : , uptime=0, LastConnectionError :
MaxBitRateDown : 0 bps MaxBitRateUp 0 bps
GetExternalIPAddress() returned 401
GetExternalIPAddress failed.
GetGenericPortMappingEntry() returned 401 (Invalid Action)
And with upnp-static-2008-02-17u (I replaced my WAN IP with Xs in the results):
upnpc : miniupnpc library test client. (c) 2006-2008 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://192.168.1.1:80/devdescr.xml
st: urn:schemas-upnp-org:device:InternetGatewayDevice:1
Found valid IGD : http://192.168.1.1:80/wipc_cont
Local LAN ip address : 192.168.1.35
GetConnectionTypeInfo failed.
Status : Connected, uptime=7665
MaxBitRateDown : 0 bps MaxBitRateUp 0 bps
ExternalIPAddress = XX.XXX.XXX.XXX
0 UDP 51286->192.168.1.34:16402 'iC51286' '0.0.0.0'
1 UDP 5060->192.168.1.35:5060 'iC5060' '0.0.0.0'
GetGenericPortMappingEntry() returned 713 (SpecifiedArrayIndexInvalid)
Should I get in touch with Thomas Bernard? upnpc-static-1.2u fails completely,
whereas upnp-static-2008-
02-17u seems to get some results but still returns a couple of errors...
Original comment by nanoph...@gmail.com
on 9 Feb 2009 at 3:57
yes please - the upnpc-static's are direct samplecode compiles of the upnp
library. we gladly put out an update
if fixes are made in the miniupnp library, but fixing stuff there ourselves is
beyond hour scope.
Original comment by dasge...@gmail.com
on 10 Feb 2009 at 9:12
The problem is in igd_desc_parse.c, that has been changed.
It's got this comment in it:
/* TODO : rewrite this code so it correctly handle descriptions with
* both WANIPConnection and/or WANPPPConnection */
You can replace this file with the old version to make it work. I think they
are aware of this limitation, but just
haven't yet got around to fix it.
Original comment by bork...@gmail.com
on 5 Mar 2009 at 4:03
Original issue reported on code.google.com by
nanoph...@gmail.com
on 8 Feb 2009 at 5:22Attachments: