Hi, Thanks for pointing this out to me :) I'll check the patch and test it this week-end and see what we can do with IPv6, then integrate it in the next release and forward the whish upstream.
Regards, > > Hello, > While looking at the source code of tacacs+ I noticed that it uses > gethostbyname(). This has two problems: > * It's an obsolete call, see gethostbyname() > * Depending on the libc6, you may get IPv6 addresses returned which > will mean you will try to wedge a IPv6 address into an IPv4 sockaddr > and you end up with a horrible mess. > > See http://lists.debian.org/debian-ipv6/2010/05/msg00000.html for some > discussion about this. > > The attached patch uses getaddrinfo() and fixes it to IPv4 addresses > only. It could probably work with IPv6 too with some more checking. > > - Craig > -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org