[RADIATOR] Suggestion: AddFromRequest
Hugh Irvine
hugh at open.com.au
Sun Feb 28 21:33:34 CST 2010
Hello Soren -
Thanks for the suggestion - as you surmise it has gone onto the "one day" list.
regards
Hugh
On 27 Feb 2010, at 21:24, Søren Schrøder wrote:
> Greetings list
>
> I have a small feature request to radiator
>
> I need to proxy key/val pairs from a request back to the response
> (using AuthBy INTERNAL)
>
> I'm aware that I can use
>
> <AuthBy INTERNAL>
> AuthResult ACCEPT
> AddToReply CC-Total-Octets=500000
> CC-Request-Type = %{CC-Request-Type}
> CC-Request-Number = %{CC-Request-Number}
> Rating-Group = %{Rating-Group}
> MSISDN = %{MSISDN}
> </AuthBy>
>
> but we have the DefaultReply, FramedGroup, StripFromReply,
> AllowInReply, AddToReply, AddToReplyIfNotExist, DynamicReply keywords,
> and to that suite I would suggest:
>
> AddFromRequest key(,key2,key3 ... keyN)
>
> So the above could be written as
>
> <AuthBy INTERNAL>
> AuthResult ACCEPT
> AddToReply CC-Total-Octets=500000
> AddFromRequest
> CC-Request-Type,CC-Request-Number,Rating-Group,MSISDN
> </AuthBy>
>
> I know this is pure cosmetics - but simplicity in conf-files prevents mistakes.
>
> You can put this on the ever growing feature-request list if you want,
> it is just my $0.02 in the effort of making a great product even
> greater.
>
>
> --
> Søren Schrøder.
> Obey Gravity - It's the law !
> _______________________________________________
> radiator mailing list
> radiator at open.com.au
> http://www.open.com.au/mailman/listinfo/radiator
NB:
Have you read the reference manual ("doc/ref.html")?
Have you searched the mailing list archive (www.open.com.au/archives/radiator)?
Have you had a quick look on Google (www.google.com)?
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.
Includes support for reliable RADIUS transport (RadSec),
and DIAMETER translation agent.
-
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.
More information about the radiator
mailing list