Community discussions

MikroTik App
 
ttaiw
just joined
Topic Author
Posts: 18
Joined: Mon Jun 29, 2009 5:48 pm

Feature Request: chang mac format in hotspot mac authent

Thu Oct 25, 2012 12:05 pm

Hi,
I need change format mac for hotspot mac authentication with radius.
current I was test it send mac as user only 'XX:XX:XX:XX:XX:XX',
I need change to 'XX-XX-XX-XX-XX-XX' , I was set mac format in radius tab as 'XX-XX-XX-XX-XX-XX' format
but not working with mac authentication it use XX:XX:XX:XX:XX:XX format only.
Example log.
Oct/25/2012 15:22:24 dhcp,info dhcp1 assigned 10.5.50.254 to 60:EB:69:27:XX:XX
Oct/25/2012 15:22:25 hotspot,debug 00-0C-42-FE-XX-XX: new host detected 60:EB:69:27:XX:XX/10.5.50.254 by UDP :54002 -> 10.5.50.1:53
Oct/25/2012 15:22:25 hotspot,info,debug 60:EB:69:27:XX:XX (10.5.50.254): trying to log in by mac
Oct/25/2012 15:22:25 hotspot,debug 60:EB:69:27:XX:XX (10.5.50.254): local user not found
Oct/25/2012 15:22:25 hotspot,debug 60:EB:69:27:XX:XX (10.5.50.254): sending RADIUS authentication request
Oct/25/2012 15:22:25 hotspot,debug 00-0C-42-FE-XX-XX: dhcp host 60:EB:69:27:XX:XX/10.5.50.254 added, ip 10.5.50.254
Oct/25/2012 15:22:25 radius,debug new request 3f:2e code=Access-Request service=hotspot called-id=00-0C-42-FE-XX-XX
Oct/25/2012 15:22:25 radius,debug sending 3f:2e to 110.164.xxx.xx:1812
Oct/25/2012 15:22:25 radius,debug,packet sending Access-Request with id 8 to 110.164.xxx.xx:1812
Oct/25/2012 15:22:25 radius,debug,packet Signature = 0x6b8b4567327b23c6643c986966334873
Oct/25/2012 15:22:25 radius,debug,packet NAS-Port-Type = 19
Oct/25/2012 15:22:25 radius,debug,packet Calling-Station-Id = "60-EB-69-27-XX-XX"
Oct/25/2012 15:22:25 radius,debug,packet Called-Station-Id = "00-0C-42-FE-XX-XX"
Oct/25/2012 15:22:25 radius,debug,packet NAS-Port-Id = "br_hotspot"
Oct/25/2012 15:22:25 radius,debug,packet User-Name = "60:EB:69:27:XX:XX"
Oct/25/2012 15:22:25 radius,debug,packet NAS-Port = 2150629378
Oct/25/2012 15:22:25 radius,debug,packet Acct-Session-Id = "80300002"
Oct/25/2012 15:22:25 radius,debug,packet Framed-IP-Address = 10.5.50.254
Oct/25/2012 15:22:25 radius,debug,packet MT-Host-IP = 10.5.50.254
Oct/25/2012 15:22:25 radius,debug,packet User-Password = 0x70617373776f7264
Oct/25/2012 15:22:25 radius,debug,packet Service-Type = 1
Oct/25/2012 15:22:25 radius,debug,packet WISPr-Logoff-URL = "http://10.5.50.1/logout"
Oct/25/2012 15:22:25 radius,debug,packet NAS-Identifier = "00-0C-42-FE-XX-XX"
Oct/25/2012 15:22:25 radius,debug,packet NAS-IP-Address = 192.168.3.108
Oct/25/2012 15:22:25 radius,debug resending 3f:2e
Oct/25/2012 15:22:25 radius,debug,packet sending Access-Request with id 8 to 110.164.xxx.xx:1812
Oct/25/2012 15:22:25 radius,debug,packet Signature = 0x6b8b4567327b23c6643c986966334873
Oct/25/2012 15:22:25 radius,debug,packet NAS-Port-Type = 19
Oct/25/2012 15:22:25 radius,debug,packet Calling-Station-Id = "60-EB-69-27-XX-XX"
Oct/25/2012 15:22:25 radius,debug,packet Called-Station-Id = "00-0C-42-FE-XX-XX"
Oct/25/2012 15:22:25 radius,debug,packet NAS-Port-Id = "br_hotspot"
Oct/25/2012 15:22:25 radius,debug,packet User-Name = "60:EB:69:27:XX:XX"
Oct/25/2012 15:22:25 radius,debug,packet NAS-Port = 2150629378
Oct/25/2012 15:22:25 radius,debug,packet Acct-Session-Id = "80300002"
Oct/25/2012 15:22:25 radius,debug,packet Framed-IP-Address = 10.5.50.254
Oct/25/2012 15:22:25 radius,debug,packet MT-Host-IP = 10.5.50.254
Oct/25/2012 15:22:25 radius,debug,packet User-Password = 0x70617373776f7264
Oct/25/2012 15:22:25 radius,debug,packet Service-Type = 1
Oct/25/2012 15:22:25 radius,debug,packet WISPr-Logoff-URL = "http://10.5.50.1/logout"
Oct/25/2012 15:22:25 radius,debug,packet NAS-Identifier = "00-0C-42-FE-XX-XX"
Oct/25/2012 15:22:25 radius,debug,packet NAS-IP-Address = 192.168.3.108
Oct/25/2012 15:22:25 radius,debug resending 3f:2e
Oct/25/2012 15:22:25 radius,debug,packet sending Access-Request with id 8 to 110.164.xxx.xx:1812
Oct/25/2012 15:22:25 radius,debug,packet Signature = 0x6b8b4567327b23c6643c986966334873
Oct/25/2012 15:22:25 radius,debug,packet NAS-Port-Type = 19
Oct/25/2012 15:22:25 radius,debug,packet Calling-Station-Id = "60-EB-69-27-XX-XX"
Oct/25/2012 15:22:25 radius,debug,packet Called-Station-Id = "00-0C-42-FE-XX-XX"
Oct/25/2012 15:22:25 radius,debug,packet NAS-Port-Id = "br_hotspot"
Oct/25/2012 15:22:25 radius,debug,packet User-Name = "60:EB:69:27:XX:XX"
Oct/25/2012 15:22:25 radius,debug,packet NAS-Port = 2150629378
Oct/25/2012 15:22:25 radius,debug,packet Acct-Session-Id = "80300002"
Oct/25/2012 15:22:25 radius,debug,packet Framed-IP-Address = 10.5.50.254
Oct/25/2012 15:22:25 radius,debug,packet MT-Host-IP = 10.5.50.254
Oct/25/2012 15:22:25 radius,debug,packet User-Password = 0x70617373776f7264
Oct/25/2012 15:22:25 radius,debug,packet Service-Type = 1
Oct/25/2012 15:22:25 radius,debug,packet WISPr-Logoff-URL = "http://10.5.50.1/logout"
Oct/25/2012 15:22:25 radius,debug,packet NAS-Identifier = "00-0C-42-FE-XX-XX"
Oct/25/2012 15:22:25 radius,debug,packet NAS-IP-Address = 192.168.3.108

Thanks you very much.

Who is online

Users browsing this forum: atomicduck, kbabioch, seriosha and 31 guests