unlang: matching for 'Access-Accept'

Arran Cudbard-Bell A.Cudbard-Bell at sussex.ac.uk
Fri Aug 28 15:12:31 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> There does seem to be a problem, the %control:Packet-Type does not seem
> to expand to a value.
> 
> rad_recv: Access-Accept packet from host 118.67.xxx.xxx port 1812,
> id=10, length=25
>     Proxy-State = 0x313534
> +- entering group post-proxy {...}
> ........
> ++? if (control:Packet-Type == "Access-Accept")
>     expand: %{control:Packet-Type} ->
> ? Evaluating (control:Packet-Type == "Access-Accept") -> FALSE
> ++? if (control:Packet-Type == "Access-Accept") -> FALSE
> .........
> 
> Could version 2.1.4 have a bug in this area ?


No. Wrong list. I think it's something like Proxy-Reply:Packet-Type, check man unlang for details.

You didn't specify you were wanting to match a Proxied Accept in your original post.

- -Arran

- -- 
Arran Cudbard-Bell <A.Cudbard-Bell at sussex.ac.uk>,
Systems Administrator (AAA),
Infrastructure Services (IT Services),
E1-1-08, Engineering 1, University Of Sussex, Brighton, BN1 9QT
DDI+FAX: +44 1273 873900 | INT: 3900
GPG: 86FF A285 1AA1 EE40 D228 7C2E 71A9 25BB 1E68 54A2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqX178ACgkQcaklux5oVKIFVwCfaCG/gVSHsMwoFeimW6qxKVPI
Q6IAn1AmkSdGfXuUNyKjZamoGVL256pz
=CYgC
-----END PGP SIGNATURE-----



More information about the Freeradius-Users mailing list