Difference between revisions of "Eapol testing"

From NREN
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
  sudo mv eapol_test /usr/local/bin
 
  sudo mv eapol_test /usr/local/bin
  
Run Tests and watch for response
+
Run Tests and watch for response (replace 127.0.0.1 for authentication server IP)
  $ eapol_test -c eap-ttls.conf -s testing123
+
  $ eapol_test -c eap-ttls.conf -a 127.0.0.1 -s testing123
 
   
 
   
  $ eapol_test -c peap-mschapv2.conf -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?
 
Run tests with incorrect password, watch for response. Did you notice anything different?
  $ eapol_test -c eap-ttls-invalid.conf -s testing123
+
  $ eapol_test -c eap-ttls-invalid.conf -a 127.0.0.1 -s testing123
 
    
 
    
  $ eapol_test -c peap-mschapv2-invalid.conf -s testing123
+
  $ eapol_test -c peap-mschapv2-invalid.conf -a 127.0.0.1 -s testing123
 +
 
 +
[[Category:Tools]]

Latest revision as of 21:34, 7 February 2019

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