Version
- Requires 2.x
- freeradius2-2.1.12-5.el5
1 2 3 4 5 6 7 8 | |
Reason
- To allow an offsite vendor control of radius, but limit their ability to supply bad radius attribuites.
- MAIN issue: ”’Protect your network”’ from disallowing the vendor to supply a misconfigured ”’FRAMED-IP-ADDRESS”’ and/or ”’FRAMED-ROUTE”’ that could be injected into OSPF or whatever routing protocol you might use.
This is accomplished with the rlm_attr_filter FreeRADIUS Module
The rlm_attr_filter module exists for filtering certain attributes and values in received ( or transmitted ) radius packets. It gives the server a flexible framework to filter the attributes we send to or receive from home servers or NASes. This makes sense, for example, in an out-sourced dialup situation to various policy decisions, such as restricting a client to certain ranges of Idle-Timeout or Session-Timeout.
Config files
- Vendor Name: ”’rarforge.com”’ (we’ll use that for the realm)
- Allowed Framed-IP-Address: ”’10.0.0.x”’ and ”’192.168.5.x”’
- Allowed Framed-Netmask: ”’255.255.255.255”’
- Allowed Framed-Route: ”’NONE”’
- Framed-Filter-ID: ”’NONE”’ – login will fail if access-list doesn’t exist.
/etc/raddb/clients.conf
- Update your clients secret - for now we will just be testing from localhost.
1 2 3 4 5 | |