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.42 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: 122 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: 61 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: 67 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: 149 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: 71 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: 71 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: 90 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: 88 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: 105 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: 99 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: 460 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:~# man radlast
RADLAST(1) FreeRADIUS Daemon RADLAST(1)
NAME
radlast - show "last" info from the radwtmp file
SYNOPSIS
radlast [options]
DESCRIPTION
The FreeRADIUS server can write an accounting log in the wtmp format of
the local system. radlast is a frontend for the systems last command - it
just calls last with the -f path_to_radwtmp_file argument, and passes all
options on the command line to the system last command.
OPTIONS
See the manpage of the system last command.
SEE ALSO
radiusd(8), radiusd.conf(5), wtmp(5), last(1).
AUTHOR
Miquel van Smoorenburg, [email protected].
22 February 2001 RADLAST(1)
radmod2json
root@kali:~# radmod2json -h
Usage: radmod2json [options]
-m <list> Comma-separated list of module names (default: all in -M dir).
-M <dir> Module directory to scan.
-o <file> Write JSON to <file> (default stdout).
-x Enable debug output (repeatable).
-h This help.
radsecret
root@kali:~# radsecret -h
gcppsaVaXLJMhNm+
radsniff
Dump radius protocol
root@kali:~# radsniff -h
Usage: radsniff [options][stats options] -- [pcap files]
options:
-a List all interfaces available for capture.
-c <count> Number of packets to capture.
-C Enable UDP checksum validation.
-d <directory> Set dictionary directory.
-d <raddb> Set configuration directory (defaults to /etc/freeradius/3.0).
-D <dictdir> Set main dictionary directory (defaults to /usr/share/freeradius).
-e <event>[,<event>] 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 <filter> PCAP filter (default is 'udp port <port> or <port + 1> or 3799')
-h This help message.
-i <interface> Capture packets from interface (defaults to all if supported).
-I <file> Read packets from file (overrides input of -F).
-l <attr>[,<attr>] Output packet sig and a list of attributes.
-L <attr>[,<attr>] Detect retransmissions using these attributes to link requests.
-m Don't put interface(s) into promiscuous mode.
-p <port> Filter packets by port (default is 1812).
-P <pidfile> Daemonize and write out <pidfile>.
-q Print less debugging information.
-r <filter> RADIUS attribute request filter.
-R <filter> RADIUS attribute response filter.
-s <secret> RADIUS secret.
-S Write PCAP data to stdout.
-t <timeout> Stop after <timeout> seconds.
-v Show program version information.
-w <file> Write output packets to file.
-x Print more debugging information.
stats options:
-W <interval> Periodically write out statistics every <interval> seconds.
-T <timeout> 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.3.
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 <type> 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 <file> Use radutmp <file>.
-i Show session ID.
-n No full name.
-N <nas-ip-address> Show entries matching the given NAS IP address.
-p Show port type.
-P <port> 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 <user> Show entries matching the given user.
-U <user> 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] <filename> <index-db> [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 <filename> <index-db> <ipaddress> <nasIP> <nasPort>
-n: Mark the entry nasIP/nasPort as having ipaddress
Usage: rlm_ippool_tool -u <filename> <new-filename>
-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: 75 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.31 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: 615 KB
How to install: sudo apt install libfreeradius3
Dependencies:
- libc6
- libcap2
- libpcap0.8t64
- libpcre2-8-0
- 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-30