Good thought, but it doesn't seem to do the trick, but thanks..
Why don't you just avoid starting the proxy in the first place...
I want to actually proxy to a remote server, but they might send it back for further authentication.. I need to detect and handle that, otherwise there would be a loop... Thanks, Robert ________________________________________ From: freeradius-users-bounces+robert.roll=utah.edu@lists.freeradius.org [freeradius-users-bounces+robert.roll=utah.edu@lists.freeradius.org] On Behalf Of Arran Cudbard-Bell [a.cudbardb@freeradius.org] Sent: Thursday, October 06, 2011 12:58 PM To: FreeRadius users mailing list Subject: Re: canceling/redirecting realm in pre-proxy ? On 6 Oct 2011, at 20:19, Robert Roll wrote:
There seems to be some comments about being able to "cancel" a proxy in the pre-proxy section..
# When the server decides to proxy a request to a home server, # the proxied request is first passed through the pre-proxy # stage. This stage can re-write the request, or decide to # cancel the proxy.
What I really want to do is test some variables (unlang) and based on the outcome, I want to actually handle the request locally rather than proxy. Maybe this is obvious, but I am not seeing it ?
update control { Proxy-To-Realm := 'local' } Why d Maybe... I'm not sure if it'll work. Why don't you just avoid starting the proxy in the first place... -Arran Arran Cudbard-Bell a.cudbardb@freeradius.org Betelwiki, Betelwiki, Betelwiki.... http://wiki.freeradius.org/ ! - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html