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 

Fail to add mapping on thompson speedtouch 780

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



Joined: 27 Apr 2008
Posts: 2

PostPosted: Sun Apr 27, 2008 9:22 pm    Post subject: Fail to add mapping on thompson speedtouch 780 Reply with quote

Hello.

When using the upnpc program it fails to create a mapping for me. But there are no obvoous bugs...
Quote:
]
upnpc : miniupnp test client. (c) 2006-2007 Thomas Bernard
Go to http: miniupnp.free.fr/ or http:xx miniupnp.tuxfamily.org/
for more information.
List of UPNP devices found on the network :
desc: http://192.168.1.254:80/upnp/IGD.xml
st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found valid IGD : http://192.168.1.254:80/upnp/control/igd/wanpppcInternet
Local LAN ip address : 192.168.1.66
ExternalIPAddress = 82.95.xxx.xx
InternalIP:Port = 192.168.1.66:2208
external 82.95.xxx.xx:2208 is redirected to internal 192.168.1.66:2208


most typical:
Quote:

C:\pindakaas\test\upnptest>upnpc -l
upnpc : miniupnp test client. (c) 2006-2007 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.254:80/upnp/IGD.xml
st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found valid IGD : http://192.168.1.254:80/upnp/control/igd/wanpppcInternet
Local LAN ip address : 192.168.1.66
Connection Type : IP_Routed
Status : Connected, uptime=100922
MaxBitRateDown : 2096128 bps MaxBitRateUp 521216 bps
ExternalIPAddress = 82.95.xxx.xx
0 TCP 2208->192.168.1.66:2208 'libminiupnpc' ''
GetGenericPortMappingEntry() returned 713 (SpecifiedArrayIndexInvalid)

SO it seems to be added, and if i ignore the case, the url seems right, but the NATP mapping is not there.

This is the most compatible device i have. windows upnp, ok, pupnplib ok, but miniupnp fails.

some background, i am adding (have aded) miniupnp to this test program:
http://forum.emule-project.net/index.php?showtopic=135058

(miniupno support is in the svn version)


I can provide full logs of other programs that are working, but do you have any hints to start with?


PS forum Url protection on first post sucks! I know,spammers suck more.
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1525

PostPosted: Mon Apr 28, 2008 12:03 am    Post subject: Reply with quote

that is indeed strange because the upnpc -l output is correct.
What is the output of upnpc -l if you add One redirection with windows upnp, one with pupnplib and one with miniupnc ??
Also you can check that the redirection is correctly set in the properties of the IGD device from windows network connections panel.

PS : sorry for the url protection on 1st post... you shouldn't be annoyed by it any more Smile
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
leuk_he



Joined: 27 Apr 2008
Posts: 2

PostPosted: Mon Apr 28, 2008 10:08 pm    Post subject: Reply with quote

Ok, found it.. Very Happy

Too stupid to spend so much time on. It removes the mapping because in my test code accidentally i called the removemapping. Fixed

My mistake...

BTW, sometimes you use "SOAP-ENV" tagging in the xml markup, sometimes just the "s" . Any reason?
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1525

PostPosted: Mon Apr 28, 2008 11:29 pm    Post subject: Reply with quote

leuk_he wrote:
BTW, sometimes you use "SOAP-ENV" tagging in the xml markup, sometimes just the "s" . Any reason?

I started with "SOAP-ENV" everywhere but "s" is shorter so...
_________________
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.