60 Commits

Author SHA1 Message Date
ionutboangiu
e05be683ae change license from GPLv3 to AGPLv3 2025-10-13 09:57:41 +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
gezimbll
32ed816de7 Replacing IsSliceMember ,CloneStringSlice and SliceStringEqual with slices package functions 2023-11-01 21:38:27 +01:00
ionutboangiu
4857245aa5 Use copy instead of loop + other staticcheck fixes 2022-07-15 09:28:57 +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
099ae99836 Added some diff functions 2021-04-21 16:38:30 +02:00
Trial97
b028a99050 Removed rals config 2021-04-01 16:36:51 +02:00
Trial97
b8437f4a7d Updated utils tests 2021-03-26 13:46:25 +01:00
porosnicuadrian
f0918ce4e1 Changed sep , into 2021-03-23 14:32:59 +01:00
Trial97
eb743a45cc Added *routes_maxcost flag. Fixes #2563 2021-02-09 15:16:20 +01:00
andronache
36da1a6309 Consts in utils 2021-01-11 10:57:44 +01:00
andronache
4ff3b9242d Consts in utils 2021-01-07 18:15:35 +01:00
Trial97
5c48f70260 Added Clone function for some config sections 2020-11-27 08:41:56 +01:00
andronache
ae76b8af50 Removed unused functions and tests in utils 2020-11-12 17:59:06 +01:00
andronache
1bd762ef77 Added tests to decimal.go, completed map_test.go 2020-11-05 14:45:41 +01:00
Trial97
c363286b56 Added *derived_reply sub flag for SessionSv1.ProcessEvent 2020-07-20 12:58:41 +02:00
Trial97
aecafbc290 Updated the code with the new Flags format 2020-07-20 12:58:41 +02:00
Trial97
9692cf438c Redesigned the Flags structure 2020-07-20 12:58:41 +02:00
adragusin
db0f20be57 Removed duplicate method 2020-04-29 17:07:31 +02:00
adragusin
8fe5441b28 Updated tests in utils 2019-12-20 18:52:26 +02:00
DanB
5fc2dc9092 CDRsV1.ProcessEvent with refund for AccountableRequestTypes 2019-12-08 19:44:42 +01:00
Trial97
4780f3bbef Added tests for MissingMapFields and IfaceAsSliceString 2019-12-04 14:36:37 +02:00
adragusin
0c287d09df Tested FlagsWithParams.GetBool 2019-11-26 12:46:32 +02:00
Trial97
345bd5ba39 Updated FlagsWithParams GetBool method 2019-11-25 09:29:28 +01:00
DanB
360a9cc00b SessionS - processEvent function with sync actions 2019-11-22 19:54:16 +01:00
TeoV
4e2164b741 Update template for DNSAgent and add new method V2ProcessEvent in SessionS 2019-07-15 20:57:17 -10:00
TeoV
e39f0f635c Rename in utils FlashWithParams and change order for V1AuthorizeArgs 2019-07-04 12:23:15 -10:00
TeoV
1e69216613 Update agents with new type for Flags(MapSubsystemIDs) 2019-07-02 10:05:21 -10:00
TeoV
763e030f03 Add new type in utils MapSubsystemIDs 2019-07-02 10:05:21 -10:00
Tripon Alexandru-Ionut
002b9ac933 Updated SessionS.asActiveSessions to accept filters 2019-05-13 12:41:25 +02:00
TeoV
ebc419771d Add APIKey authentification 2018-06-06 16:41:34 +02:00
edwardro22
b651b06826 Removed copyright from go doc 2017-09-10 15:02:46 +00:00
edwardro22
2c7d27745c Versioning fix 2017-09-07 15:00:18 +00:00
edwardro22
d8a44e64ed Updated versions 2017-09-06 10:59:09 +00:00
DanB
393c1acbd0 Adding FieldMultiplyFactor so we can clone it centralized 2017-02-12 19:19:47 +01:00
DanB
c8750261eb SMGeneric - improved session indexing considering runID, passive sessions with session prefix implementation 2016-11-09 16:53:06 +01:00
DanB
401625861d Updated project README, COPYRIGHT information 2016-09-02 13:04:34 +02:00
DanB
2c55757563 Utility to merge maps 2016-08-26 12:30:48 +02:00
Radu Ioan Fericean
e142227780 possible fix for concurent map access in smg_event 2016-08-17 17:58:52 +03:00
Radu Ioan Fericean
c3fa8b4450 map drivers passing tests 2016-08-11 16:17:17 +03:00
Radu Ioan Fericean
f3f257eff1 balance destinationIDs exceptions 2016-04-05 17:53:11 +03:00
Radu Ioan Fericean
34971c3f5a action triger ID refactoring 2016-02-24 18:15:09 +02:00
Radu Ioan Fericean
2690802100 triggers loading improvement 2016-02-19 12:58:14 +02:00
Radu Ioan Fericean
8a24738b85 started action balance pointer filtering 2016-02-09 16:19:40 +02:00
Radu Ioan Fericean
8464f28d10 new v2 SetAccount API 2016-01-25 19:58:09 +02:00
Radu Ioan Fericean
9ce16de6f8 SetAccount api 2016-01-25 15:39:33 +02:00
Radu Ioan Fericean
8e8463a99f mongo map key cleanup no longer needed 2015-12-21 12:43:45 +02:00
Radu Ioan Fericean
65516e201e using tasks and action plans with no accounts 2015-12-18 17:59:27 +02:00
Radu Ioan Fericean
83c18d469b added DerivedChargers DestinationIds filter 2015-11-13 16:31:32 +02:00