On Thu, 18 May 2000 07:54:27 +0200, Ingvar Berg (ERA) wrote:
>How about an Authby BLACKLIST, rejecting the request if there is a match between
>Calling-Station-ID and a number in the list? It seems to be a broad interest in this
>functionality.
>
>/Ingvar
have an authby file
<AuthBy FILE>
Filename /usr/local/raddb/rejectusers
DefaultReply Service-Type = Framed-User,\
Framed-Protocol = PPP,\
Framed-IP-Address = 10.10.10.10,\
Session-Timeout = 25,\
Idle-Timeout = 20
</AuthBy>
and look in rejectusers which just contains
DEFAULT Calling-Station-Id = /xxxxxxx/
with the last say
#
DEFAULT Auth-Type = SQLUsers
#
now why give em anyform of access ?? well it will cost them(here in Oz
at least) money for the call.
they get a stupid address and will timeout soon enough.
Want to find out who beens on or who stolen other's passwords ??
search your account records for that stupid address :-)
And thanks Hugh who provided the solution some time ago on this list..
Gary
>
>-----Original Message-----
>From: Hugh Irvine [mailto:[EMAIL PROTECTED]]
>Sent: Monday, May 15, 2000 1:08 AM
>To: Edgar R Gutierrez; [EMAIL PROTECTED]
>Subject: Re: (RADIATOR) Merged ISP's
>
>
>
>Hello Edgar -
>
>On Sat, 13 May 2000, Edgar R Gutierrez wrote:
>> I have a question...
>> I currently have a table which contains Black Listed Numbers.
>> I want RADIATOR to check if the Calling-Station-Id of the user is among the
>> black listed numbers. How do I do this ?
>> I have a feeling that PreAuthHook will be used to implement to do this. It
>> is just I just dont' know how to get the
>> Calling-Station-Id inside the Perl Code. What is the variable that I have
>> to use to get this?
>>
>
>I would have thought an AuthSelect statement that checked the Black Listed
>Numbers table would do the trick. However, you could certainly also do it with
>a PreAuthHook. There are some example hooks in the patches area that you can
>have a look at and modify to suit.
>
>http://www.open.com.au/radiator/downloads/patches-2.15/hooks.txt
>
>regards
>
>Hugh
>
>
>--
>Radiator: the most portable, flexible and configurable RADIUS server
>anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
>Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
>Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.
>
>
>
>===
>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.
>
-------------------------------
Ausmail
Your virtual home on the net.
Email, News & Home pages.
-------------------------------
Coming soon !!
===
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.