Specifying NAS-IP-Address in eapol_test CLI

Brian Julin BJulin at clarku.edu
Wed Jun 29 18:54:16 CEST 2016




Alex Sharaz wrote:

> I've tried
> eapol_test -c /usr/local/etc/peap-ydh.conf -A 144.32.126.139 -a
> 144.32.128.68 -s <key> -N 61:d:15 -N 6:d:8 -N 4:s:144.32.126.139

> but that gives me

> Attribute 4 (NAS-IP-Address) length=16
>     Invalid IP address length 14

Use hex for the IP.  This is more or less what we use in our tests scripts:

eapol_test -a 10.9.8.7 -Mdd:cc:bb:aa:99:88 -N4:x:0x0a090807 -N30:s:00-01-02-03-04-0f:eduroam



More information about the Freeradius-Users mailing list