Junaid Saeed Uppal f6bcdccf9c Workaround CGRateS MS-CHAPv2 bug - use *event instead of *radauth
CGRateS has a bug where *radauth + *mschapv2 looks for MS-CHAP-Response
(attribute 1) instead of MS-CHAP2-Response (attribute 25).
MikroTik sends MS-CHAP2-Response, causing MANDATORY_IE_MISSING error.

This workaround uses *event + *attributes to validate user existence
via attributes subsystem. The actual password validation is NOT done
server-side - MikroTik will handle MS-CHAPv2 locally.

TODO: Report bug to CGRateS - librad.go line 130 should use
MS-CHAP2-Response for MetaMSCHAPV2 case.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 21:13:38 +05:00
2025-12-23 18:08:31 +05:00
2025-12-23 19:43:36 +05:00
2025-12-23 18:36:36 +05:00
Description
No description provided
122 KiB
Languages
Shell 100%