PacketFence - BTS - PacketFence
View Issue Details
0001495PacketFencehardware modulespublic2012-07-27 14:422012-10-19 13:54
fgaudreault 
dwuelfrath 
highminorrandom
resolvedfixed 
3.4.1 
3.6.0devel 
0001495: Printable MAC bug on SNMP GETs
Yup! We've seen this bug again, but on SNMP GETs.

Some hardware module use gettable in order to get the list of associated devices. On some occasions, the mac listed will be printable, and the gettable will list them as strings instead of HEX strings which will cause deauth issues.

Impacted Modules so far:
HP/Controller_MSM710.pm
No tags attached.
related to 0001098closed obilodeau hard-coded snmptrapd invocation fails on "printable" MAC addresses 
Issue History
2012-07-27 14:42fgaudreaultNew Issue
2012-07-27 14:42fgaudreaultDescription Updated
2012-07-27 14:43fgaudreaultDescription Updated
2012-07-27 15:18dwuelfrathAssigned To => dwuelfrath
2012-07-27 15:18dwuelfrathStatusnew => assigned
2012-07-27 15:18dwuelfrathProjectionnone => minor fix
2012-07-27 15:18dwuelfrathTarget Version => devel
2012-07-27 15:30dwuelfrathNote Added: 0002851
2012-08-07 09:43obilodeauNote Added: 0002892
2012-08-07 09:43obilodeauSeveritymajor => minor
2012-08-07 09:43obilodeauTarget Versiondevel => +2
2012-08-07 09:44obilodeauRelationship addedrelated to 0001098
2012-08-07 09:44obilodeauNote Added: 0002893
2012-08-07 09:44obilodeauTarget Version+2 => +1
2012-10-19 13:54fgaudreaultNote Added: 0003179
2012-10-19 13:54fgaudreaultStatusassigned => resolved
2012-10-19 13:54fgaudreaultResolutionopen => fixed
2012-10-19 13:54fgaudreaultFixed in Version => devel
2012-10-19 13:54fgaudreaultTarget Versiongeneral => 3.6.0

Notes
(0002851)
dwuelfrath   
2012-07-27 15:30   
work should be done in fix/1495-printable-mac-hp-module
(0002892)
obilodeau   
2012-08-07 09:43   
It probably affects several other modules as well.. All MACs not encoded in OID format could be affected. Do not mark as resolved until all of them are reviewed and fixed.

See the fix in 0001098 for an example of how to fix it globally and the kind of effort that should take place. Here's the commit: https://github.com/inverse-inc/packetfence/commit/a495ff232bdffa32c9b7ec526598389790703a60 [^]
(0002893)
obilodeau   
2012-08-07 09:44   
That said there should be a lot less problematic places since most of the time MACs are encoded in OID format.
(0003179)
fgaudreault   
2012-10-19 13:54   
This has been fixed for HP for sure. Let's close it, and reopen if see other problems.