(RADIATOR) PreProxyHook

Frank Danielson fdanielson at csky.com
Fri Nov 19 08:31:22 CST 2004


You best bet would probably be to implement a custom AuthBy that inherits
AuthByRadius and override the chooseHost method to call the superclass and
then do whatever processing you want. Or maybe override sendHost to do your
processing and then call the superclass. For an example of something similar
to this take a look at AuthBySQLRadius.

Have fun.

Frank Danielson
Infrastructure Architect

ClearSky Mobile Media
56 E. Pine St.
Orlando, FL 32801
USA

-----Original Message-----
From: Rok Papez [mailto:rok.papez at arnes.si]
Sent: Friday, November 19, 2004 2:39 AM
To: radiator at open.com.au
Subject: Re: (RADIATOR) PreProxyHook


Hello Hugh.

Dne četrtek 18 november 2004 22:12 ste napisali:

> You can use either a PreProcessingHook or 

PreProcessingHook is called for each request before per-Realm username 
rewriting, before accounting log files are written, and before any 
PreAuthHooks. A reference to the current request is passed as the first 
argument, and a reference to the reply packet currently being constructed is

passed as the second argument.

> a PreAuthHook in the Realm or Handler.

PreAuthHook is called for each request after per-Realm username rewriting
and 
before it is passed to any AuthBy clauses. A reference to the current
request 
is passed as the first argument, and a reference to the reply packet 
currently being constructed is passed as the second argument.

================

This doesn't cut it.... I need to see where the packet is being proxied to
and AFAIK this can only happen after the AuthBy processing and before
the packet is being transmitted to the proxy.
For example in sendHost function in AuthRADIUS.pm. Or am I missing
something ?

I need this to implement "Split Horizon".

-- 
lep pozdrav,
Rok Papež.

--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.

--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list