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 

Intermittent discovery failure

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



Joined: 22 Mar 2009
Posts: 3

PostPosted: Sun Mar 22, 2009 5:05 pm    Post subject: Intermittent discovery failure Reply with quote

Hi,

I'm having a problem with UPnPC in the discovery phase.

The way I'm using it is as follows:

1. When my software starts up it uses upnpDiscover() to find available IGDs.
2. If it finds one it creates the port forward rule using UPNP_AddPortMapping()
3. When the software shuts down it "cleans up" by removing the port mapping.


Some of the time it seems to work fine. But, regularly the router stops responding to the discovery signals (using upnpDiscover()).

It stays this way until either I reset the router. Restarting my software doesn't help either. This also happens with another router I tested on.

This sounds like it is a problem with the router, but I just wanted to check that I wasn't doing anything wrong, especially in step 3 (might it be better to just create the mapping and leave it there "forever"?).

Has anyone had any experience of routers stopping responding to the discovery?

Is there anything I can do to fix this?

The first router I tried this on is "Livebox" (Orange) (made by Inventel). Firmware version is "v5.10".


Regards,

John
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1525

PostPosted: Sun Mar 22, 2009 10:09 pm    Post subject: Reply with quote

does discovery work with other software ?
I dont see anything wrong with what you describe...
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
jdmwood



Joined: 22 Mar 2009
Posts: 3

PostPosted: Mon Mar 23, 2009 9:12 am    Post subject: Reply with quote

Good question.

Can you recommend another tool I can use to try this out?

I've been looking for such a thing for a while Smile

John
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1525

PostPosted: Mon Mar 23, 2009 7:59 pm    Post subject: Reply with quote

http://noeld.com/programs.asp?cat=dstools#UPnPTest

You can also use P2P programs such as utorrent.
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
maverick3319



Joined: 30 Mar 2009
Posts: 4

PostPosted: Mon Mar 30, 2009 6:52 am    Post subject: Reply with quote

I THNK THIS IS A GOOD TOPIC FOR ME!
Back to top
View user's profile Send private message
jdmwood



Joined: 22 Mar 2009
Posts: 3

PostPosted: Fri Jun 05, 2009 11:09 am    Post subject: Reply with quote

FYI, I used the test tool and also a bittorrent client.

Both reported the same problem so it looks like an issue with my router.

Thanks,

John
Back to top
View user's profile Send private message
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.