postfix: raise smtpd_client_connection_rate_limit 10 → 100#63
Conversation
Greptile SummaryThis PR raises Confidence Score: 5/5Safe to merge — single-line config change with clear justification and complementary rate limits intact. No logic errors, security regressions, or correctness issues. The change is well-scoped, thoroughly explained, and the remaining rate limits (message, recipient, concurrent connection count) continue to constrain abuse potential. No files require special attention. Important Files Changed
Reviews (2): Last reviewed commit: "postfix: raise smtpd_client_connection_r..." | Re-trigger Greptile |
Summary
smtpd_client_connection_rate_limitfrom 10 to 100 connections peranvil_rate_time_unit(60s)Why
Load testing with 20 concurrent users all originating from a single source IP hit the 10-connection-per-minute limit during ramp-up. Users 11–20 had their initial connections reset, producing ~9 consistent connection-level errors per ramp-up window regardless of NLB path. This was identified by cross-referencing the consistent error count across Run 3 and Run 4 with the anvil rate limit configuration.
100 connections per minute is still protective against external DoS while giving realistic headroom for load testing at 50+ concurrent users.
Test plan