PacketFence - BTS - PacketFence
View Issue Details
0000987PacketFencehardware modulespublic2010-05-07 14:012011-01-26 15:44
obilodeau 
obilodeau 
normalminorhave not tried
closedfixed 
 
2.0.12.0.1 
331ededae74131a807216827bc739919a5b83c16
0000987: authorizeMAC of Cisco Catalyst 2960 has a bug
When authorizing a MAC, $deauthVlan is used instead of $authVlan.
    if ($authMac) {
        my @macArray = split( /:/, $authMac );
        my $completeOid
            = $oid_cpsIfVlanSecureMacAddrRowStatus . "." . $ifIndex;
        foreach my $macPiece (@macArray) {
            $completeOid .= "." . hex($macPiece);
        }
        $completeOid .= "." . $deauthVlan;
        push @oid_value, ( $completeOid, Net::SNMP::INTEGER, 4 );
    }


Was this done on purpose or not, we don't remember.

What we know is: right now, it works. Maybe that's because we do a setVlan first and send ->getVlan() in $deauth.

It happened around:
original submission, correct: e8ce7939919e9d4d41579a296e587aaf91870710
disapproval of above: 646e4f68ca997c4432cec6fcd32cbb483803ffa9
re-submission with bug: 1f09da52ab499fe94fa1c325b27e56232222c23d

We won't do it for 1.9.0 but for next feature release, we will try to do the right thing in there.
No tags attached.
Issue History
2010-05-07 14:01obilodeauNew Issue
2010-05-07 14:01obilodeauStatusnew => assigned
2010-05-07 14:01obilodeauAssigned To => obilodeau
2010-11-19 14:25obilodeauTarget Version1.10.0 => 2.0.0
2011-01-18 09:47obilodeauTarget Version2.0.0 => 2.0.1
2011-01-21 15:08fgaudreaultmtn revision => 331ededae74131a807216827bc739919a5b83c16
2011-01-21 15:08fgaudreaultStatusassigned => resolved
2011-01-21 15:08fgaudreaultFixed in Version => 2.0.1
2011-01-21 15:08fgaudreaultResolutionopen => fixed
2011-01-26 15:44obilodeauStatusresolved => closed

There are no notes attached to this issue.