By: Stephen Sadowski user 27 Aug 2021 at 2:25 p.m. CDT

1 Response
Stephen Sadowski gravatar
## Expected Behavior Built-in TinyRadius server authenticates for both CHAP and PAP authentication types ## Actual Behavior TinyRadius server only authenticates for PAP authentication type, no reply for CHAP type ## Minimized Example ``` [ssadowski@qbert |git: none| local]$ radtest -t pap TestUser 'TestPassword' 10.128.0.9 10 shared-secret Sent Access-Request Id 49 from 0.0.0.0:49332 to 10.128.0.9:1812 length 79 User-Name = "TestUser" User-Password = "TestPassword" NAS-IP-Address = 10.128.0.5 NAS-Port = 10 Message-Authenticator = 0x00 Cleartext-Password = "TestPassword" Received Access-Accept Id 49 from 10.128.0.9:1812 to 10.128.0.5:49332 length 20 [ssadowski@qbert |git: none| local]$ radtest -t chap TestUser 'TestPassword' 10.128.0.9 10 shared-secret Sent Access-Request Id 150 from 0.0.0.0:38073 to 10.128.0.9:1812 length 80 User-Name = "TestUser" CHAP-Password = scrubbed NAS-IP-Address = 10.128.0.5 NAS-Port = 10 Message-Authenticator = 0x00 Cleartext-Password = "TestPassword" Sent Access-Request Id 150 from 0.0.0.0:38073 to 10.128.0.9:1812 length 80 User-Name = "TestUser" CHAP-Password = scrubbed NAS-IP-Address = 10.128.0.5 NAS-Port = 10 Message-Authenticator = 0x00 Cleartext-Password = "TestPassword" Sent Access-Request Id 150 from 0.0.0.0:38073 to 10.128.0.9:1812 length 80 User-Name = "TestUser" CHAP-Password = scrubbed NAS-IP-Address = 10.128.0.5 NAS-Port = 10 Message-Authenticator = 0x00 Cleartext-Password = "TestPassword" (0) No reply from server for ID 150 socket 4 ```

By Dzouato Djeumen Rolain Bonaventure staff 29 Aug 2021 at 12:57 a.m. CDT

Dzouato Djeumen Rolain Bonaventure gravatar
Hello Stephen, CHAP is unfortunately not supported by TinyRadius , only PAP. Thanks