(RADIATOR) Handler question (ORing attributes)

Hugh Irvine hugh at open.com.au
Tue May 11 18:42:19 CDT 2004


Hello James -

You can use regular expressions in Handlers:

<Handler NAS-IP-Address = /1.2.3.4|5.6.7.8/>
# Exceptions
...
</Handler>

<Handler>
# Default
...
</Handler>

BTW - rather than use IP addresses in configuration files, I tend to 
prefer to use Identifiers in the Client clauses:

<Client 1.2.3.4>
	Identifier SomethingMeaningful
	.....
</Client>

<Client 5.6.7.8>
	Identifier SomethingMeaningful
	.....
</Client>

......

<Handler Client-Identifier = SomethingMeaningful>
	.....
</Handler>


Hope that helps

regards

Hugh


On 12 May 2004, at 04:11, James Nelson wrote:

> Radiator Ref manual says:
>
> "In <Handler checklist >, the checklist expression is a list of 
> request attributes that must all match before this Handler will be 
> used to handle the request."
>
> Is there any way to do this so it will match any of the attributes?  
> Basically what I'm wanting is this:
>
> <Handler NAS-IP-Address = 1.2.3.4 OR NAS-IP-Address = 5.6.7.8>
> # Exceptions
> ...
> </Handler>
>
> <Handler>
> # Default
> ...
> </Handler>
>
> I could do it this way, but it will start to get cumbersome:
>
> <Handler NAS-IP-Address = 1.2.3.4>
> # Exception 1
> ...
> </Handler>
>
> <Handler NAS-IP-Address = 5.6.7.8>
> # Exception 2
> ...
> </Handler>
>
> <Handler>
> # Default
> ...
> </Handler>
>
> Thanks for any assistance,
> ::James Nelson
>
> --
> 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.
>
>

NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.

--
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