Hi Hugh,
Thanks for your response. Here are more details and the config file:
I have a proxy that executes the handler below. My master radius server does
a check for port limits(Identifier LocalCheck). Following that, the call is
handed off to a customer radius server(Identifier zonnetproxy). Since they
are both "AuthBy RADIUS"s, I'm using the Synchronous flag. The log shows
that the proxy does wait for reply from the first server before processing
further requests.
As this is causing the NAS to time out a lot, I would like to speed up the
process a bit and have the proxy respond to other requests. Only, I'm not
sure how. You've mentioned the ReplyHook but I'm not sure where to start.
Thanks and regards,
Lisa
*******************************************
<Handler zon_dnis="true">
AuthByPolicy ContinueWhileAccept
AuthBy LocalCheck
AuthBy zonnetproxy
</Handler>
******************************************
PROXY CONFIG FILE:
Trace 4
Foreground
LogDir .
DbDir .
<Client DEFAULT>
Secret xxxxxx
DupInterval 0
PreHandlerHook sub { \
# zonnet DNISs
my $dnis = ${$_[0]}->get_attr('Called-Station-Id');\
if (${dnis} =~ /107500300|113750030|137500300/) {\
${$_[0]}->add_attr('zon_dnis','true'); return;\
}\
}
</Client>
# proxying to zonnet
<AuthBy RADIUS>
Identifier zonnetproxy
Host xxx.xxx.xxx.xxx
Secret xxxxx
</AuthBy>
# Handle everyone with RADIUS
<AuthBy RADIUS>
Identifier LocalCheck
Synchronous
Host yyy.yyy.yyy.yyy
Secret xxxxxxxxxxx
CachePasswords
CachePasswordExpiry
</AuthBy>
<Handler zon_dnis="true">
AuthByPolicy ContinueWhileAccept
AuthBy LocalCheck
AuthBy zonnetproxy
</Handler>
# General handling
<Handler>
AuthByPolicy ContinueWhileAccept
AuthBy LocalCheck
</Handler>
> -----Original Message-----
> From: Hugh Irvine [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, December 13, 2000 9:23 AM
> To: Lisa Goulet; [EMAIL PROTECTED]
> Subject: Re: (RADIATOR) Synchronous flag and ReplyHook
>
>
> Hello Lisa -
>
> On Wed, 13 Dec 2000, Lisa Goulet wrote:
> > Hi all,
> >
> > I'm reposting this question.
> >
> > I'm using the Synchronous flag because of two "AuthBy RADIUS" checks. It
> is
> > impacting performance. Has anyone implemented the ReplyHook? If so, can
> you
> > give me some pointers?
> >
>
> Please outline your requirements in more detail.
>
> thanks
>
> 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.starport.net/~radiator/
> Announcements on [EMAIL PROTECTED]
> To unsubscribe, email '[EMAIL PROTECTED]' with
> 'unsubscribe radiator' in the body of the message.
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.