Freeradius IPv6 Framed IP issue with 2.4.5
-
Thought I'd have a play with framed IPv6 now im running 2.4.5.
/usr/local/etc/raddb/mods-config/files/authorize[31]: Parse error (reply) for entry andy-iphone: Failed resolving "64" to IPv6 address: hostname nor servname provided, or not known
"andy-iphone" Cleartext-Password := "XXXXXXX", Simultaneous-Use := "1", Expiration := "Apr 11 2027", NAS-Identifier == strongSwan Framed-IP-Address = 172.16.8.3, Framed-IP-Netmask = 255.255.255.0, Framed-Route = "0.0.0.0/0 172.16.8.1 1", Framed-IPv6-Address = XXXX:YYYY:ZZZZ:8::3, Framed-IPv6-Prefix = 64, Framed-IPv6-Route = "::/0 XXXX:YYYY:ZZZZ:8::1 1"
Looks right according to RFC3162.
I'll raise a redmine if its a bug.
-
Correct format is Prefix/Prefix-length, i.e. 2001:db8:abab::/64
Fix: https://redmine.pfsense.org/issues/10297#note-4