[Bug 538871] Re: authbind fail on IPv6
BJB
bugeaud at gmail.com
Thu Apr 15 17:39:02 BST 2010
Looking at the code :
http://www.chiark.greenend.org.uk/ucgi/~ijackson/cvsweb/authbind/libauthbind.c?rev=1.8;content-type=text%2Fplain
For the bind overriden method you got a section like :
if (addr->sa_family != AF_INET || addrlen != sizeof(struct sockaddr_in) ||
!geteuid() || ((struct sockaddr_in*)addr)->sin_port == 0 ||
ntohs(((struct sockaddr_in*)addr)->sin_port) >= IPPORT_RESERVED/2)
return old_bind(fd,addr,addrlen);
The problem is that it will never use the authbind method, hence will
not work with INET6.
--
authbind fail on IPv6
https://bugs.launchpad.net/bugs/538871
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to authbind in ubuntu.
More information about the Ubuntu-server-bugs
mailing list