EAP Testing
While FreeRADIUS comes with a command-line tool calledradeapclient, by far and away the best EAP testing tool isthe eapol_test program from wpa_supplicant.
Radius Calculator Enter an address, city, or zip code, and a radius, and you will get the radius drawn on the map. Below the map you will find a list of all containing zip codes, cities, counties, and combinations within the radius. The radtest command provides a simple tool for testing the FreeRADIUS server by querying it directly with requests. RADIUS test and monitoring client For Windows, FreeBSD, Sparc Solaris and Linux platforms. RADIUS test client is an easy to use tool to simulate, debug and monitor RADIUS and Network Access Servers (NAS). Simulate RADIUS Authentication, Accounting and CoA/Disconnect requests for multiple devices and usage scenarios.
The default build of wpa_supplicant does not build theeapol_test program, so you will have to do that yourself.
Building eapol_test
Download the latest version of wpa_supplicant,and un-tar it, then follow these instructions to build it:
$ cp defconfig .config
$ vi .config
Find the line containing
and change it to
Then, type
Once it is done, copy the file to some where in your PATH.e.g. /usr/local/bin, or ~/bin. The following testsassume that the eapol_test file has been installed, such asvia the following command:
Testing
Run the eapol_test program from the command-line, with oneof the following configuration files.
Where file is one of the configuration files below. Weare also assuming that the RADIUS server is on localhost, andthat the shared secret is testing123.
- PEAPv0
- EAP-GTC
- EAP-TTLS
Test Windows Radius Server
These configuration files assume that you are using the test userbob, with password hello, as given in the PAP howto.
If the productioncertificates have been created, then the ca_cert entry ineach configuration file can be un-commented. The eapol_testprogram will then verify the server certificate.
Session Resumption, or Fast Reauthentiction
Free Radius Test Tool Kit
Use eapol_test -r 1 ... in order to test sessionresumption. See the eapol_test documentation for moreinformation.