(RADIATOR) addtoreply

Hugh Irvine hugh at open.com.au
Wed Oct 3 23:31:13 CDT 2001


Hello -

There are some example hooks in the file "goodies/hooks.txt" in the Radiator 
distribution.

hth

Hugh


>
> Below is a realm file this works ok but when I have tried to make this
> AddToReply as part of a postauthHook as a addtoreplyifnotexit for all
> default users but if user x,y,k  then only addtoreplyifnotexit this or
> if group this or type this
>
> Suggestions or specific examples would be appreciated.
>
> <Realm test.com>
>         RewriteUsername s/^([^@]+).*/$1/
>         <AuthBy RADIUS>
>                 RejectEmptyPassword
>   AddToReply      Ascend-Metric = 1, \
> Ascend-Assign-IP-Pool = 1, \
> Ascend-Number-Sessions = 1, \
> Ascend-Maximum-Channels = 1, \
> Ascend-Route-IP = Route-IP-Yes, \
> Ascend-Bridge = Bridge-No, \
> Ascend-Route-IPX = Route-IPX-No, \
> Ascend-Shared-Profile-Enable = Shared-Profile-No, \
> Ascend-Client-Primary-DNS = xxx.xxx.xxx.xxx, \
> Ascend-Client-Secondary-DNS = xxx.xxx.xxx.xxx, \
> Ascend-Client-Assign-DNS = DNS-Assign-Yes, \
> Ascend-Bridge = Bridge-No, \
> Ascend-Route-IP = Route-IP-Yes, \
> Framed-Netmask = 255.255.255.255, \
> Ascend-Data-Filter = "ip in drop dstip xxx.xxx.xxx.xxx/24 tcp dstport =
> 22", \
> Ascend-Data-Filter = "ip in drop dstip xxx.xxx.xxx.xxx/24 tcp dstport =
> 23", \
> Ascend-Data-Filter = "ip in drop dstip xxx.xxx.xxx.xxx/24 tcp dstport =
> 23", \
> Ascend-Data-Filter = "ip in drop dstip xxx.xxx.xxx.xxx/24 tcp dstport =
> 79", \
> Ascend-Data-Filter = "ip in drop dstip xxx.xxx.xxx.xxx/24 tcp dstport =
> 161", \
> Ascend-Data-Filter = "ip in drop dstip xxx.xxx.xxx.xxx/24 udp dstport =
> 161", \
> Ascend-Data-Filter = "ip in drop dstip xxx.xxx.xxx.xxx/24 tcp dstport =
> 512", \
> Ascend-Data-Filter = "ip in drop dstip xxx.xxx.xxx.xxx/24 tcp dstport =
> 513", \
> Ascend-Data-Filter = "ip in drop dstip xxx.xxx.xxx.xxx/24 tcp dstport =
> 514", \
> Ascend-Data-Filter = "ip in drop dstip xxx.xxx.xxx.xxx/24 tcp dstport =
> 1521", \
> Ascend-Data-Filter = "ip in drop dstip xxx.xxx.xxx.xxx/24 udp dstport =
> 1645", \
> Ascend-Data-Filter = "ip in drop dstip xxx.xxx.xxx.xxx/24 udp dstport =
> 1646", \
> Ascend-Data-Filter = "ip in forward", \
> Ascend-Data-Filter = "ip out forward",
>
>                 Host xxx.xxx.xxx.xxx
>                 Secret xxxxxxxxxxxxx
>         </AuthBy>
> </Realm>
>
> -------------------------------------------------------
> ===
> 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.

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