Bug#606866: freeradius: Binding to an IPv6 address (::) does not work

2011-05-06 Thread Josip Rodin
On Fri, May 06, 2011 at 08:34:25PM +0200, Alan T DeKok wrote: > Josip Rodin wrote: > > After a bit more digging, it seems you need a simple: > ... > > This seems to be so per RFC 3542 from 2003, which obsoletes RFC 2292 > > from 1998. > > Ah... you're using 2.1.10. The git "v2.1.x" branch alrea

Bug#606866: freeradius: Binding to an IPv6 address (::) does not work

2011-05-06 Thread Alan T DeKok
Josip Rodin wrote: > After a bit more digging, it seems you need a simple: ... > This seems to be so per RFC 3542 from 2003, which obsoletes RFC 2292 > from 1998. Ah... you're using 2.1.10. The git "v2.1.x" branch already has a better fix which is cross-platform. -- To UNSUBSCRIBE, email to

Bug#606866: freeradius: Binding to an IPv6 address (::) does not work

2011-05-06 Thread Josip Rodin
On Fri, May 06, 2011 at 05:55:20PM +0200, Alan T DeKok wrote: > Josip Rodin wrote: > > % sudo strace freeradius -X > > [...] > > socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 5 > > getsockname(5, {sa_family=AF_INET6, sin6_port=htons(0), inet_pton(AF_INET6, > > "::", &sin6_addr), sin6_flowinfo=0, sin6

Bug#606866: freeradius: Binding to an IPv6 address (::) does not work

2011-05-06 Thread Alan T DeKok
Josip Rodin wrote: > % sudo strace freeradius -X > [...] > socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 5 > getsockname(5, {sa_family=AF_INET6, sin6_port=htons(0), inet_pton(AF_INET6, > "::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0 > setsockopt(5, SOL_IPV6, IPV6_PKTINFO, [1], 4) =

Bug#606866: freeradius: Binding to an IPv6 address (::) does not work

2011-05-06 Thread Josip Rodin
On Thu, May 05, 2011 at 10:31:38PM +0200, Josip Rodin wrote: > On Mon, May 02, 2011 at 12:07:30PM +0200, Alan T DeKok wrote: > > Josip Rodin wrote: > > > The first test works, but the second doesn't. The second one should > > > actually > > > work, but the problem is in the definition: > > > >

Bug#606866: freeradius: Binding to an IPv6 address (::) does not work

2011-05-05 Thread Josip Rodin
On Mon, May 02, 2011 at 12:07:30PM +0200, Alan T DeKok wrote: > Josip Rodin wrote: > > The first test works, but the second doesn't. The second one should actually > > work, but the problem is in the definition: > > C compilers now have built-in "offsetof" to fix precisely this problem. > > S

Bug#606866: freeradius: Binding to an IPv6 address (::) does not work

2011-05-02 Thread Alan T DeKok
Josip Rodin wrote: > The first test works, but the second doesn't. The second one should actually > work, but the problem is in the definition: C compilers now have built-in "offsetof" to fix precisely this problem. See the attached patch. You'll have to re-run "autoconf" to re-generate the

Bug#606866: freeradius: Binding to an IPv6 address (::) does not work

2011-05-01 Thread Josip Rodin
On Sun, Dec 12, 2010 at 06:50:39PM +0100, Josip Rodin wrote: > > Actually, we've had [the udpfromto stuff] enabled since 2005, > > -- Paul Hampson Fri, 4 Mar 2005 09:30:40 +1100 > Looking at the code, it's supposed to make allowances for IPv6... the only > recent change is: > > % git log -1 sr

Bug#606866: freeradius: Binding to an IPv6 address (::) does not work

2010-12-12 Thread Alan T DeKok
Configuring freeradius to also listen on a IPv6 interface (in this case ::) does not work. Here is the error message I get when starting freeradius in debug mode: --- listen { type = "auth" ipv6addr = :: IPv6 address [::]

Bug#606866: freeradius: Binding to an IPv6 address (::) does not work

2010-12-12 Thread Georges
On Sunday 12 December 2010 18:50:39 Josip Rodin wrote: > On Sun, Dec 12, 2010 at 06:41:10PM +0100, Josip Rodin wrote: > > On Sun, Dec 12, 2010 at 06:28:35PM +0100, Josip Rodin wrote: > > > On Sun, Dec 12, 2010 at 04:19:37PM +0100, Georges wrote: > > > > Package: freeradius > > > > Version: 2.1.10+d

Bug#606866: freeradius: Binding to an IPv6 address (::) does not work

2010-12-12 Thread Josip Rodin
On Sun, Dec 12, 2010 at 06:41:10PM +0100, Josip Rodin wrote: > On Sun, Dec 12, 2010 at 06:28:35PM +0100, Josip Rodin wrote: > > On Sun, Dec 12, 2010 at 04:19:37PM +0100, Georges wrote: > > > Package: freeradius > > > Version: 2.1.10+dfsg-2~bpo50+1 > > > Severity: important > > > > > > > > > Confi

Bug#606866: freeradius: Binding to an IPv6 address (::) does not work

2010-12-12 Thread Josip Rodin
On Sun, Dec 12, 2010 at 06:28:35PM +0100, Josip Rodin wrote: > On Sun, Dec 12, 2010 at 04:19:37PM +0100, Georges wrote: > > Package: freeradius > > Version: 2.1.10+dfsg-2~bpo50+1 > > Severity: important > > > > > > Configuring freeradius to also listen on a IPv6 interface (in this case ::) > > d

Bug#606866: freeradius: Binding to an IPv6 address (::) does not work

2010-12-12 Thread Josip Rodin
On Sun, Dec 12, 2010 at 04:19:37PM +0100, Georges wrote: > Package: freeradius > Version: 2.1.10+dfsg-2~bpo50+1 > Severity: important > > > Configuring freeradius to also listen on a IPv6 interface (in this case ::) > does not work. > Here is the error message I get when starting freeradius in d

Bug#606866: freeradius: Binding to an IPv6 address (::) does not work

2010-12-12 Thread Georges
Package: freeradius Version: 2.1.10+dfsg-2~bpo50+1 Severity: important Configuring freeradius to also listen on a IPv6 interface (in this case ::) does not work. Here is the error message I get when starting freeradius in debug mode: --- listen { type = "auth"