Freeradiusclient-1.1.7 and IPv6

Alan DeKok aland at deployingradius.com
Mon Dec 7 20:12:38 CET 2015


On Dec 7, 2015, at 2:10 PM, Alex Harrison via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:

 Hmm... formatting helps.  Running everything together makes it hard to read.

> For background, I'm utilizing the freeradius client library(1.1.7 tarball from the freeradius webpage) for a project I'm working on.  The server side is set up and responds to radclient (both IPv4 and IPv6) requests properly.  

  That's good.

> I'm trying to use the client library to talk over IPv6.  First, I am using one of the included applications such as radiusclient or radlogin to establish a baseline to work with.  When I try to send a radius request with one of these applications, I see in my system's log:rc_get_ipaddr: couldn't resolve hostname: feedThis would be for an address such as "feed:beef::17:18:20:10".  Looking into the code, it appears that it is expecting IP:Port:Secret and it is parsing the first part of the IPv6 address as the whole address.  Looking into the code on github, I see that there is a block in the source intended to deal with [IPv6]:Port:Secret form.  I do not see this code in the 1.1.7 tarsal.

  We should release a new version soon.

>  If I use the github code, I can successfully make IPv6 radius requests which is great and I can use.  This brings me to my question, is the IPv6 release supposed to support IPv6 and I'm using it incorrectly or am I reading the release notes incorrectly?

  It's a problem with 1.1.7.  Use the version from github.

>  I see in the release notes: "Added support for IPv6. Patch from Nikos Mavrogiannopoulos."  Browsing in the github repo, I see the commits from Nikos that add support for IPv6 along with the comment "Added support for connecting and listening to IPv6 addresses."  This commit is from March and I can not find the associated code from the commit in the 1.1.7 tar ball I downloaded.  Am I misunderstanding the release note or is IPv6 support I'm looking for actually not in the 1.1.7 release?

  The framework for IPv6 is there.  Some bits are missing.

 Alan DeKok.





More information about the Freeradius-Users mailing list