chilli-radius(5)

πŸ“¦ version 1.7, in alpine 3.24

🌸 chilli-radius β€” RADIUS in chilli 🌸

Okay so bestie, welcome to chilli-radius(5), straight from the File Formats Manual. This is the page that spills the tea on how chilli does RADIUS, and honestly? It’s giving essential lore. πŸ’…

🌟 NAME 🌟

chilli-radius β€” Information about RADIUS in chilli.

πŸ’– DESCRIPTION πŸ’–

Okay so here’s the vibe: chilli uses RADIUS for access provisioning and statistics. It follows the standards and best practices defined in RFCs as best possible. But no cap, chilli does take some liberties and bends the rules in places to better adapt to the more dynamic application of captive portals. πŸŒ€

See http://www.coova.org/CoovaChilli/RADIUS for details. Go look, iykyk. ✨

πŸ¦‹ ATTRIBUTES πŸ¦‹

The RADIUS Attributes used by chilli and a short description β€” yes, all of them, no skips:

  • User-name (1) β€” Full username as entered by the user. πŸ’–
  • User-Password (2) β€” Used for UAM as alternative to CHAP-Password and CHAP-Challenge.
  • CHAP-Password (3) β€” Used for UAM CHAP Authentication.
  • CHAP-Challenge (60) β€” Used for UAM CHAP Authentication.
  • EAP-Message (79) β€” Used for WPA Authentication.
  • NAS-IP-Address (4) β€” IP address of Chilli (set by the nasip or radiuslisten option, and otherwise 0.0.0.0).
  • Service-Type (6) β€” Set to Login (1) for normal authentication requests. The Access-Accept message from the radius server for configuration management messages must also be set to Administrative-User. 🫑
  • Framed-IP-Address (8) β€” IP address of the user, which is configurable during MAC authentication in the Access-Accept.
  • Framed-IP-Netmask (9) β€” IP netmask of the user, which is configurable during MAC authentication in the Access-Accept.
  • Filter-ID (11) β€” Filter ID pass on to scripts possibly.
  • Reply-Message (18) β€” Reason of reject if present.
  • State (24) β€” Sent to chilli in Access-Accept or Access-Challenge. Used transparently in subsequent Access-Request.
  • Class (25) β€” Copied transparently by chilli from Access-Accept to Accounting-Request.
  • Session-Timeout (27) β€” Logout once session timeout is reached (seconds).
  • Idle-Timeout (28) β€” Logout once idle timeout is reached (seconds).
  • Called-Station-ID (30) β€” Set to the nasmac option or the MAC address of chilli.
  • Calling-Station-ID (31) β€” MAC address of client.
  • NAS-Identifier (32) β€” Set to radiusnasid option if present.
  • Acct-Status-Type (40) β€” 1=Start, 2=Stop, 3=Interim-Update.
  • Acct-Input-Octets (42) β€” Number of octets received from client.
  • Acct-Output-Octets (43) β€” Number of octets transmitted to client.
  • Acct-Session-ID (44) β€” Unique ID to link Access-Request and Accounting-Request messages.
  • Acct-Session-Time (46) β€” Session duration in seconds.
  • Acct-Input-Packets (47) β€” Number of packets received from client.
  • Acct-Output-Packets (48) β€” Number of packets transmitted to client.
  • Acct-Terminate-Cause (49) β€” 1=User-Request, 2=Lost-Carrier, 4=Idle-Timeout, 5=Session-Timeout, 11=NAS-Reboot.
  • Acct-Input-Gigawords (52) β€” Number of times the Acct-Input-Octets counter has wrapped around.
  • Acct-Output-Gigawords (53) β€” Number of times the Acct-Output-Octets counter has wrapped around.
  • NAS-Port-Type (61) β€” 19=Wireless-IEEE-802.11.
  • Message-Authenticator (80) β€” Is always included in Access-Request. If present in Access-Accept, Access-Challenge or Access-reject chilli will validate that the Message-Authenticator is correct.
  • Acct-Interim-Interval (85) β€” If present in Access-Accept chilli will generate interim accounting records with the specified interval (seconds).
  • WISPr-Location-ID (14122, 1) β€” Location ID is set to the radiuslocationid option if present. Should be in the format: isocc=<ISO_Country_Code>, cc=<E.164_Country_Code>, ac=<E.164_Area_Code>, network=<ssid/ZONE>.
  • WISPr-Location-Name (14122, 2) β€” Location Name is set to the radiuslocationname option if present. Should be in the format: <OPERATOR_NAME>,<LOCATION>.
  • WISPr-Logoff-URL (14122, 3) β€” Included in Access-Request to notify the operator of the log off URL. Defaults to http://uamlisten:uamport/logoff.
  • WISPr-Redirection-URL (14122, 4) β€” If present the client will be redirected to this URL once authenticated. This URL should include a link to WISPr-Logoff-URL in order to enable the client to log off.
  • WISPr-Bandwidth-Max-Up (14122, 7) β€” Maximum transmit rate (b/s). Limits the bandwidth of the connection. Note that this attribute is specified in bits per second.
  • WISPr-Bandwidth-Max-Down (14122, 8) β€” Maximum receive rate (b/s). Limits the bandwidth of the connection. Note that this attribute is specified in bits per second.
  • WISPr-Session-Terminate-Time (14122, 9) β€” The time when the user should be disconnected in ISO 8601 format (YYYY-MM-DDThh:mm:ssTZD). If TZD is not specified local time is assumed. For example a disconnect on 18 December 2001 at 7:00 PM UTC would be specified as 2001-12-18T19:00:00+00:00.
  • CoovaChilli-Max-Input-Octets (14559, 1) β€” Maximum number of octets the user is allowed to transmit. After this limit has been reached the user will be disconnected.
  • CoovaChilli-Max-Output-Octets (14559, 2) β€” Maximum number of octets the user is allowed to receive. After this limit has been reached the user will be disconnected.
  • CoovaChilli-Max-Total-Octets (14559, 3) β€” Maximum total octets the user is allowed to send or receive. After this limit has been reached the user will be disconnected.
  • CoovaChilli-Bandwidth-Max-Up (14559, 4) β€” Maximum bandwidth up.
  • CoovaChilli-Bandwidth-Max-Down (14559, 5) β€” Maximum bandwidth down.
  • CoovaChilli-Config (14559, 6) β€” Configurations passed between chilli and back-end as name value pairs.
  • CoovaChilli-Lang (14559, 7) β€” Language selected in user interface.
  • CoovaChilli-Version (14559, 8) β€” Contains the version of the running CoovaChilli.
  • CoovaChilli-DHCP-Netmask (14559, 61) β€” DHCP IP netmask of the user, which is configurable during MAC authentication in the Access-Accept.
  • CoovaChilli-DHCP-DNS1 (14559, 62) β€” DHCP DNS1 of the user, which is configurable during MAC authentication in the Access-Accept.
  • CoovaChilli-DHCP-DNS2 (14559, 63) β€” DHCP DNS2 of the user, which is configurable during MAC authentication in the Access-Accept.
  • CoovaChilli-DHCP-Gateway (14559, 64) β€” DHCP Gateway of the user, which is configurable during MAC authentication in the Access-Accept.
  • CoovaChilli-DHCP-Domain (14559, 65) β€” DHCP Domain of the user, which is configurable during MAC authentication in the Access-Accept.
  • MS-MPPE-Send-Key (311,16) β€” Used for WPA.
  • MS-MPPE-Recv-Key (311,17) β€” Used for WPA.

πŸŽ€ SEE ALSO πŸŽ€

🌈 NOTES 🌈

See http://coova.github.io/ for further documentation and community support. The community support is lowkey iconic. 🫢

πŸ‘‘ AUTHORS πŸ‘‘

  • David Bird <david@coova.com>
  • Copyright (C) 2006-2011 Coova Techcnologies, LLC <support@coova.com>,
  • CoovaChilli is licensed under the GNU General Public License.

That’s the whole tea, bestie β€” stay hydrated, keep your RADIUS vibes immaculate, and catch you in the group chat. πŸ’…πŸ«Ά chilli-radius(5), August 2007 🌈

πŸ“¦ where this page comes from