MAC authentication bypass --- How am I supposedto?edit?theusers file to include multiple MAC addresses??

Arran Cudbard-Bell A.Cudbard-Bell at sussex.ac.uk
Thu Dec 24 21:12:31 CET 2009


Difan Zhao wrote:
>
> Hey guys,
>
> So I finally started configuring this *MAC auth bypass* thing... I am 
> editing the *raddb/policy.conf* to include the 
> "*rewrite_calling_station_id*" function/module however when I am 
> trying to run the *radiusd –X* I got this error:
>
> "/etc/raddb/policy.conf[72]: Parse error in condition at: 
> request:Calling-Station-Id =~ 
> /00-A0-08-([0-9A-F]{2})-([[0-9A-F]{2})-([[0-9A-F]{2})/i)" error
>
> Here is what I added in the policy.conf. I appended to the back of the 
> file. I never changed anything else in this file.
>
Curly braces need to be inline... don't assume the parser is clever.



More information about the Freeradius-Users mailing list