FreeRADIUS InkBridge

Unlang

The Unlang policy language in FreeRADIUS enables you to create policies with ease. Unlang enables conditional checks and updates to request or response attributes based on those checks. Unlang’s syntax is similar to configuration files. It supports comments, whitespace, and sections. The main difference is that configuration files are static and declarative. They define variables and values that remain static while the server runs.

In contrast, Unlang operates at runtime. It processes each incoming packet and evaluates conditional statements, like if for every packet. This allows dynamic editing of attribute contents or lists, making it more flexible for "in-flight" requests.