PacketFence - BTS - PacketFence
View Issue Details
0001216PacketFencecorepublic2011-05-09 12:062011-10-25 09:00
obilodeau 
obilodeau 
normalminoralways
closedfixed 
 
2.2.12.2.1 
53b22e92796d16aef78e1c8112bb56386bc51bb9
0001216: race condition when trying to categorize auto-registered nodes based on DHCP fingerprint
pfdhcplistener triggers violations for DHCP fingerprint then it modifies the node entry to update the fingerprint record of a node.

The violation add process is unaware of the dhcp fingerprint so to categorize a node based on DHCP fingerprint a node_view_with_fingerprint() call is made. However this call is made too early as pfdhcplistener hasn't done its node_modify yet.

We need to update the node's record and then trigger appropriate violations.
No tags attached.
patch pfdhcplistener-autoreg-race-condition-fix.patch (5,002) 2011-05-09 14:32
https://www.packetfence.org/bugs/file_download.php?file_id=94&type=bug
Issue History
2011-05-09 12:06obilodeauNew Issue
2011-05-09 12:06obilodeauStatusnew => assigned
2011-05-09 12:06obilodeauAssigned To => obilodeau
2011-05-09 14:27obilodeauNote Added: 0002062
2011-05-09 14:28obilodeaumtn revision => 53b22e92796d16aef78e1c8112bb56386bc51bb9
2011-05-09 14:28obilodeauNote Added: 0002063
2011-05-09 14:28obilodeauStatusassigned => resolved
2011-05-09 14:28obilodeauFixed in Version => +1
2011-05-09 14:28obilodeauResolutionopen => fixed
2011-05-09 14:32obilodeauFile Added: pfdhcplistener-autoreg-race-condition-fix.patch
2011-06-16 15:29obilodeauFixed in Version+1 => 2.2.1
2011-06-16 15:30obilodeauStatusresolved => closed
2011-10-25 09:00obilodeauTarget Version+1 => 2.2.1

Notes
(0002062)
obilodeau   
2011-05-09 14:27   
attached patch
(0002063)
obilodeau   
2011-05-09 14:28   
fix committed in 2.2 branch