|
From: Olivier B. <obi...@in...> - 2010-04-14 13:14:25
|
Hi Raphael, R.Formoso wrote: > Good day to all, > > I'd like to ask how to set PacketFence to change the status of a registered node/user from Registered to Unregistered as soon as it disconnects to the LAN. > > I am using ARP mode in PacketFence. I appreciate your kind input. Thank you. > Check for the expire_session parameter under [registration] in conf/pf.conf. Here's the pf.conf.defaults entry: # registration.expire_session # If expire_mode is set to "session", this is the amount of time after # a node's iplog entry is closed that it reverts to an unregistered # state. # Warning: Does not work in vlan isolation mode! expire_session=5m To enable it, you need to set session into expire_mode. For ex, in your pf.conf have: [registration] ... expire_mode=session expire_session=5m So if there's no ARP activity from the node for more than 5 minutes it'll be unregistered. Let us know how it goes. Cheers! -- Olivier Bilodeau obi...@in... :: +1.514.447.4918 *115 :: www.inverse.ca Inverse inc. :: Leaders behind SOGo (www.scalableogo.org) and PacketFence (www.packetfence.org) |