Packages and Binaries:

freeradius

High-performance and highly configurable RADIUS server
FreeRADIUS is a high-performance RADIUS server with support for:

  • Authentication by local files, SQL, Kerberos, LDAP, PAM, and more.
  • Powerful policy configuration language.
  • Proxying and replicating requests by any criteria.
  • Support for many EAP types; TLS, PEAP, TTLS, etc.
  • Many vendor-specific attributes.
  • Regexp matching in string attributes. and lots more.

Installed size: 3.38 MB
How to install: sudo apt install freeradius

Dependencies:
  • freeradius-common
  • freeradius-config
  • libc6
  • libcrypt1
  • libct4
  • libfreeradius3
  • libgdbm6t64
  • libjson-c5
  • libpam0g
  • libperl5.42
  • libreadline8t64
  • libsqlite3-0
  • libssl3t64
  • libsystemd0
  • libtalloc2
  • libwbclient0
  • perl
  • systemd | systemd-standalone-tmpfiles | systemd-tmpfiles
checkrad

See if a user is (still) logged in on a certain port.

root@kali:~# checkrad -h
Usage: checkrad nas_type nas_ip nas_port login session_id

freeradius

Authentication, Authorization and Accounting server

root@kali:~# freeradius -h
Usage: freeradius [options]
Options:
  -C            Check configuration and exit.
  -f            Run as a foreground process, not a daemon.
  -h            Print this help message.
  -i <ipaddr>   Listen on ipaddr ONLY.
  -l <log_file> Logging output will be written to this file.
  -m            On SIGINT or SIGQUIT clean up all used memory instead of just exiting.
  -n <name>     Read raddb/name.conf instead of raddb/radiusd.conf.
  -p <port>     Listen on port ONLY.
  -P            Always write out PID, even with -f.
  -s            Do not spawn child processes to handle requests (same as -ft).
  -t            Disable threads.
  -v            Print server version information.
  -X            Turn on full debugging (similar to -tfxxl stdout).
  -x            Turn on additional debugging (-xx gives more debugging).

rad_counter

Query and maintain FreeRADIUS rlm_counter DB file.

root@kali:~# rad_counter -h
Usage: rad_counter --file=<counter filename> [OPTION...]
Query and maintain FreeRADIUS rlm_counter DB file.

Arguments:
--file=<filename>               Counter DB filename.

Options:
--user=<username>               Information for specific user.
--match=<regexp>                Information for matching users.
--reset=<number>                Reset counter to <number>.
                                If divisor is set use it,
                                else <number> means seconds.
--help                          Show this help screen.
--(hours|minutes|seconds)       Specify information divisor.

raddebug

Display debugging output from a running server.

root@kali:~# raddebug -h
Illegal option -h
Usage: raddebug: [-c condition] [-d directory] [-n name] [-D dictdir]  [-i client-ip-address] [-I client-ipv6-address] [-f socket_file] [-t timeout] [-u user]

radmin

FreeRADIUS Administration tool

root@kali:~# radmin -h
Usage: radmin [ args ]
  -d raddb_dir    Configuration files are in "raddbdir/*".
  -D <dictdir>    Set main dictionary directory (defaults to /usr/share/freeradius).
  -e command      Execute 'command' and then exit.
  -E              Echo commands as they are being executed.
  -f socket_file  Open socket_file directly, without reading radius.conf
  -h              Print usage help information.
  -i input_file   Read commands from 'input_file'.
  -n name         Read raddb/name.conf instead of raddb/radiusd.conf
  -q              Quiet mode.
  -v              Show program version information.

rlm_sqlippool_tool

Manage SQL IP pools

root@kali:~# rlm_sqlippool_tool -h
Usage:
  rlm_sqlippool_tool -p <pool_name> -s <range_start> -e <range_end> -t <table_name> (-d <sql_dialect> | -f <raddb_dir> [ -i <instance> ]) [ -c <capacity> ] [ -x <existing_ips_file> ]
or:
  rlm_sqlippool_tool -y <pool_defs_yaml_file> -t <table_name> (-d <dialect> | -f <raddb_dir> [ -i <instance> ]) [ -x <existing_ips_file> ]


freeradius-common

FreeRADIUS common files
This package contains common files used by several of the other packages from the FreeRADIUS project.

Installed size: 1.30 MB
How to install: sudo apt install freeradius-common

Dependencies:
  • systemd | systemd-standalone-sysusers | systemd-sysusers

freeradius-config

FreeRADIUS default config files
freeradius-config contains the default configuration for FreeRADIUS.

You can install a custom package which sets “Provides: freeradius-config” in order to use the FreeRADIUS packages without any default configuration getting into your way.

Installed size: 1.31 MB
How to install: sudo apt install freeradius-config

Dependencies:
  • ca-certificates
  • freeradius-common
  • make
  • openssl
  • ssl-cert

freeradius-dhcp

DHCP module for FreeRADIUS server
The FreeRADIUS server can act as a DHCP server, and this module is necessary for that.

Installed size: 119 KB
How to install: sudo apt install freeradius-dhcp

Dependencies:
  • freeradius
  • libc6

freeradius-iodbc

IODBC module for FreeRADIUS server
The FreeRADIUS server can use iODBC to access databases to authenticate users and do accounting, and this module is necessary for that.

Installed size: 62 KB
How to install: sudo apt install freeradius-iodbc

Dependencies:
  • freeradius
  • libc6
  • libiodbc2

freeradius-krb5

Kerberos module for FreeRADIUS server
The FreeRADIUS server can use Kerberos to authenticate users, and this module is necessary for that.

Installed size: 68 KB
How to install: sudo apt install freeradius-krb5

Dependencies:
  • freeradius
  • libc6
  • libcom-err2
  • libkrb5-3

freeradius-ldap

LDAP module for FreeRADIUS server
The FreeRADIUS server can use LDAP to authenticate users, and this module is necessary for that.

Installed size: 150 KB
How to install: sudo apt install freeradius-ldap

Dependencies:
  • freeradius
  • libc6
  • libldap2

freeradius-memcached

Memcached module for FreeRADIUS server
The FreeRADIUS server can cache data in memcached and this package contains the required module.

Installed size: 72 KB
How to install: sudo apt install freeradius-memcached

Dependencies:
  • freeradius
  • libc6
  • libmemcached11t64

freeradius-mysql

MariaDB module for FreeRADIUS server
The FreeRADIUS server can use MariaDB to authenticate users and do accounting, and this module is necessary for that.

Installed size: 72 KB
How to install: sudo apt install freeradius-mysql

Dependencies:
  • freeradius
  • libc6
  • libmariadb3

freeradius-postgresql

PostgreSQL module for FreeRADIUS server
The FreeRADIUS server can use PostgreSQL to authenticate users and do accounting, and this module is necessary for that.

Installed size: 91 KB
How to install: sudo apt install freeradius-postgresql

Dependencies:
  • freeradius
  • libc6
  • libpq5

freeradius-python3

Python 3 module for FreeRADIUS server
This package is required to add Python 3 functionality to the FreeRADIUS server.

It was introduced in FreeRADIUS 3.0.20 as EXPERIMENTAL module. Use at your own risk.

Installed size: 89 KB
How to install: sudo apt install freeradius-python3

Dependencies:
  • freeradius
  • libc6
  • libpython3.14

freeradius-redis

Redis module for FreeRADIUS server
This module is required to enable the FreeRADIUS server to access Redis databases.

Installed size: 106 KB
How to install: sudo apt install freeradius-redis

Dependencies:
  • freeradius
  • libc6
  • libhiredis1.1.0

freeradius-rest

REST module for FreeRADIUS server
The FreeRADIUS server can make calls to remote web APIs, and this module is necessary for that.

Installed size: 100 KB
How to install: sudo apt install freeradius-rest

Dependencies:
  • freeradius
  • libc6
  • libcurl4t64
  • libjson-c5

freeradius-utils

FreeRADIUS client utilities
This package contains various client programs and utilities from the FreeRADIUS Server project, including:

  • radclient
  • radcrypt
  • radeapclient
  • radlast
  • radsecret
  • radsniff
  • radsqlrelay
  • radtest
  • radwho
  • radzap
  • rlm_ippool_tool
  • smbencrypt

Installed size: 461 KB
How to install: sudo apt install freeradius-utils

Dependencies:
  • freeradius-common
  • freeradius-config
  • libc6
  • libfreeradius3
  • libgdbm6t64
  • libjson-c5
  • libpcap0.8t64
  • libssl3t64
  • libtalloc2
  • perl
radclient

Send packets to a RADIUS server, show reply

root@kali:~# radclient --help
radclient: invalid option -- '-'
Usage: radclient [options] server[:port] <command> [<secret>]
  <command>              One of auth, acct, status, coa, disconnect or auto.
  -4                     Use IPv4 address of server
  -6                     Use IPv6 address of server.
  -b                     Mandate checks for Blast RADIUS issue (this is not set by default).
  -c <count>             Send each packet 'count' times.
  -d <raddb>             Set user dictionary directory (defaults to /etc/freeradius/3.0).
  -D <dictdir>           Set main dictionary directory (defaults to /usr/share/freeradius).
  -f <file>[:<file>]     Read packets from file, not stdin.
                         If a second file is provided, it will be used to verify responses
  -F                     Print the file name, packet number and reply code.
  -h                     Print usage help information.
  -n <num>               Send N requests/s
  -p <num>               Send 'num' packets from a file in parallel.
  -q                     Do not print anything out.
  -r <retries>           If timeout, retry sending the packet 'retries' times.
  -s                     Print out summary information of auth results.
  -S <file>              read secret from file, not command line.
  -t <timeout>           Wait 'timeout' seconds before retrying (may be a floating point number).
  -v                     Show program version information.
  -x                     Debugging mode.
  -P <proto>             Use proto (tcp or udp) for transport.

radconf2json
root@kali:~# radconf2json -h
Usage: radconf2json [options]
  -d <raddb>    Set raddb directory (default /etc/freeradius/3.0).
  -E            Keep `${var}` references verbatim in the JSON instead of
                resolving them at conversion time.  `$INCLUDE` still fires.
  -n <name>     Read <name>.conf instead of radiusd.conf.
  -o <file>     Write JSON to <file> (default stdout).
  -x            Enable debug output (repeatable).
  -X            Verbose debug output.
  -h            This help.

radcrypt

Generate password hash for use with radius, or validates a password hash

root@kali:~# radcrypt -h
Unknown option: h
Usage: radcrypt [--des|--md5|--check] plaintext_password [crypted_password]

raddict2json
root@kali:~# raddict2json -h
Usage: raddict2json [options]
  -D <dict>     Dictionary directory (default /usr/share/freeradius).
  -n <name>     Read <name> as the entry-point dictionary (default 'dictionary').
  -o <file>     Write JSON to <file> (default stdout).
  -x            Enable debug output.
  -h            This help.

radeapclient

Send EAP packets to a RADIUS server, calculate responses

root@kali:~# radeapclient -h
Usage: radeapclient [options] server[:port] <command> [<secret>]
  <command>              One of auth, acct, status, coa, disconnect or auto.
  -4                     Use IPv4 address of server
  -6                     Use IPv6 address of server.
  -d <raddb>             Set user dictionary directory (defaults to /etc/freeradius/3.0).
  -D <dictdir>           Set main dictionary directory (defaults to /usr/share/freeradius).
  -f <file>              Read packets from file, not stdin.
  -h                     Print usage help information.
  -p <num>               Send 'num' packets in parallel.
  -q                     Do not print anything out.
  -r <retries>           If timeout, retry sending the packet 'retries' times.
  -s                     Print out summary information of auth results.
  -S <file>              read secret from file, not command line.
  -t <timeout>           Wait 'timeout' seconds before retrying (may be a floating point number).
  -v                     Show program version information.
  -x                     Debugging mode.

radlast

Show “last” info from the radwtmp file

root@kali:~# radlast -h
last: invalid option -- 'h'
Usage: wtmpdb [command] [options]
Commands: last, boot, boottime, rotate, shutdown, import

Options for last:
  -a, --hostlast      Display hostnames as last entry
  -d, --dns           Translate IP addresses into a hostname
  -f, --file FILE     Use FILE as wtmpdb database
  -F, --fulltimes     Display full times and dates
  -i, --ip            Translate hostnames to IP addresses
  -j, --json          Generate JSON output
  -n, --limit N, -N   Display only first N entries
  -p, --present TIME  Display who was present at TIME
  -R, --nohostname    Don't display hostname
  -S, --service       Display PAM service used to login
  -s, --since TIME    Display who was logged in after TIME
  -t, --until TIME    Display who was logged in until TIME
  -w, --fullnames     Display full IP addresses and user and domain names
  -x, --system        Display system shutdown entries
      --time-format FORMAT  Display timestamps in the specified FORMAT:
                              notime|short|full|iso
  [username...]       Display only entries matching these arguments
  [tty...]            Display only entries matching these arguments
TIME must be in the format "YYYY-MM-DD HH:MM:SS"

Options for boot (writes boot entry to wtmpdb):
  -f, --file FILE     Use FILE as wtmpdb database

Options for boottime (print time of last system boot):
  -f, --file FILE     Use FILE as wtmpdb database

Options for rotate (exports old entries to wtmpdb_<datetime>)):
  -f, --file FILE     Use FILE as wtmpdb database
  -d, --days INTEGER  Export all entries which are older than the given days

Options for shutdown (writes shutdown time to wtmpdb):
  -f, --file FILE     Use FILE as wtmpdb database

Options for import (imports legacy wtmp logs):
  -f, --file FILE     Use FILE as wtmpdb database
  logs...             Legacy log files to import

Generic options:
  -h, --help          Display this help message and exit
  -v, --version       Print version number and exit

root@kali:~# radmod2json -h Usage: radmod2json [options] -m Comma-separated list of module names (default: all in -M dir). -M

Module directory to scan. -o Write JSON to (default stdout). -x Enable debug output (repeatable). -h This help.


- - -

##### radsecret


root@kali:~# radsecret -h 8LwPANpFPw1dIoVD


- - -

##### radsniff

Dump radius protocol

root@kali:~# radsniff -h Usage: radsniff [options][stats options] – [pcap files] options: -a List all interfaces available for capture. -c Number of packets to capture. -C Enable UDP checksum validation. -d Set dictionary directory. -d Set configuration directory (defaults to /etc/freeradius/3.0). -D Set main dictionary directory (defaults to /usr/share/freeradius). -e [,] Only log requests with these event flags. Event may be one of the following: - received - a request or response. - norsp - seen for a request. - rtx - of a request that we’ve seen before. - noreq - could be matched with the response. - reused - ID too soon. - error - decoding the packet. -f PCAP filter (default is ‘udp port or <port + 1> or 3799’) -h This help message. -i Capture packets from interface (defaults to all if supported). -I Read packets from file (overrides input of -F). -l [,] Output packet sig and a list of attributes. -L [,] Detect retransmissions using these attributes to link requests. -m Don’t put interface(s) into promiscuous mode. -p Filter packets by port (default is 1812). -P Daemonize and write out . -q Print less debugging information. -r RADIUS attribute request filter. -R RADIUS attribute response filter. -s RADIUS secret. -S Write PCAP data to stdout. -t Stop after seconds. -v Show program version information. -w Write output packets to file. -x Print more debugging information. stats options: -W Periodically write out statistics every seconds. -T How many milliseconds before the request is counted as lost (defaults to 5200).


- - -

##### radsqlrelay

Relay SQL queries to a central database server

root@kali:~# radsqlrelay –help /usr/bin/radsqlrelay version [unknown] calling Getopt::Std::getopts (version 1.14 [paranoid]), running under Perl version 5.42.2.

Usage: radsqlrelay [-OPTIONS [-MORE_OPTIONS]] [–] [PROGRAM_ARG1 …]

The following single-character options are accepted: With arguments: -b -d -f -h -P -p -u Boolean (without arguments): -x -1 -?

Options may be merged together. – stops processing of options. Space is not required between options and their arguments. [Now continuing due to backward compatibility and excessive paranoia. See ‘perldoc Getopt::Std’ about $Getopt::Std::STANDARD_HELP_VERSION.] usage: radsqlrelay [options] file_path options: -? Print this help message. -1 One-shot mode: push the file to database and exit. -b database Name of the database to use. -d sql_driver Driver to use: mysql, pg, oracle. -f file Read password from file, instead of command line. -h host Connect to host. -P port Port number to use for connection. -p password Password to use when connecting to server. -u user User for login. -x Turn on debugging.


- - -

##### radtest

Send packets to a RADIUS server, show reply

root@kali:~# radtest -h Usage: radtest [OPTIONS] user passwd radius-server[:port] nas-port-number secret [ppphint] [nasname] -d RADIUS_DIR Set radius directory -t Set authentication method type can be pap, chap, mschap, or eap-md5 -P protocol Select udp (default) or tcp -x Enable debug output -4 Use IPv4 for the NAS address (default) -6 Use IPv6 for the NAS address -b Mandate checks for Blast RADIUS (this is not set by default).


- - -

##### radwho

Show online users

root@kali:~# radwho -h radwho: invalid option – ‘h’ Usage: radwho [-d raddb] [-cfihnprRsSZ] [-N nas] [-P nas_port] [-u user] [-U user] -c Show caller ID, if available. -d Set the raddb directory (default is /etc/freeradius/3.0). -F Use radutmp . -i Show session ID. -n No full name. -N Show entries matching the given NAS IP address. -p Show port type. -P Show entries matching the given nas port. -r Print output as raw comma-delimited data. -R Print output as RADIUS attributes and values. includes ALL information from the radutmp record. -s Show full name. -S Hide shell users from radius. -u Show entries matching the given user. -U Like -u, but case-sensitive. -v Show program version information. -Z Include accounting stop information in radius output. Requires -R.


- - -

##### radzap

Remove rogue entries from the active sessions database

root@kali:~# radzap -h -h Print usage help information. -d raddb_directory: directory where radiusd.conf is located. -D dict_directory: directory where the dictionaries are located. -N nas_ip_address: IP address of the NAS to zap. -P nas_port: NAS port that the user is logged into. -u username: Name of user to zap (case insensitive). -U username: like -u, but case-sensitive. -x Enable debugging output.


- - -

##### rlm_ippool_tool

Dump the contents of the FreeRadius ippool database files

root@kali:~# rlm_ippool_tool -h Usage: rlm_ippool_tool [-a] [-c] [-o] [-v] [ipaddress] -a: print all active entries -c: report number of active entries -r: remove active entries -v: verbose report of all entries -o: Assume old database format (nas/port pair, not md5 output) If an ipaddress is specified then that address is used to limit the actions or output. Usage: rlm_ippool_tool -n -n: Mark the entry nasIP/nasPort as having ipaddress Usage: rlm_ippool_tool -u -u: Update old format database to new.


- - -

##### smbencrypt

Produce LM & NT password hashes from cleartext passwords

root@kali:~# smbencrypt -h DF760E4A0C771C76AAD3B435B51404EE D5C2FA46EAAEADD4D21C7FB7E8F7322A


- - -

### freeradius-yubikey

**Yubikey module for FreeRADIUS server**  
 This package is required to add Yubikey functionality to the
 FreeRADIUS server.

**Installed size:** `76 KB`  
**How to install:** `sudo apt install freeradius-yubikey`  

Dependencies:
  • freeradius
  • libc6
  • libykclient3
  • libyubikey0
- - - ### libfreeradius-dev **FreeRADIUS shared library development files** The FreeRADIUS projects' libfreeradius-radius and libfreeradius-eap, used by the FreeRADIUS server and some of the utilities. This package contains the development headers and static library version. **Installed size:** `1.29 MB` **How to install:** `sudo apt install libfreeradius-dev`
Dependencies:
  • freeradius-dhcp
  • libfreeradius3
- - - ### libfreeradius3 **FreeRADIUS shared library** The FreeRADIUS projects' libfreeradius-radius and libfreeradius-eap, used by the FreeRADIUS server and some of the utilities. **Installed size:** `592 KB` **How to install:** `sudo apt install libfreeradius3`
Dependencies:
  • libc6
  • libcap2
  • libpcap0.8t64
  • libssl3t64
  • libtalloc2
- - -


Learn more with OffSec

Want to learn more about freeradius? get access to in-depth training and hands-on labs:




Updated on: 2026-Sep-03