Hi Brandon,

On May 10,  2:04pm, Dialup USA Sales Dept wrote:
> Subject: calling-station id attribute
> I have to add a large amount of numbers to the Calling-Station-Id attribute.
>
> It would be nice if you could have this attribute call a file in which you
> can place all
> the numbers in it, one per line that you want to allow access from.
>
> Would it significantly slow down radius server if I were to add 50-75
> numbers to
> that one line in the format of  /1234567|7654321|2343243|2343423/

I dont think it will slow it down much. The regexp code in perl is pretty good.
Careful examiniation of the numbers may allow you to find some patterns that
can be expressed with a simpler regexp. For example, if they all start with a
common prefix, you could do something like this:

/^123(111|222|333|444|555)/


Hope that helps.
Cheers.


-- 
Mike McCauley                               [EMAIL PROTECTED]
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985                       Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8, 
NT, Rhapsody
===
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to