Forum Discussion
Paul_70551
Mar 18, 2011Nimbostratus
RADIUS::avp insert is not working
I am looking at a radius issue at the moment and it seemed prudent to use the RADIUS profile with its access to the AVP's directly and not needing to do a UDP decode.
I can successfully pull out, parse and log the AVP's i am interested in but when i try to insert a custom AVP it insert the attribute but not its value.
The vip is a standard UDP vip with a RADIUS profile attached.
The rule is simply doing this:
when CLIENT_DATA {
switch [RADIUS::avp 87] {
"case1" {
RADIUS::avp insert 108 "value" string
log local0. "inserting value"
return
}
"case2" {
RADIUS::avp 108 "value2" string
log local0. "inserting value2"
return
}
default {
log local0. "No match found no avp inserted"
return
}
}
I get the log for case2 and i can see the attribute arrive on the radius server with no value.
The doco around the RADIUS profile is sparse to say the least, any one else used it with success?
Paul
- Paul_70551NimbostratusOK for anybody else that looks into this here is what is going on.
- John_AllenAltostratus@Paul: Creating a RADIUS Response packet is documented here: http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/49/aft/2159052/showtab/groupforums/Default.aspx
- Colin_Walker_12Historic F5 AccountGood info Paul, thanks very much for following up with the community. Let us know how things go and if there's anything we can help with. ;)
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects