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)
|
||||
|
||||
rate_limits:
|
||||
default_pps: 1000 # packets per second threshold
|
||||
default_pps: 2000 # packets per second threshold
|
||||
default_bps: 0 # bytes per second (0 = disabled)
|
||||
window_sec: 1 # time window in seconds
|
||||
|
||||
@@ -25,9 +25,13 @@ rate_limits:
|
||||
weekdays: "mon-fri"
|
||||
pps: 2000 # higher during business hours
|
||||
bps: 0
|
||||
weekend:
|
||||
weekdays: "sat-sun"
|
||||
pps: 2000 # weekend can be busy
|
||||
bps: 0
|
||||
night:
|
||||
hours: "00:00-06:00"
|
||||
pps: 500 # stricter at night
|
||||
pps: 2000 # night can be busy too
|
||||
bps: 0
|
||||
|
||||
escalation:
|
||||
|
||||
Reference in New Issue
Block a user