canceling/redirecting realm in pre-proxy ?

Arran Cudbard-Bell a.cudbardb at freeradius.org
Thu Oct 6 20:58:43 CEST 2011


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'
}

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 at freeradius.org

Betelwiki, Betelwiki, Betelwiki.... http://wiki.freeradius.org/ !





More information about the Freeradius-Users mailing list