Initial simple test fails. Ver 3.0.20 from Ubuntu

Pavel Aronsky pavel.aronsky at gmail.com
Sun Aug 13 13:25:57 UTC 2023


CORRECTION: output of radtest is below - please ignore the output in prev. post:

 radtest -x  -t eap-md5 JIG46 secret localhost:1645 0 testing123

Read 1 element(s) from input: stdin
Loaded: 1 input element(s).
Adding new socket: src: 0.0.0.0:0, dst: 127.0.0.1:1645
Added new socket: 5 (num sockets: 1)
Transaction: 0, sending packet: 0 (id: 19)...
Sent Access-Request Id 19 from 0.0.0.0:63517 to 127.0.0.1:1645 length 69
        User-Name = "JIG46"
        Cleartext-Password = "secret"
        NAS-IP-Address = 127.0.1.1
        NAS-Port = 0
        Message-Authenticator = 0x00
        EAP-Code = Response
        EAP-Type-Identity = 0x4a49473436
        EAP-Message = 0x025c000a014a49473436
failed decoding EAP: EAP-Message not found
Transaction: 0, received packet (id: 19).
Received Access-Reject Id 19 from 127.0.0.1:1645 to 0.0.0.0:63517 length 20
EAP transaction finished, but reply is not an
Access-AcceptDeallocating (sockfd: 5, id: 19)
Main loop: done.

And on the server side:

Sun Aug 13 16:22:52 2023 : Debug: (0)   User-Name = "JIG46"
Sun Aug 13 16:22:52 2023 : Debug: (0)   NAS-IP-Address = 127.0.1.1
Sun Aug 13 16:22:52 2023 : Debug: (0)   NAS-Port = 0
Sun Aug 13 16:22:52 2023 : Debug: (0)   Message-Authenticator =
0xdc4c794f063de2f5ee2725854b6efc84
Sun Aug 13 16:22:52 2023 : Debug: (0)   EAP-Message = 0x025c000a014a49473436
Sun Aug 13 16:22:52 2023 : Debug: (0) session-state: No State attribute
Sun Aug 13 16:22:52 2023 : Debug: (0) Empty authorize section.  Using
default return values.
Sun Aug 13 16:22:52 2023 : ERROR: (0) No Auth-Type found: rejecting
the user via Post-Auth-Type = Reject
Sun Aug 13 16:22:52 2023 : Debug: (0) Failed to authenticate the user
Sun Aug 13 16:22:52 2023 : Debug: (0) Using Post-Auth-Type Reject
Sun Aug 13 16:22:52 2023 : Debug: (0) Post-Auth-Type sub-section not
found.  Ignoring.
Sun Aug 13 16:22:52 2023 : Debug: (0) Delaying response for 1.000000 seconds
Sun Aug 13 16:22:52 2023 : Debug: Waking up in 0.3 seconds.
Sun Aug 13 16:22:53 2023 : Debug: Waking up in 0.6 seconds.
Sun Aug 13 16:22:53 2023 : Debug: (0) Sending delayed response
Sun Aug 13 16:22:53 2023 : Debug: (0) Sent Access-Reject Id 19 from
127.0.0.1:1645 to 127.0.0.1:63517 length 20

 -ddbug


More information about the Freeradius-Users mailing list