Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

radtest(1) [osx man page]

RADTEST(1)							Yard Radius Manual							RADTEST(1)

NAME
radtest - RADIUS server test program SYNOPSIS
radtest [ -afnrvx ] [ -d called_station_id ] [ -g calling_station_id ] [ -i id ] [ -p port ] [ -s secret ] [ -t type ] -u username pass- word DESCRIPTION
radtest is a program useful to test the configuration of a running RADIUS daemon. You need to add localhost to servers' authorized clients. This program is a client for authentication protocol only, it does not manage accounting packets currently. You could use it to test either the YARD RADIUS daemon or any other standard RADIUS server. OPTIONS
-a Sets accounting protocol on. Not yet implemented. -d called_station_id Sets the called station identifier for building packets. -f Sets user type to framed. This is overrided by -t option below. -g calling_station_id Sets the calling station identifier for building packets. -h Prints out usage of the command. -i id Sets the packet identifier to number `id'. -n Not yet implemented. -p port Uses udp port `port' instead of the value specified in /etc/services or the default one (1645). -r Not yet implemented. -s secret Specifies the secret key to use (default is localkey) -v Prints version information. -l file Changes the logging file. -x Prints (or should do so) debugging messages while compiling. FILES
/usr/conf/users This file contains the human readable information for users' accounting and authorization. See radius_attributes(5) for details about its syntax. /usr/conf/users.db The same of the previous one as compiled in by builddbm in GDBM format. It needs to be compiled again every time you make changes to the previous one and without restarting radiusd . /usr/conf/dictionary This read-only file contains the codes and formats for standard and vendor RADIUS protocol attributes and values along with their human readable representation. It is subject to change, due to new access server supports. It is a plain text file with a pletora of comments in it. SEE ALSO
radiusd(8), radlast(1), radlist(1), radtest(1), radwatch(1), radius_attributes(1), gdbm(3) COPYRIGHT
Copyright (C) 1992-1999 Lucent Inc. All rights reserved. Copyright (C) 1999-2004 Francesco Paolo Lovergine. All rights reserved. See the LICENSE file enclosed within this software for conditions of use and distribution. This is a pure ISO BSD Open Source License . NOTES
The syntax of the source users file is not described here. Please, refer to the official Livingston documentation, which includes the RADIUS for UNIX Administrator's Guide. 1.1 Aug 28, 2004 RADTEST(1)

Check Out this Related Man Page

RADTEST(1)							 FreeRADIUS Daemon							RADTEST(1)

NAME
radtest - send packets to a RADIUS server, show reply SYNOPSIS
radtest [-d raddb_directory] [-t pap/chap/mschap] [-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/raddb. -t pap/chap/mschap/eap-md5 Choose the authentiction 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. 5 April 2010 RADTEST(1)
Man Page