Man page - radtest(1)
Packages contains this manual
- rlm_attr_filter(5)
- radlast(1)
- radwho(1)
- radrelay.conf(5)
- rlm_detail(5)
- rlm_unix(5)
- rad_counter(1)
- radiusd.conf(5)
- rlm_always(5)
- unlang(5)
- radzap(1)
- radcrypt(8)
- rlm_mschap(5)
- rlm_files(5)
- rlm_digest(5)
- rlm_sql(5)
- clients.conf(5)
- dictionary(5)
- radeapclient(1)
- radsqlrelay(8)
- rlm_realm(5)
- raddebug(8)
- rlm_ippool_tool(8)
- radsniff(8)
- radrelay(8)
- rlm_unbound(5)
- radclient(1)
- rlm_chap(5)
- radmin(8)
- rlm_passwd(5)
- rlm_sqlippool_tool(8)
- smbencrypt(1)
- rlm_counter(5)
- rlm_expr(5)
- rlm_idn(5)
- users(5)
- rlm_pap(5)
- radtest(1)
- checkrad(5)
- freeradius(8)
apt-get install freeradius-common
Manual
RADTEST
NAMESYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
AUTHOR
NAME
radtest - send packets to a RADIUS server, show reply
SYNOPSIS
radtest [ -d raddb_directory ] [ -P tcp/udp ] [ -t pap/chap/mschap/eap-md5 ] [ -x ] [ -4 ] [ -6 ] user password radius-server nas-port-number secret [ ppphint ] [ nasname ]
DESCRIPTION
radtest is a frontend to radclient (1). It generates a list of attribute/value pairs based on the command line arguments, and feeds these into radclient . It’s a fast and convenient way to test a radius server.
OPTIONS
-d raddb_directory
The directory that contains the RADIUS dictionary files. Defaults to /etc/freeradius/3.0 .
-P proto
Use proto transport protocol ("tcp" or "udp"). Only available if FreeRADIUS is compiled with TCP transport support.
-t pap/chap/mschap/eap-md5
Choose the authentication method to use. e.g. "-t pap", "-t chap", "-t mschap", or "-t eap-md5",. Defaults to "pap". Using EAP-MD5 requires that the "radeapclient" program is installed.
|
-x |
Enables debugging output for the RADIUS client. |
|||
|
-4 |
Use NAS-IP-Address for the NAS address (default) |
|||
|
-6 |
Use NAS-IPv6-Address for the NAS address (default) |
|||
|
user |
Username to send. |
password
Password of the user.
radius-server
Hostname or IP address of the radius server. Optionally, you may specify a port by appending :port
nas-port-number
The value of the NAS-Port attribute. Is an integer between 0 and 2ˆ31, and it really doesn’t matter what you put here. 10 will do fine.
|
secret |
The shared secret for this client. |
ppphint
If you put an integer > 0 here, radtest (or actually radclient) will add the attribute Framed-Protocol = PPP to the request packet.
nasname
If present, this will be resolved to an IP address and added to the request packet as the NAS-IP-Address attribute. If you don’t specify it, the local hostname of the system will be used.
SEE ALSO
radiusd(8), radclient(1).
AUTHOR
Miquel van Smoorenburg, miquels@cistron.nl.