Eapol testing

From NREN

PEAP and EAP-TTLS testing tool

Testing

You can use eapol_test tool to test PEAP, TLS and TTLS authentications on the configured freeRADIUS server. Download the tool from NREN training website.

mkdir ~/eapol_test
cd ~/eapol_test
curl -O https://training.nren.net.np/downloads/eapol_test-ubuntu1804.tar.gz
tar zxvf eapol_test-ubuntu1804.tar.gz
sudo mv eapol_test /usr/local/bin

Run Tests and watch for response (replace 127.0.0.1 for authentication server IP)

$ eapol_test -c eap-ttls.conf -a 127.0.0.1 -s testing123

$ eapol_test -c peap-mschapv2.conf -a 127.0.0.1 -s testing123

Run tests with incorrect password, watch for response. Did you notice anything different?

$ eapol_test -c eap-ttls-invalid.conf -a 127.0.0.1 -s testing123
 
$ eapol_test -c peap-mschapv2-invalid.conf -a 127.0.0.1 -s testing123