packetfence icon indicating copy to clipboard operation
packetfence copied to clipboard

pfdhcplistener : Management interface

Open dwlfrth opened this issue 9 years ago • 6 comments

pfdhcplistener listening on management interface should be configurable. We already have the pfdhcplistener 'interface type' so we should stop make it automatic on management interface (handled code wise) and make it by default in the configuration.

[interface eth0.42] type=management,pfdhcplistener

Handle the assignement of the pfdhcplistener the same way we do it for 'portal'.

dwlfrth avatar Oct 19 '15 17:10 dwlfrth

This should be the default yes. Systems outside packetfence should not appear in the packetfence database. Finally I understand why all my non-pf systems ended up being detected by pf. :-)

kkplein avatar Oct 19 '15 19:10 kkplein

Just to make sure we are on the same page, the default value will be to "yes", which mean pfdhcplistener WILL LISTEN on the management interface. We do not want to change the actual behavior, simply improve it by making it customizable. That default behavior will make PacketFence to work the exact same way it is currently, meaning, in an inline setup, systems doing DHCP on the "management side" of PacketFence WILL populate the DB. We simply add the ability to remove pfdhcplistener from the management interface.

dwlfrth avatar Oct 19 '15 19:10 dwlfrth

Yes. Completely understood, and very much appreciated. :-) (kindly ignore my "this should be the default...", that's just an opinion...)

kkplein avatar Oct 19 '15 19:10 kkplein

@inverse-inc/packetfence: should we put this aside considering that we might go forward with FreeRADIUS DHCP and that DHCP listening will then be part of it ?

dwlfrth avatar Jun 21 '16 20:06 dwlfrth

Will wait for freeradius-dhcp implementation

dwlfrth avatar Jun 21 '16 20:06 dwlfrth

I think we should address this and allow that to be configured in the admin interface

julsemaan avatar Apr 05 '18 13:04 julsemaan