Hello all, I am trying to use radtest to test my freeradius configuration over IPv6. I have configured IPv6 on my freeradius server and a client machine from which I am firing radtest. However when I issue "radtest bob hello 2001:db95::100 100 testing123" on my client I get a "radclient: socket: cannot initialize udpfromto: Function not implemented" Google returns a few people reporting this, but answers are related to changing how localhost is resolved when testing it from the freeradius server. Is there a proper solution for using radtest over IPv6 from a remote machine? Btw radtest works fine over IPv4 on my current setup. Thanks a lot, Panos
Panagiotis Georgopoulos wrote:
I am trying to use radtest to test my freeradius configuration over IPv6. I have configured IPv6 on my freeradius server and a client machine from which I am firing radtest. However when I issue “radtest bob hello 2001:db95::100 100 testing123” on my client I get a
“radclient: socket: cannot initialize udpfromto: Function not implemented”
When building from source, do: $ ./configure --without-udpfromto It doesn't appear to work on your system. Alan DeKok.
Hello Alan, all See bellow...
-----Original Message----- From: freeradius-users- bounces+panos=comp.lancs.ac.uk@lists.freeradius.org [mailto:freeradius- users-bounces+panos=comp.lancs.ac.uk@lists.freeradius.org] On Behalf Of Alan DeKok Sent: 06 June 2010 09:27 To: FreeRadius users mailing list Subject: Re: radtest and IPv6 support
Panagiotis Georgopoulos wrote:
I am trying to use radtest to test my freeradius configuration over IPv6. I have configured IPv6 on my freeradius
server
and a client machine from which I am firing radtest. However when I issue radtest bob hello 2001:db95::100 100 testing123 on my client I get a
radclient: socket: cannot initialize udpfromto: Function not implemented
When building from source, do:
$ ./configure --without-udpfromto
It doesn't appear to work on your system.
How can I only build radtest from source? (recap: ) I have build freeRadius on my server and I want to run radtest on a client machine to test my configuration over IPv6. I installed radtest on my client machine by installing freeradius-utils... Is there another way to test FreeRadius with another tool that supports IPV6? Thanks, Panos
On 06/03/2010 01:57 PM, Panagiotis Georgopoulos wrote:
Hello all,
I am trying to use radtest to test my freeradius configuration over IPv6. I have configured IPv6 on my freeradius server and a client machine from which I am firing radtest. However when I issue “radtest
We also just discovered a bug with IPv6 usage in radclient (and radtest), you may want to take a look at these two bugzilla's: https://bugs.freeradius.org/bugzilla/show_bug.cgi?id=80 https://bugs.freeradius.org/bugzilla/show_bug.cgi?id=82 -- John Dennis <jdennis@redhat.com> Looking to carve out IT costs? www.redhat.com/carveoutcosts/
John Dennis wrote:
We also just discovered a bug with IPv6 usage in radclient (and radtest), you may want to take a look at these two bugzilla's:
The better fix is to take unknown options starting with "-", and pass them directly to radclient. This will make -4 work, -6, and a bunch of other options.
Except I'm not allowed to see the redhat bugs. From what I can tell, the issue is that ip_hton() does DNS lookups, and inet_pton() doesn't. Alan DeKok.
On 06/07/2010 05:33 PM, Alan DeKok wrote:
John Dennis wrote:
We also just discovered a bug with IPv6 usage in radclient (and radtest), you may want to take a look at these two bugzilla's:
The better fix is to take unknown options starting with "-", and pass them directly to radclient. This will make -4 work, -6, and a bunch of other options.
Hokey dokey, I didn't create the proposed fix in this instance, please update the bugzilla with the suggestion or the git commit. Thanks!
Except I'm not allowed to see the redhat bugs.
All you should need to do is create a bugzilla login, no different than the FreeRADIUS bugzilla, but no problem, I attached the patch to the the FreeRADIUS bug, should be easy to see now.
From what I can tell, the issue is that ip_hton() does DNS lookups, and inet_pton() doesn't.
yup, that's the primary issue, secondary issue is more informative error reporting. -- John Dennis <jdennis@redhat.com> Looking to carve out IT costs? www.redhat.com/carveoutcosts/
John Dennis wrote:
All you should need to do is create a bugzilla login, no different than the FreeRADIUS bugzilla, but no problem, I attached the patch to the the FreeRADIUS bug, should be easy to see now.
Tried, still the same error. Oh well.
From what I can tell, the issue is that ip_hton() does DNS lookups, and inet_pton() doesn't.
yup, that's the primary issue, secondary issue is more informative error reporting.
OK. I've applied the patch. Alan DeKok.
Hello John, Alan, all,
John Dennis wrote:
We also just discovered a bug with IPv6 usage in radclient (and radtest), you may want to take a look at these two bugzilla's:
The better fix is to take unknown options starting with "-", and pass them directly to radclient. This will make -4 work, -6, and a bunch of other options.
Thanks both for the reply. I will try using the radclient for my testing from now on.. Cheers, Panos
participants (3)
-
Alan DeKok -
John Dennis -
Panagiotis Georgopoulos