(RADIATOR) Multiple realms in handler
Hugh Irvine
hugh at open.com.au
Mon Sep 17 00:23:30 CDT 2001
Hello Ken -
On Monday 17 September 2001 12:26, Ken Kirkby wrote:
>
> I've been following this with interest. We want to implement a block
> with
> called-station-id and called-number-id so as to prevent STD calls from
> an ambiguously located exchange area.
>
> For example we'd like to block calls from 0265773xxx and 0265774xxx to
> 0265473002. What is the most effective way of implementing this?
> A specific handler, or combination with database.
>
The best way to do this probably depends on what else you have configured,
however here is a Handler to do it:
# define Handler to reject specific phone numbers
<Handler Calling-Station-Id = /^0265773|^0265774/, Called-Station-Id =
0265473002>
AuthBy reject.users
</Handler>
The file "reject.users" would contain the following:
# users file to reject everything
DEFAULT Auth-Type = "Reject: Phone number out of area"
hth
Hugh
> On another subject we'd also like for signup purposes to treat the
> username as the password to a proxied radius server. We've tried rolling
> %U the username into the password variable %P for ongoing presentation
> to the
> proxy, but reencrypting the password seems to defeat the process.
>
> Suggestions or specific examples would be appreciated.
>
> I couldnt seem to find anything relevant in the archives.
>
> Many thanks for the ongoing development and support.
--
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.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
More information about the radiator
mailing list