2.x.x and radtest: no IPv6?

Alan DeKok aland at deployingradius.com
Mon Jul 22 16:50:14 CEST 2013


Stefan Winter wrote:
> Still... maybe for a later version... if the input looks like an IP
> address, guessing the address family isn't all that hard.

  Yeah.... patches?  :)

> I see that such a -4 -6 option is required for hostnames, but even then
> only if they return addresses for both families.
> 
> ipv6-localhost only returns ::1. And ::1 successfully parses neither as
> an IPv4, nor a hostname, but as an IPv6 address. Both are unambiguous
> and could be auto-detected.

  Sure.

> That would add a little user-friendliness for users who didn't have
> enough sleep :-)

  Yes.

  Alan DeKok.


More information about the Freeradius-Users mailing list