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 

Miniupnpd is not running wiht IPV6 network

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



Joined: 09 Feb 2015
Posts: 12
Location: chennai

PostPosted: Fri Feb 20, 2015 7:15 am    Post subject: Miniupnpd is not running wiht IPV6 network Reply with quote

Hi I had installed miniupnpd 1.9 and running with ipv4 and ipv6 enabled network in one of the linux pc and able to run the miniupnpd and can also see in upnp inspector running in another linux pc.

But same thing when I had tried with disabling Ipv4 and only enabling ipv6 network in linux pc and trying to run the miniupnpd it is throwing the error as follows

"miniupnpd -d -f /home/kasiviswanathan/dump/miniupnpd-1.9.20141209/miniupnpd.conf -u f950f16b-3c82-4c74-8a68-a76510e15518
Error parsing address/mask (or interface name) : eth0
can't parse "eth0" as a valid interface name"

Please any one can say why the miniupnpd is giving above error.

Thanks in advance
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1593

PostPosted: Fri Feb 20, 2015 5:05 pm    Post subject: Reply with quote

how exactly did you disabled IPv4 and only enabled IPv6 ?
_________________
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: 1593

PostPosted: Fri Feb 20, 2015 5:14 pm    Post subject: Re: Miniupnpd is not running wiht IPV6 network Reply with quote

preddy wrote:
Error parsing address/mask (or interface name) : eth0
can't parse "eth0" as a valid interface name"

Please any one can say why the miniupnpd is giving above error.

I think it is because eth0 has no IPv4 address : the getifaddr() function is failing, so parselanaddr() returns an error.

miniupnpd would need to ne modified to support network interface without any IPv4 address.
_________________
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: 1593

PostPosted: Fri Feb 20, 2015 5:33 pm    Post subject: Reply with quote

see if that patch fixes the problem : https://github.com/miniupnp/miniupnp/commit/eb72ab5330a8001fe4bbde18639b173b001aa906

But I think there are many places in the code that imply LAN interfaces have IPv4 addresses assigned
_________________
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 -> 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.