-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, the dictionary.rfc3162 on a fresh compiled freeradius 1.1.3 on CentOS 4.3 x86_64 shows support for attribute 97 - ----8<---- ATTRIBUTE Framed-IPv6-Prefix 97 ipv6prefix - ---->8---- but if I start the server it failes with the following reason: - ----8<---- /usr/local/etc/raddb/users[227]: Parse error (reply) for entry hextest: unknown attribute type 8 Errors reading /usr/local/etc/raddb/users - ---->8---- the entry for hextest in the users file looks like this (ip address replaced) and line #227 is the "Framed-IPv6-Prefix" line: - ----8<---- hextest Auth-Type := Local, User-Password == "secret" Service-Type = Framed-User, NAS-IP-Address = xx.xx.xx.xx, Framed-IPv6-Prefix = 2001:db8:aaaa:bbbb::/64, Tunnel-Client-Endpoint = 2001:db8:cccc::/128, Tunnel-Server-Endpoint = 2001:db8:cccc::1/128 - ---->8---- If I comment out the "Framed-IPv6-Prefix" line the server starts up. Has anybody seen this error before? I don't know why the server thinks this is attribute 8. Have I missed something and the entry for attribute 97 should look different? Any hint would greatly appreciated. best regard, Christian Hahn -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE9C2G6kMW7HW8620RAntmAJ9vRzaBDqNV5FIT/esloKn8Q149BQCgk/42 6xpe7FSxEW6aEggMzmLcRtU= =Zpnx -----END PGP SIGNATURE-----
Christian Hahn <hahn@berkom.de> wrote:
hextest Auth-Type := Local, User-Password == "secret" Service-Type = Framed-User, NAS-IP-Address = xx.xx.xx.xx, Framed-IPv6-Prefix = 2001:db8:aaaa:bbbb::/64,
The value for the prefix should be in quotes. The parser for the "users" file is pretty simple. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Alan DeKok wrote:
Christian Hahn <hahn@berkom.de> wrote:
hextest Auth-Type := Local, User-Password == "secret" Service-Type = Framed-User, NAS-IP-Address = xx.xx.xx.xx, Framed-IPv6-Prefix = 2001:db8:aaaa:bbbb::/64,
The value for the prefix should be in quotes. The parser for the "users" file is pretty simple. I just tried this but unfortunatly it changed nothing, the server still stops with the same error:
Parse error (reply) for entry hextest: unknown attribute type 8 Errors reading /usr/local/etc/raddb/users If I comment out the IPv6 prefix line it works and delivers also all other rfc3162 attributes if configured in the users file. In the dictionaries I found the data type ipv6prefix only used in the rfc3162 dictionary. Are there any successful test known for this data type and freeradius? best regards, Christian Hahn
Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE9F4n6kMW7HW8620RArIJAJ9W2GNC6xft0IkaEwk4puh+R6XaiACglGQW PnLKVsrUtRpygDZYu2W2U38= =yuGr -----END PGP SIGNATURE-----
Hi,
/usr/local/etc/raddb/users[227]: Parse error (reply) for entry hextest: unknown attribute type 8 Errors reading /usr/local/etc/raddb/users
thsi works with the 2.0pre CVS code...... so theres something not quite right in the 1.1.3 code..... and yes, theres no IPV6PREFIX handler in valuepair.c or in the print debugger or full handling in radius.c FreeRADIUS Version 2.0.0-pre0 dict.c: { "ipv6prefix", PW_TYPE_IPV6PREFIX }, print.c: case PW_TYPE_IPV6PREFIX: radius.c: case PW_TYPE_IPV6PREFIX: radius.c: case PW_TYPE_IPV6PREFIX: radius.c: case PW_TYPE_IPV6PREFIX: radius.c: case PW_TYPE_IPV6PREFIX: valuepair.c: case PW_TYPE_IPV6PREFIX: valuepair.c: case PW_TYPE_IPV6PREFIX: valuepair.c: case PW_TYPE_IPV6PREFIX: FreeRADIUS Version 1.1.3 dict.c: { "ipv6prefix", PW_TYPE_IPV6PREFIX }, radius.c: case PW_TYPE_IPV6PREFIX: radius.c: case PW_TYPE_IPV6PREFIX: so thats why it isnt working for you alan
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
/usr/local/etc/raddb/users[227]: Parse error (reply) for entry hextest: unknown attribute type 8 Errors reading /usr/local/etc/raddb/users
thsi works with the 2.0pre CVS code...... so theres something not quite right in the 1.1.3 code..... and yes, theres no IPV6PREFIX handler in valuepair.c or in the print debugger or full handling in radius.c
Thanks for the hint, I will try the cvs version and probably check the code of the 1.1.3 version. Are there any information how mature the 2.0.0-pre0 code is? Is it just a development branch for new features or will this be eventually the next release train? best regards, Christian
FreeRADIUS Version 2.0.0-pre0
dict.c: { "ipv6prefix", PW_TYPE_IPV6PREFIX }, print.c: case PW_TYPE_IPV6PREFIX: radius.c: case PW_TYPE_IPV6PREFIX: radius.c: case PW_TYPE_IPV6PREFIX: radius.c: case PW_TYPE_IPV6PREFIX: radius.c: case PW_TYPE_IPV6PREFIX: valuepair.c: case PW_TYPE_IPV6PREFIX: valuepair.c: case PW_TYPE_IPV6PREFIX: valuepair.c: case PW_TYPE_IPV6PREFIX:
FreeRADIUS Version 1.1.3
dict.c: { "ipv6prefix", PW_TYPE_IPV6PREFIX }, radius.c: case PW_TYPE_IPV6PREFIX: radius.c: case PW_TYPE_IPV6PREFIX:
so thats why it isnt working for you
alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE9UIO6kMW7HW8620RAuj8AJ4w6KDjBTVyC0C+vtuBFjf043PlqACdFO3r 7n/TuddOqHEPA4clhJGgHNk= =7mjN -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
here my summary for this issue:
- - I used FreeRADIUS Version 2.0.0-pre0 (20060830) from CVS
- - Attribute 97 is properly coded and delivered to the asking NAS
- - so if you need all the rfc3162 attributes use the CVS code
thanks for the help and of course for freeradius,
Christian
Christian Hahn wrote:
>>> /usr/local/etc/raddb/users[227]: Parse error (reply) for entry
>>> hextest: unknown attribute type 8
>>> Errors reading /usr/local/etc/raddb/users
>> thsi works with the 2.0pre CVS code...... so theres something not quite right
>> in the 1.1.3 code..... and yes, theres no IPV6PREFIX handler in valuepair.c
>> or in the print debugger or full handling in radius.c
> Thanks for the hint, I will try the cvs version and probably check the
> code of the 1.1.3 version.
> Are there any information how mature the 2.0.0-pre0 code is? Is it
> just a development branch for new features or will this be eventually
> the next release train?
>
> best regards,
> Christian
>
>> FreeRADIUS Version 2.0.0-pre0
>
>> dict.c: { "ipv6prefix", PW_TYPE_IPV6PREFIX },
>> print.c: case PW_TYPE_IPV6PREFIX:
>> radius.c: case PW_TYPE_IPV6PREFIX:
>> radius.c: case PW_TYPE_IPV6PREFIX:
>> radius.c: case PW_TYPE_IPV6PREFIX:
>> radius.c: case PW_TYPE_IPV6PREFIX:
>> valuepair.c: case PW_TYPE_IPV6PREFIX:
>> valuepair.c: case PW_TYPE_IPV6PREFIX:
>> valuepair.c: case PW_TYPE_IPV6PREFIX:
>
>
>> FreeRADIUS Version 1.1.3
>
>> dict.c: { "ipv6prefix", PW_TYPE_IPV6PREFIX },
>> radius.c: case PW_TYPE_IPV6PREFIX:
>> radius.c: case PW_TYPE_IPV6PREFIX:
>
>
>> so thats why it isnt working for you
>
>> alan
>> -
>> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- -
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFE9u4g6kMW7HW8620RAv4fAJ49kZiKXqMsKFpbtAlAmSHrghbM+QCgmsbU
+kZPowN1aWySzEdexIE7vc4=
=0YaX
-----END PGP SIGNATURE-----
participants (3)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
Christian Hahn