PacketFence - BTS - PacketFence
View Issue Details
0000921PacketFencecorepublic2010-02-26 12:072012-02-29 10:58
rbalzard 
obilodeau 
normalminorhave not tried
closedfixed 
 
1.9.0 
0000921: generateFakeMac() in Cisco.pm does not work on Catalyst 2960 with Fa and Gi nor with Staked switches
In the actual generateFakeMac() function we use the 2 last numbers of the ifIndex to generate a fake MAC to secure on a port.There canot be the same MAC address secured on 2 different ports at the same time.

Issue 0000001:
On a Catalyst 2960, ifIndex start from 10001 to 10047,48 for FastEthernet and from 10101 for GigEthernet. So we canot secure Fa0/1 and Gi0/1 cause the fake MAC generated for each of them is 0200.0000.0001

Issue 0000002
On a stacked Catalyst 3750:
- IfIndex starts at 10101 on module 1
- IfIndex starts at 10601 on module 2
- IfIndex starts at 11101 on module 3
- IfIndex starts at 11601 on module 4
...
Here again if we secure Fa0/1 on each module, the fake make generated is 0200.0000.0001.
No tags attached.
Issue History
2010-02-26 12:07rbalzardNew Issue
2010-02-26 12:07rbalzardStatusnew => assigned
2010-02-26 12:07rbalzardAssigned To => obilodeau
2010-02-26 14:02obilodeauNote Added: 0001472
2010-02-26 14:02obilodeauStatusassigned => resolved
2010-02-26 14:02obilodeauFixed in Version => 1.8.8
2010-02-26 14:02obilodeauResolutionopen => fixed
2010-04-29 13:38obilodeauFixed in Version1.8.8 => 1.9.0
2011-01-26 15:38obilodeauStatusresolved => closed
2012-02-29 10:58obilodeauCategoryfuture => core

Notes
(0001472)
obilodeau   
2010-02-26 14:02   
fixed in mtn rev: d72b67eb813c71a6d78716a07970b7a1000c5acf