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 

wrt54gc no clients seem to work.

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



Joined: 10 May 2008
Posts: 6

PostPosted: Sat May 10, 2008 3:09 am    Post subject: wrt54gc no clients seem to work. Reply with quote

as far as i can tell no client seems to work with this router, but XP does show non standard mappings enabled in it's list (i just cant change or add ports). both XP and utorrent dont work, azureus on linux worked once (fluke?) and then never again. Of course upnpc also doesnt work.
Back to top
View user's profile Send private message
Weedy



Joined: 10 May 2008
Posts: 6

PostPosted: Sat May 10, 2008 3:10 am    Post subject: Reply with quote

Here is the output (bloody 1 post restriction).

Code:
>upnpc.exe -s
upnpc : miniupnp test client. (c) 2006-2007 Thomas Bernard
Go to hxxp://miniupnp.free.fr/ or hxxp://miniupnp.tuxfamily.org/
for more information.
List of UPNP devices found on the network :
 desc: http://192.168.1.1:80/upnp/service/descrip.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found valid IGD : hxxp://192.168.1.1:80/upnp/service/WANIPConnection
Local LAN ip address : 127.0.0.1
GetConnectionTypeInfo failed.
Status : , uptime=69
MaxBitRateDown : 0 bps   MaxBitRateUp 0 bps
GetExternalIPAddress() returned -1
GetExternalIPAddress failed.
Bytes:   Sent:        0 Recv:        0
Packets: Sent:        0 Recv:        0

>upnpc.exe -a 192.168.1.101 56086 56086 TCP
upnpc : miniupnp test client. (c) 2006-2007 Thomas Bernard
Go to hxxp://miniupnp.free.fr/ or hxxp://miniupnp.tuxfamily.org/
for more information.
List of UPNP devices found on the network :
 desc: hxxp://192.168.1.1:80/upnp/service/descrip.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found valid IGD : hxxp://192.168.1.1:80/upnp/service/WANIPConnection
Local LAN ip address : 127.0.0.1
GetExternalIPAddress failed.
GetSpecificPortMappingEntry() failed with code -1
GetSpecificPortMappingEntry failed.
external :56086 is redirected to internal :
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Sun May 11, 2008 5:45 pm    Post subject: Reply with quote

if no client work, thats unlikely that we could do something but let's try anyway Sad

could you download and send me the file : http://192.168.1.1:80/upnp/service/descrip.xml

and what is the version of miniupnpc you used ?

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



Joined: 10 May 2008
Posts: 6

PostPosted: Mon May 12, 2008 7:47 pm    Post subject: Reply with quote

http://weedy.ca/descrip.xml

the windows version from your website.
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Wed May 14, 2008 8:26 pm    Post subject: Reply with quote

Weedy wrote:
the windows version from your website.

I compiled a newer Windows Binary.
I dont think it will work better, but it will give better error messages Smile
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
Weedy



Joined: 10 May 2008
Posts: 6

PostPosted: Thu May 15, 2008 10:43 pm    Post subject: Reply with quote

Code:
>upnpc.exe -s
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/upnp/service/descrip.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found valid IGD : http://192.168.1.1:80/upnp/service/WANIPConnection
Local LAN ip address : 127.0.0.1
Connection Type : IP_Routed
Status : Connected, uptime=18084, LastConnectionError : ERROR_NONE
MaxBitRateDown : 8000000 bps   MaxBitRateUp 8000000 bps
ExternalIPAddress = 99.225.250.175
Bytes:   Sent: 3792822972       Recv: 1089245650
Packets: Sent:  8664380 Recv:  9799044

>upnpc.exe -a 192.168.1.101 56086 56086 TCP
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/upnp/service/descrip.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found valid IGD : http://192.168.1.1:80/upnp/service/WANIPConnection
Local LAN ip address : 127.0.0.1
ExternalIPAddress = 99.225.250.175
GetSpecificPortMappingEntry() failed with code 714
GetSpecificPortMappingEntry failed.
external 99.225.250.175:56086 is redirected to internal :
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Fri May 16, 2008 12:22 am    Post subject: Reply with quote

well in fact it does work better!
statistics are retrieved and GetExternalIPaddress works.
but still no redirection Sad
_________________
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: Fri May 16, 2008 12:24 am    Post subject: Reply with quote

from the output, it seems like AddPortMapping() did work and that only UPNP_GetSpecificPortMappingEntry() is failing.
Does upnpc -l gives something ? (after trying to add a new redirection)
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
Weedy



Joined: 10 May 2008
Posts: 6

PostPosted: Sat May 17, 2008 2:46 pm    Post subject: Reply with quote

Code:
>upnpc.exe -a 192.168.1.101 56086 56086 TCP
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/upnp/service/descrip.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found valid IGD : http://192.168.1.1:80/upnp/service/WANIPConnection
Local LAN ip address : 127.0.0.1
ExternalIPAddress = 72.136.164.125
AddPortMapping(56086, 56086, 192.168.1.101) failed with code 501
GetSpecificPortMappingEntry() failed with code 714
GetSpecificPortMappingEntry failed.
external 72.136.164.125:56086 is redirected to internal :

>upnpc.exe -l
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/upnp/service/descrip.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found valid IGD : http://192.168.1.1:80/upnp/service/WANIPConnection
Local LAN ip address : 127.0.0.1
Connection Type : IP_Routed
Status : Connected, uptime=112062, LastConnectionError : ERROR_NONE
MaxBitRateDown : 8000000 bps   MaxBitRateUp 8000000 bps
ExternalIPAddress = 72.136.164.125
 0 UDP    53->192.168.1.1:53    'DNS' ''
 1 TCP    79->192.168.1.1:79    'Finger' ''
 2 TCP    20->192.168.1.1:20    'FTP' ''
 3 TCP    21->192.168.1.1:21    'FTP' ''
 4 TCP   110->192.168.1.1:110   'POP3' ''
 5 TCP    25->192.168.1.1:25    'SMTP' ''
 6 UDP   161->192.168.1.1:161   'snmp' ''
 7 TCP    23->192.168.1.1:23    'telnet' ''
 8 UDP    69->192.168.1.1:69    'tftp' ''
 9 UDP    80->192.168.1.102:80    'web' ''
10 TCP    80->192.168.1.102:80    'web' ''
11 TCP  4413->192.168.1.102:4413  'myweb' ''
12 TCP  8080->192.168.1.103:8080  'testweb' ''
GetGenericPortMappingEntry() returned 713 (SpecifiedArrayIndexInvalid)
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Sat May 17, 2008 11:32 pm    Post subject: Reply with quote

this time AddPortMapping failed with code 501 which is just"action failed". Nothing very precise from the router Sad
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
Weedy



Joined: 10 May 2008
Posts: 6

PostPosted: Wed May 21, 2008 1:21 pm    Post subject: Reply with quote

guess im stuck then?
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Wed May 21, 2008 4:39 pm    Post subject: Reply with quote

Weedy wrote:
guess im stuck then?

I think so Sad
Miniupnpc communicates correctly with your router but the router doesn't want to add the port mapping... appart from reporting the bug to the vendor, I think you can't do anything
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
skrat



Joined: 09 Feb 2010
Posts: 1

PostPosted: Tue Feb 09, 2010 3:58 pm    Post subject: Reply with quote

Hi guys, I'm getting exactly same errors:

Code:

$ ./upnpc-static -a 10.0.0.193 8000 8000 TCP
upnpc : miniupnpc library test client. (c) 2006-2009 Thomas Bernard
List of UPNP devices found on the network :
 desc: http://10.0.0.138:80/IGD.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found valid IGD : http://10.0.0.138/upnp/control/wanpppcpppoa
Local LAN ip address : 10.0.0.193
ExternalIPAddress = 194.109.230.187
AddPortMapping(8000, 8000, 10.0.0.193) failed with code 501 (Action Failed)
GetSpecificPortMappingEntry() failed with code 714 (NoSuchEntryInArray)


...it is creepy Apple's Time Capsule, but what bugs me is that Skype can successfully open a port, not to mention that it's not even running:

Code:

$ ./upnpc-static -l | grep 193
Local LAN ip address : 10.0.0.193
55 UDP 50361->10.0.0.193:50361 'Skype UDP at 10.0.0.193:50361 (1128)' ''


any ideas how to hack this?
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Tue Feb 09, 2010 5:31 pm    Post subject: Reply with quote

which miniupnpc version ?

that kind of bug is hard to analyse... maybe you can capture the Addportmapping SOAP communication with Wireshark or tcpdump and compare with the same done by skype.
_________________
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: Mon Jan 03, 2011 4:25 pm    Post subject: Reply with quote

you should also check if it is working better with miniupnpc-1.5
_________________
Main miniUPnP author.
https://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.