Checkrad and IPv6 NAS IP address

Alan DeKok aland at
Tue Sep 7 14:06:25 CEST 2021

On Sep 6, 2021, at 7:33 PM, Fabricio Viana <fabricioviana at> wrote:
> I have tested the changes. Now it's giving the following message:
> (0) sql: Executing select query: SELECT radacctid, acctsessionid, username, nasipaddress, nasportid, framedipaddress, callingstationid, framedprotocol FROM radacct WHERE username = 'joseph.test' AND acctstoptime IS NULL
> (0) sql: Cannot parse '2804:444:1:1::2' as an IPv4 or an IPv6 address
> My checkrad script is still not being called.
> Below is the Access-Request package and the freeradius -X command output.
> Could you help please? Thank you very much!

  I've pushed one last fix.  That should work.

  Alan DeKok.

More information about the Freeradius-Users mailing list