Reference Documentation
This comprehensive reference documents all aspects of the unlang syntax and its features. These details help the readers’ understanding and use of the configuration language. Additionally, the FreeRADIUS configuration is organised into directories for modules, virtual servers, and policies. To enable specific modules or virtual servers, create symbolic links in the mods-enabled and sites-enabled directories. This hierarchy ensures clarity and manageability during setup. The man pages offer a quick way to look up functionality and options, serving as a handy reference for administrators.
Unlang Policy Language
The full syntax of unlang is described in this section. Packets are processed via the Unlang Policy Language, also referred to as unlang. Policies allow the server to read information in databases, perform if / then / else checks, add content to replies, along with many other actions.
Dynamic Expansions
Dynamic expansions may also be referred to as "xlats" for historical reasons.When processing packets, it’s possible to call functions or do string manipulation with attribute contents. The dynamic expansion documentation describes how this is done.
Dictionaries
Where attribute names and data types are defined. During normal operation, the server receives packets of information from the network. Data in the packets is usually encoded in pre-defined "attributes" (RADIUS), or "options" (DHCP). The definitions are loaded from dictionary files.
Configuration Files
The server includes a large number of configuration files. These files are automatically converted to HTML for the on-line documentation.
Modules
The FreeRADIUS server uses modules to manage different functions and tasks. Most of the modules are enabled ensuring compatibility with most authentication protocols. FreeRADIUS supports conditional module loading, enhancing flexibility and configuration management.
Policies
Contains policies, written in unlang, that determine how the server processes messages. For example, policy.d/debug determines what information to print to the terminal when the server is run in debug mode. >It’s important to note that the policy.d directory is not the only place containing policies. Policies are anything written in Unlang, throughout the configuration files, which describes how data should be processed as it flows through the processing sections.
Virtual Servers
Describes how configuration files are used to manage virtual servers in FreeRADIUS. Each virtual server has its own configuration file, ensuring settings organized and easy to manage. FreeRADIUS provides default configurations for over 30 virtual servers, giving users a wide range of ready-to-use examples and templates.
Man Pages
These man pages are for quick reference and maintaining compatibility over time. You can type man radiusd on the command line to access the same information. The man pages offer concise summaries of their features.