feat(freeradius): set client-specific accounting intervals

- Set 60s interim updates for engineers
- Set 300s interim updates for devices
This commit is contained in:
2026-09-16 18:13:37 +02:00
parent 728b99e138
commit 8b7028cfe2
+12
View File
@@ -807,10 +807,22 @@ post-auth {
update reply {
Session-Timeout := 3600
Acct-Interim-Interval := 60
}
sqlippool
}
#
# Devices → fixed IP
# authorize --> post-auth: reuse Tmp-String-1
else if (&control:Tmp-String-1 == "device") {
update reply {
Acct-Interim-Interval := 300
}
}
#
# HARD CHECK: must have IP
#