DHCP howto

Alan DeKok aland at deployingradius.com
Tue Feb 19 17:43:54 CET 2013

Igor Smitran wrote:
> Freeradius puts everything into ENV.

  For running external scripts.

> Because of the same key only last
> value is used, other ones are overwritten.
> So, ENV in this example will have only this:

  Yes.  So don't run a script.  Use the policies in the server.  Or the
Perl module.  Or the Python module.  Or the Ruby module.

>     DHCP-Parameter-Request-List = DHCP-NTP-Servers
> PHP script will be able to read that client asked only for
> DHCP-NTP-Servers value.
> This is PHP error or Freeradius error?
> Or am i missing something?

  There are limitations when running an external script.  That's why the
server has plugin modules.

  Alan DeKok.

More information about the Freeradius-Users mailing list