Forum Discussion
1gw_60162
Nimbostratus
Feb 04, 2005custom RADIUS authentication
I am new to the TCL and BIG-IP worlds, and am having difficulty figuring this problem out using the Config Guide for LTM. How would I go about writing an iRule to authenticate a client via RADIUS, th...
Tao_Liu_90341
Feb 04, 2005Historic F5 Account
If you do mean to rewrite the HTTP authentication header, you can write a new radius auth rule with AUTH_SUCCESS event handler like this:
when AUTH_SUCCESS {
if {$tmm_auth_radius_sid eq [AUTH::last_event_session_id]} {
set newauth [b64encode [format "%s:%s" [HTTP::username] "xxxx"]]
HTTP::header remove Authorization
HTTP::header insert Authorization "Basic $newauth"
HTTP::release
}
}
Here, xxxx means the static password. You may replace [HTTP::username] with a static name too.
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
