Commit Graph

143 Commits

Author SHA1 Message Date
ionutboangiu
e05be683ae change license from GPLv3 to AGPLv3 2025-10-13 09:57:41 +02:00
ionutboangiu
37acdd1723 sessions: port session APIs and flag handling 2025-08-30 14:02:48 +02:00
DanB
dd901299b2 <RadiusAgent> Support for StatusServer message processing 2025-07-24 11:19:52 +02:00
ionutboangiu
f68b6e8f79 radius: pass ips flag to sessions via opts 2025-07-10 16:56:08 +02:00
ionutboangiu
54f4a63c24 radius: revise dict loading err log 2025-07-10 16:56:08 +02:00
ionutboangiu
570a285b31 Consider radius requests when limiting caps 2025-07-08 08:18:30 +02:00
ionutboangiu
785236592b Port RADIUS DMR/CoA functionality
This commit ports the following changes from v0.11:

- 9991b29 - Implement DisconnectSession API for RADIUS Agent
- 02c8ed1 - Implement support for RADIUS CoA
- 7129d34 - Merge CoA into ReAuthorize logic
- d8ad760 - Update both ReAuthorize API signatures
- 5560608 - Dynamic templates for Radius CoA out of APIOpts
- f9d1c0f - Refactor ReAuthorize to AlterSessions
- 8388832 - Rename agents API object: SessionSv1 to AgentV1
- b580e09 - Add sanity checks for radius templates
- ca6a944 - Update client_da_addresses structure
- 98265a1 - Refactor function names and error msgs related to AlterSessions
- ee98dbe - Update AgentV1DisconnectSession api signature
- c9b6c1f - Add support for sending *dmr template via APIOpts
- 03eff44 - Cache RADIUS packets during accounting instead of auth
- 28e53ce - Add requests_cache_key field to radagent cfg
2025-07-08 08:18:30 +02:00
ionutboangiu
43930547b9 cfg: support multiple radius auth/acct listeners 2025-07-08 08:18:30 +02:00
ionutboangiu
c42198f3c2 cfg: allow multiple dict dirs per radius client
ported from commit 47e75fab1
2025-07-08 08:18:30 +02:00
arberkatellari
4642c47599 Show proper value to radAgent reply when using *log 2025-07-08 08:18:30 +02:00
ionutboangiu
28edf30543 send agent events to stats/thresholds w/ ProcessTime
applies only to template-based agents
2025-06-24 18:18:12 +02:00
ionutboangiu
2f387b5a0e chore: remove unnecessary parentheses
gofmt -r '(a) -> a' -w **/*.go
2024-09-05 20:46:40 +02:00
gezimblliku
04f2c69b05 updated dependencies with the latest versions 2024-08-22 20:39:59 +02:00
adi
1e51b6d73f Unified constants for subsystem/removed big S 2022-09-25 12:16:25 +02:00
andronache98
ecdf5e54ea Changed headers 2022-03-09 14:14:30 +01:00
andronache98
9ec56f5155 Changed headers 2022-03-09 14:14:30 +01:00
Trial97
5d540bc179 Updated Sessions Auth API 2021-10-05 21:01:26 +02:00
ionutboangiu
141d293217 Make DefaultOpts a struct and move IgnoreErrors, MaxCost and Paginator fields to APIOpts final 2021-09-10 11:25:57 +02:00
Trial97
3c5f32aeeb Removed Routes Paginator from SessionS APIs 2021-08-26 16:48:48 +02:00
Trial97
f823bb9805 Updated SessionSMessage 2021-08-26 16:48:48 +02:00
Trial97
eecaf84cf5 Updated SessionSTerminate 2021-08-26 16:48:48 +02:00
Trial97
56e9e8ca0f Updated SessionsUpdate 2021-08-26 16:48:48 +02:00
Trial97
235abdae0c Updated SessionsInit 2021-08-26 16:48:48 +02:00
Trial97
8db73de3a6 Updated SessionS processEvent API with new opts format 2021-08-26 16:48:48 +02:00
Trial97
f6863bad3e Updated flatsore ers 2021-05-06 14:00:37 +02:00
Trial97
2da495af19 Starting adding back AttributesSv1 APIs 2021-04-13 13:35:03 +02:00
Trial97
3406d3c7c9 Updated based on new rpc library 2021-04-13 13:35:03 +02:00
Trial97
b028a99050 Removed rals config 2021-04-01 16:36:51 +02:00
Trial97
c13a5cf790 Finished implementing the DataNode as a replacement 2021-03-26 13:46:25 +01:00
Trial97
fc2f7631bd Updated integration tests 2021-03-26 13:46:25 +01:00
Trial97
ba090352ec Updated agents tests 2021-03-26 13:46:25 +01:00
andronache
32c234a6c7 In CGREvent changed Opts in APIOpts 2021-03-23 14:35:11 +01:00
Trial97
e52e8d7622 Added Length Field in case of NMSlice and support for multiple indexes in template path 2021-03-18 16:46:55 +01:00
andronache
371baca9f3 Tests in services 2021-02-22 18:12:22 +01:00
Trial97
9cef3b28f4 Added integration tests for birpc codec 2021-02-22 11:53:56 +01:00
Trial97
eb743a45cc Added *routes_maxcost flag. Fixes #2563 2021-02-09 15:16:20 +01:00
TeoV
2bfb234804 Update integration test in agents 2021-01-15 09:53:55 +01:00
TeoV
ae146640f4 Start merging CGREventWithOpts with CGREvent 2021-01-14 10:30:35 +01:00
andronache
1470267727 Modified consts in utils 2021-01-07 18:15:35 +01:00
Trial97
6cbf457e35 Updated agents shutdown 2020-11-16 10:11:46 +01:00
Trial97
d606a60eab Finished replacing ArgDispatcher with Opts 2020-07-30 11:17:57 +02:00
Trial97
11dac21b88 Starting replacing ArgDispatcher with Opts 2020-07-30 11:17:57 +02:00
Trial97
6fe8d38764 Updated Agents flag handling 2020-07-22 18:03:05 +02:00
Trial97
aecafbc290 Updated the code with the new Flags format 2020-07-20 12:58:41 +02:00
Trial97
aeb983e3e0 Updated agents maxUsage flag handle 2020-07-14 13:28:07 +02:00
TeoV
bacfe4bb83 Change needMaxUsage variable in Agents ProcessEvent accordingly with subflags names 2020-07-10 17:33:16 +03:00
Trial97
13e813f848 Fixed agents unit tests 2020-05-07 11:17:41 +02:00
TeoV
7c1157f394 Rename from SupplierS to RouteS ( part 3 success build ) 2020-04-30 15:54:49 +02:00
Trial97
13b7ca5d28 Updated APIs Opts 2020-04-26 13:08:34 +02:00
Trial97
41e35bc571 Added Opts to APIs 2020-04-26 13:08:34 +02:00