PacketFence - BTS - PacketFence
View Issue Details
0000887PacketFencecorepublic2009-12-30 14:562015-02-13 15:26
fgaudreault 
 
normalmajorhave not tried
closedopen 
3.2.0 
 
0000887: node_cleanup, node_delete and locationlog
if expire.node is set (for example expire.node=36m which means inactive nodes should be deleted after 36 months with no arp request) in pf.conf, then pfmon tries to cleanup nodes by calling node_cleanup (see pfmon, line 558)

This function compares the actual time with the last arp time for each node and tries to delete unactive nodes.

The thing is that, with VLAN isolation, PF can NOT delete a node with an open entry in locationlog. With port-security, most of the entries in locationlog are open so the nodes just can NOT be cleaned up.

Here is what we see in the logs:
Dec 30 14:15:41 smon1 pf: node_cleanup(6): mac 00:04:75:7b:e6:1b not seen for 7776000 seconds, deleting
Dec 30 14:15:41 smon1 pf: node_delete(6): VLAN isolation mode enabled and 00:04:75:7b:e6:1b has open locationlog entry. Node deletion prohibited

Maybe in this case (and in some other cases ?...) PF should be able to delete a node with an open entry in locationlog.

Need more thoughts and further investigation on this...
No tags attached.
Issue History
2009-12-30 14:56rbalzardNew Issue
2010-05-05 14:14obilodeauCategory1.8.7 => feature
2011-01-18 11:41obilodeauTarget Version => 2.1.0
2011-03-03 15:15obilodeauTarget Version2.1.0 => +1
2011-03-03 15:18obilodeauTarget Version+1 => +2
2012-02-29 10:53obilodeauCategoryfeature => core
2012-03-15 11:58fgaudreaultStatusnew => assigned
2012-03-15 11:58fgaudreaultAssigned To => fgaudreault
2012-03-15 11:58fgaudreaultReporterrbalzard => 94jaccha95107
2012-03-15 11:58fgaudreaultSeverityminor => major
2012-03-15 11:58fgaudreaultProduct Version => 3.2.0
2012-03-15 11:59fgaudreaultNote Added: 0002617
2012-03-15 11:59fgaudreaultNote Edited: 0002617
2012-03-15 12:01fgaudreaultReporter94jaccha95107 => fgaudreault
2012-03-15 12:01fgaudreaultAssigned Tofgaudreault =>
2012-10-19 14:03fgaudreaultTarget Versionlong-term => general
2015-02-13 15:26lmunroNote Added: 0003691
2015-02-13 15:26lmunroStatusassigned => closed

Notes
(0002617)
fgaudreault   
2012-03-15 11:59   
Bumping the severity of this one. We should be able to delete a node from the UI.

Feature requested from more than 1 client now.

(0003691)
lmunro   
2015-02-13 15:26   
Old issues.
Most are not relevant to PF 4 and up.

Let's reopen the ones that matter when we move to github.