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 

No IPv4 listener when IPv6 is enabled

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



Joined: 27 Feb 2013
Posts: 5
Location: London, UK

PostPosted: Wed Feb 27, 2013 11:49 am    Post subject: No IPv4 listener when IPv6 is enabled Reply with quote

Hi,

I installed and configured MiniUPnPd on Debian 6.06, via the experimental package, and the daemon is running OK.

I have enabled IPv6 on my router box (for some learning and experimentation), but I am still principally using IPv4.

When MiniUPnPd is running, and I do a:

Code:
netstat -nlp | grep upnp


I can see a listener attached to port 49152 or 49153 but against 'tcp6'. There is no listener on regular 'tcp' (IPv4).

I think this is why my UPnP requests are going nowhere, and when I use a test client on Windows it can't find my UPnP server.

Is this a bug? I don't really want to turn off IPv6, as it's the future... or am I being stupid - does the tcp6 listener hear the tcp4 requests?

Thanks,
Dave
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1442

PostPosted: Fri Mar 01, 2013 5:16 pm    Post subject: Reply with quote

Quote:
does the tcp6 listener hear the tcp4 requests?

Yes !
This behaviour is configurable : see man ipv6.
IPV6_V6ONLY / /proc/sys/net/ipv6/bindv6only etc.
_________________
Main miniUPnP author.
http://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: 1442

PostPosted: Thu May 15, 2014 9:39 pm    Post subject: Reply with quote

I recently added V6SOCKETS_ARE_V6ONLY macro for systems which dont receive v4 connections on v6 sockets.
_________________
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 -> miniupnpd 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.