From 59cc6da5f94c4a9a9bc8f361f96bb5aee9a7a209 Mon Sep 17 00:00:00 2001 From: kaffa Date: Sat, 7 Feb 2026 15:48:27 +0900 Subject: [PATCH] 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 --- config/config.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config/config.yaml b/config/config.yaml index bb06ee4..caf164c 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -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: