(RADIATOR) Blocking Access by Called-Station-Id
Dave Birkbeck
dbirkbeck at ikano.com
Tue Oct 29 13:34:56 CST 2002
All,
I am in the process of setting up a blacklist of access numbers. I would
like to use an <AuthBy FILE> instead of <AuthBy SQL> since my list is
so small. Can someone help me with the syntax of the file? So far this
is what I have.
<AuthBy GROUP>
IgnoreAccounting
AuthByPolicy ContinueUntilAccept
RewriteUsername s/^([^@]+).*/$1/
<AuthBy FILE>
NoDefault
Filename %D/badnumbers
</AuthBy>
# -- User Auth Section ---
<AuthBy SQL>
DBSource dbi:Sybase:server=*****
DBUsername ******
DBAuth ******
****************
****************
</AuthBy>
</AuthBy>
In the badnumbers file I have the following syntax and I cannot seem to
get it to work. Any help would be greatly appreciated.
Called-Station-Id = "4356080200" Auth-Type = Reject
Called-Station-Id = "6080200" Auth-Type = Reject
DEFAULT Auth-Type = Accept
# --- End of file ---
Thanks,
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.open.com.au/pipermail/radiator/attachments/20021029/96e54cf7/attachment.html>
More information about the radiator
mailing list