Freeradius DHCP rest module
Hello, i am currently trying to replace isc-dhcp with freeradius dhcp server on PacketFence. The dhcp work well, i am able to give ip address on layer 2 and layer 3 network. Now i want to add hooks in DHCP-Discover and DHCP-Request with rlm_rest but i am not sure if this module can do that since there only theses scopes: authorize authenticate accounting post-auth Is there a workaround or does this is not yet implemented ? Regards Fabrice -- Fabrice Durand fdurand@inverse.ca :: +1.514.447.4918 (x135) :: www.inverse.ca Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence (http://packetfence.org)
On May 25, 2016, at 12:00 PM, Fabrice Durand <fdurand@inverse.ca> wrote:
i am currently trying to replace isc-dhcp with freeradius dhcp server on PacketFence.
That's a good idea.
The dhcp work well, i am able to give ip address on layer 2 and layer 3 network.
That's good...
Now i want to add hooks in DHCP-Discover and DHCP-Request with rlm_rest but i am not sure if this module can do that since there only theses scopes:
authorize authenticate accounting post-auth
Is there a workaround or does this is not yet implemented ?
The "dhcp DHCP-Request" etc. sections are processed as post-auth sections in the server. So yes, the rlm_rest module can work with DHCP. Alan DeKok.
On Wed, May 25, 2016 at 12:00:25PM -0400, Fabrice Durand wrote:
Is there a workaround or does this is not yet implemented ?
Examples in the default config. https://github.com/FreeRADIUS/freeradius-server/blob/v3.0.x/raddb/sites-avai... Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
participants (3)
-
Alan DeKok -
Fabrice Durand -
Matthew Newton