Cisco VSA hack

Ilia Chipitsine ilia at paramon.ru
Thu Feb 2 15:09:56 CET 2006


> All,
>
> I've set with_cisco_vsa_hack = yes in radiusd.conf on a box running
> FreeRADIUS 1.0.4, but when running "freeradius -X", I still see accounting
> packets with un-hacked Cisco-AVPair entries during debug:
>
> rad_recv: Accounting-Request packet from host xxxx:1636, id=198, length=292
>         ...
>         Cisco-AVPair = "ssid=default"
>         ...
>
> I expected to see:
>
>         ssid = "default"

it decodes only "dictionary"ed fields.
make sure, "ssid" is described in some dictionary

>
> or similar.  Is this output merely the accounting request packet as it's
> received, before preprocessing and the cisco_vsa_hack taking place?
>
> A quick check of the source code leads me to suspect that the VSA hack won't
> cater for pairs such as 'Cisco-AVPair = "ssid=default"', but my C knowledge
> is virtually nonexistant and I may well be misunderstanding the code.
>
> Can anyone clarify what's happening, please?  I'd be pleasantly surprised if
> I'm wrong and I really can start using the contents of Cisco-AVPairs for
> accounting.
>
> Best wishes,
>
>
> Peter.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>



More information about the Freeradius-Users mailing list