8 Commits

Author SHA1 Message Date
39a45a2151 fixes 2025-12-24 22:18:05 +05:00
2acf4636bb Match exact CGRateS oldtutorial PAP auth pattern
Attributes.csv: Use *req.PasswordFromAttributes path (like oldtutorial)
Config: Add PasswordFromAttributes field with *attributes marker
Second processor reads from ~*cgrep.Attributes.PasswordFromAttributes

This matches the exact pattern from CGRateS test configurations.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-24 09:09:13 +05:00
b6c12a5e36 Fix attribute path: use *req.Password like CGRateS tutorial
Changed Attributes.csv to use *req.Password path (like tutorial)
Updated config to read password from ~*req.Password
Removed PasswordFromAttributes complexity

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-24 08:59:31 +05:00
41847a0793 Fix filter to match User-Name instead of Account
RADIUS packets have User-Name attribute, not Account.
Changed filters to use ~*req.User-Name for matching.
Added *log flag to first processor for debugging.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-24 08:56:17 +05:00
cab4ca64fb Setup PAP auth exactly like CGRateS test configuration
Two-processor approach from radagent_it_test.go:
1. CGRPAPAuth: *authorize, *attributes, *accounts, *continue
   - Fetches PasswordFromAttributes using *attributes marker
2. RadiusPAPAuthProcessor: *radauth, *pap
   - Uses password from ~*cgrep.Attributes.PasswordFromAttributes

Updated Attributes.csv to use *cgrep.PasswordFromAttributes path.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-24 00:26:10 +05:00
ae41322355 Fix attributes filter matching - use named filters
- Changed context from *sessions to *any for all attribute profiles
- Created explicit filter definitions in Filters.csv
- Changed from inline filters to named filters (FLTR_ACCOUNT_*)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 20:42:19 +05:00
dad5a4ca01 radius auth fix 2025-12-23 19:43:36 +05:00
82aba07b01 pppoe addition 2025-12-23 18:36:36 +05:00