PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001216PacketFencecorepublic2011-05-09 12:062011-10-25 09:00
Reporterobilodeau 
Assigned Toobilodeau 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version2.2.1Fixed in Version2.2.1 
Summary0001216: race condition when trying to categorize auto-registered nodes based on DHCP fingerprint
Descriptionpfdhcplistener 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.
TagsNo tags attached.
fixed in git revision
fixed in mtn revision53b22e92796d16aef78e1c8112bb56386bc51bb9
Attached Filespatch file icon pfdhcplistener-autoreg-race-condition-fix.patch [^] (5,002 bytes) 2011-05-09 14:32 [Show Content]

- Relationships

-  Notes
(0002062)
obilodeau (reporter)
2011-05-09 14:27

attached patch
(0002063)
obilodeau (reporter)
2011-05-09 14:28

fix committed in 2.2 branch

- Issue History
Date Modified Username Field Change
2011-05-09 12:06 obilodeau New Issue
2011-05-09 12:06 obilodeau Status new => assigned
2011-05-09 12:06 obilodeau Assigned To => obilodeau
2011-05-09 14:27 obilodeau Note Added: 0002062
2011-05-09 14:28 obilodeau mtn revision => 53b22e92796d16aef78e1c8112bb56386bc51bb9
2011-05-09 14:28 obilodeau Note Added: 0002063
2011-05-09 14:28 obilodeau Status assigned => resolved
2011-05-09 14:28 obilodeau Fixed in Version => +1
2011-05-09 14:28 obilodeau Resolution open => fixed
2011-05-09 14:32 obilodeau File Added: pfdhcplistener-autoreg-race-condition-fix.patch
2011-06-16 15:29 obilodeau Fixed in Version +1 => 2.2.1
2011-06-16 15:30 obilodeau Status resolved => closed
2011-10-25 09:00 obilodeau Target Version +1 => 2.2.1


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker