How to use FreeRADIUS proxy to set an attribute value only if not provided by end RADIUS server ?

Tomas Hoger tomas.hoger at gmail.com
Fri Apr 20 17:38:52 CEST 2007


On 4/19/07, John Butala <jbutala at qwest.net> wrote:
> We would like to use FreeRADIUS (acting as a proxy server) to set the
> Primary-DNS-Server and Secondary-DNS-server attributes in the auth
> response to the RADIUS client only if these attributes are not provied
> by the end RADIUS server (which we don't control).   Is there anyway to
> do this without making a FreeRADIUS source code change ?

You can try  to write simple rlm_perl script and call it from
post-proxy.  It will check for presence of attribute(s) and add
it/them as needed.

However, there may be better way to achieve this...

th.



More information about the Freeradius-Users mailing list