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 

OpenAndConfPCPv6Socket: socket(): Address family not support

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Compilation/Installation
View previous topic :: View next topic  
Author Message
enihcam



Joined: 07 Jan 2015
Posts: 8

PostPosted: Wed Jan 07, 2015 5:20 am    Post subject: OpenAndConfPCPv6Socket: socket(): Address family not support Reply with quote

Hi all,

I'm new to iptables and miniupnpd, and this is my first time to build a home router.

I never use ipv6, and I removed everything about ipv6 from kernel and my distro. However when I start the miniupnpd service, it gives me the following error:

Code:
Error: miniupnpd[1525]: OpenAndConfPCPv6Socket: socket(): Address family not supported



Anyone know how to disable ipv6 support in miniupnpd?


btw, I also installed miniupnpc for testing the daemon, but the client never found the upnp.
Code:
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1391

PostPosted: Wed Jan 07, 2015 9:25 am    Post subject: Reply with quote

just compile miniupnpd without IPV6 support !
make sure the line #define ENABLE_IPV6 is commented in config.h
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
enihcam



Joined: 07 Jan 2015
Posts: 8

PostPosted: Wed Jan 07, 2015 12:09 pm    Post subject: Reply with quote

miniupnp wrote:
just compile miniupnpd without IPV6 support !
make sure the line #define ENABLE_IPV6 is commented in config.h


Thanks, but could you please add a runtime flag/config entry to disable IPv6 support? Otherwise, two versions of miniupnpd would have to be maintained in a distro.
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1391

PostPosted: Wed Jan 07, 2015 12:36 pm    Post subject: Reply with quote

enihcam wrote:
miniupnp wrote:
just compile miniupnpd without IPV6 support !
make sure the line #define ENABLE_IPV6 is commented in config.h


Thanks, but could you please add a runtime flag/config entry to disable IPv6 support? Otherwise, two versions of miniupnpd would have to be maintained in a distro.

That would be a big work.
_________________
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 Compilation/Installation 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.