I have FreeRADIUS Version 1.1.0 I want to disallow login to access points for every hosts that are not in my network.
So at the end of /usr/local/etc/raddb/users file I put regular expression that checks if Calling-Station-Id IS NOT in list of my hosts... DEFAULT Auth-Type := REJECT, Calling-Station-Id !~ "008012323244|002938475473|<and many other macs...>" but it is about 2300 chars in one line and my freeradius says: /usr/local/etc/raddb/users[330]: Parse error (check) for entry DEFAULT: Expected end of line or comma Errors reading /usr/local/etc/raddb/users radiusd.conf[1050]: files: Module instantiation failed. radiusd.conf[1796] Unknown module "files". radiusd.conf[1730] Failed to parse authorize section. how long can be regular expression and is there any other way to solve this problem? Norboro
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html