PacketFence - BTS - PacketFence
View Issue Details
0001819PacketFenceradiuspublic2014-08-19 17:432014-08-19 18:50
cpross90 
 
normalminoralways
newopen 
LinuxRHEL / CentOS6
4.2.2 
 
0001819: Cisco Aironet 1042N periods in MAC
When accounting data is sent to the pf server there are periods in the MAC.

Packetfence does not parse them properly causing bandwidth monitoring to not work correctly.
Use pf with Aironet 1042N.
No tags attached.
Issue History
2014-08-19 17:43cpross90New Issue
2014-08-19 18:31fdurandNote Added: 0003572
2014-08-19 18:47cpross90Note Added: 0003573
2014-08-19 18:50cpross90Note Added: 0003574

Notes
(0003572)
fdurand   
2014-08-19 18:31   
Hi,

what do you mean by periods in the MAC ?

Fabrice
(0003573)
cpross90   
2014-08-19 18:47   
Aug 19 17:39:13 httpd.webservices(1699) INFO: [172.16.0.23] Returning ACCEPT with VLAN 2 and role (pf::Switch::returnRadiusAccessAccept)
Aug 19 17:41:14 httpd.webservices(1699) INFO: Unable to extract MAC from Called-Station-Id: 8875.56da.bf20 (pf::radius::extractApMacFromRadiusRequest)
Aug 19 17:41:14 httpd.webservices(1699) INFO: handling radius autz request: from switch_ip => 172.16.0.22, connection_type => Wireless-802.11-NoEAP,switch_mac => , mac => 38:aa:3c:22:ae:cf, port => 1496, username => 38aa3c22aecf (pf::radius::authorize)
Aug 19 17:41:14 httpd.webservices(1699) INFO: MAC: 38:aa:3c:22:ae:cf is of status unreg; belongs into registration VLAN (pf::vlan::getRegistrationVlan)
(0003574)
cpross90   
2014-08-19 18:50   
It looks like the from /lib/pf/radius.pm sub extractApMacFromRadiusRequest only strips :'s or -'s.