(RADIATOR) Handler w/ AddToReply question

Hugh Irvine hugh at open.com.au
Tue Feb 12 16:54:27 CST 2002


Hello Robert -

On Wed, 13 Feb 2002 01:00, Robert G. Fisher wrote:
> I'm trying to use Radiator 2.19 and Handlers to configure
> some Ascend-Data-Filter attributes to our roaming partners.
> I've added the following to my config file:
>
> <Handler Client-Identifier = RoamingPartner>
> 	AddToReply = 	Ascend-Data-Filter = "ip in forward tcp est",\
> 			Ascend-Data-Filter = "ip in forward dstip X.X.X.X/YY",\
> 			Ascend-Data-Filter = "ip in forward dstip Z.Z.Z.Z/YY",\
> 			Ascend-Data-Filter = "ip in drop tcp dstport 25",\
> 			Ascend-Data-Filter = "ip in forward"
> </Handler>
>
> Where the X.X.X.X and Z.Z.Z.Z are valid IP blocks.  However, I'm
> getting a message that AddToReply is an unknown option.
>
> After this Handler, I have a catch-all Handler in which the
> actual authentication is done, I would prefer to have this
> Handler come after the initial authentication and reply is
> built, but the idea is to have more specific Handlers come
> first.
>
> So...what am I missing? :)

The first match on a Handler clause is the only match - Radiator only ever 
executes a single Handler per request. Also, AddToReply is an AuthBy 
parameter, not a Handler parameter. You will need to use different AuthBy 
clauses in your Handlers to achieve what you want.

regards

Hugh


-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
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