(RADIATOR) ReplyHook for AuthBy Radius

Hugh Irvine hugh at open.com.au
Mon Dec 3 16:56:35 CST 2001


Hello Benny -

On Tue, 4 Dec 2001 01:23, Benny Chee wrote:
> hi,
>
> 	i have a proxy radius proxing AAA from my RAS to my customers. lately we
> got a new RAS which require a different reply attribute from my customers,
> in order not for my custmers to change what they have already sent, i was
> thinking of manipulating their reply-items using a ReplyHook, but with no
> avail.
>
> 	This is what i want:
>
> 	Scenario A:
> 	1) customer sends reply-attribute:
> 		rate-limit = 512
> 	2) proxy receives attribute and change it to:
> 		control-bw = "512000,256000"
> 	3) attribute sent to RAS.
>
> 	Scenario B:
> 	1) customer sends reply-attribute:
> 		rate-limit = 256
> 	2) proxy receives attribute and change it to:
> 		control-bw = "256000,128000"
> 	3) attribute sent to RAS.
>
> 	How can i do it with the ReplyHook?


There are some example hooks in the file "goodies/hooks.txt" in the Radiator 
distribution, including a ReplyHook. You should proabably also use an 
Identifier tag in the Client clause so you will know which NAS you are 
dealing with.

regards

Hugh


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