Unify all rate limit profiles to 2000 pps
Add weekend profile and raise night/default PPS to match business hours, as the server can be busy at any time. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -14,7 +14,7 @@ blocker:
|
|||||||
config_dir: /etc/xdp-blocker # existing data path (blocklist, countries, whitelist)
|
config_dir: /etc/xdp-blocker # existing data path (blocklist, countries, whitelist)
|
||||||
|
|
||||||
rate_limits:
|
rate_limits:
|
||||||
default_pps: 1000 # packets per second threshold
|
default_pps: 2000 # packets per second threshold
|
||||||
default_bps: 0 # bytes per second (0 = disabled)
|
default_bps: 0 # bytes per second (0 = disabled)
|
||||||
window_sec: 1 # time window in seconds
|
window_sec: 1 # time window in seconds
|
||||||
|
|
||||||
@@ -25,9 +25,13 @@ rate_limits:
|
|||||||
weekdays: "mon-fri"
|
weekdays: "mon-fri"
|
||||||
pps: 2000 # higher during business hours
|
pps: 2000 # higher during business hours
|
||||||
bps: 0
|
bps: 0
|
||||||
|
weekend:
|
||||||
|
weekdays: "sat-sun"
|
||||||
|
pps: 2000 # weekend can be busy
|
||||||
|
bps: 0
|
||||||
night:
|
night:
|
||||||
hours: "00:00-06:00"
|
hours: "00:00-06:00"
|
||||||
pps: 500 # stricter at night
|
pps: 2000 # night can be busy too
|
||||||
bps: 0
|
bps: 0
|
||||||
|
|
||||||
escalation:
|
escalation:
|
||||||
|
|||||||
Reference in New Issue
Block a user