I belive you can do regex's in HANDLER's . Many of Mikes examples on this
mailing list have shown this, does anyone know for sure whether this is
possible?
<HANDLER
NAS-Ip-Address=/^206.15.|^208.196.|^209.206./,Calling-Station-Id=/2020|8018|
806(3|4)/>
----- Original Message -----
From: Aaron Holtz <[EMAIL PROTECTED]>
To: Dialup USA Sales Dept <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, May 07, 1999 4:29 AM
Subject: Re: (RADIATOR) call blocking
> Do Handler's allow regex's? I didn't think so. I tried to write the same
> type thing and couldn't get it to work. I had to write a separate Handler
> clause for each NAS I was trying to match... However, I may have had some
> problems before I put the Handler.pm patch in place (there were known
> problems) so maybe that was my issue. If this is different, I'd like to
> know.
>
> --------------------------------------------------------------------------
> Aaron Holtz
> ComNet Inc.
> UNIX Systems Specialist
> Email: [EMAIL PROTECTED]
> "It's not broken, it just lacks duct tape."
> --------------------------------------------------------------------------
>
>
> On Fri, 7 May 1999, Dialup USA Sales Dept wrote:
>
> >I am correct in assuming that this would be how to set up call blocking
for
> >certain access numbers on a network. Here is the example below that I
came
> >up with.
> >
> ><HANDLER
>
>NAS-Ip-Address=/^206.15.|^208.196.|^209.206./,Calling-Station-Id=/2020|8018
|
> >806(3|4)/>
> >
> >Auth By Realms..... Allow Dialing into these numbers if they have an IP
> >address from one of the blocks above.
> >
> ></HANDLER>
> >
> ><HANDLER NAS-Ip-Address=/^206.15.|^208.196.|^209.206./>
> >
> >No Auth By Realms.... Deny All Other Access from these IP blocks if they
are
> >attempting to dial in from a different number on the network.
> >
> ></HANDLER>
> >
> ><HANDLER>
> >
> >Auth By Realms... allow access for all other users in.
> >
> ></HANDLER>
> >
> >Is this correct? What is the impact on the speed of the authentication
of
> >a user. Will this significantly slow down authentication requests?
> >
> >Would I need to put a back slash in front of the periods like
> >NAS-Ip-Address=/^206\.15\.|
> >or is what I have above correct?
> >
> >Thanks
> >Brandon
> >
> >
> >===
> >To unsubscribe, email '[EMAIL PROTECTED]' with
> >'unsubscribe radiator' in the body of the message.
> >
>
>
===
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.