Junaid Saeed Uppal dfb925494c Implement proper MS-CHAPv2 authentication for MikroTik PPPoE
Two-processor approach:
1. MSCHAPv2GetPassword: Uses *authorize + *attributes to fetch password
   from CGRateS attributes subsystem and get MaxUsage for session timeout
2. MSCHAPv2Auth: Uses *radauth + *mschapv2 to perform actual MS-CHAPv2
   authentication with cryptographic proof (MS-CHAP2-Success)

The password is read from ~*cgrep.Attributes.Password (set via Attributes.csv)
and placed in *vars.UserPassword for the *radauth to use.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 21:07:05 +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%