Skip to content
Snippets Groups Projects

archweb: tweak our rate limits

Merged Jelle van der Waa requested to merge tweak-rate-limits into master

This tries to address two issues we have:

  • Some folks retrieve the mirror status json every 4/5 seconds leading to ~ 8GB of bandwidth used per day. Now they will get banned by the nginx-limit-req jail of fail2ban
  • Lower rate limits as they are too high, in reality loading an archlinux.org page has one request go to the backend. So the 20 requests limit is way too high. Lowering this has catched some silly wordpress/vulnerability scanners and they also get banned now by nginx-limit-req jail.

Merge request reports

Pipeline #100460 passed

Pipeline passed for 6352e3db on tweak-rate-limits

Merged by Jelle van der WaaJelle van der Waa 9 months ago (Jun 5, 2024 2:56pm UTC)

Loading

Pipeline #100461 passed

Pipeline passed for d553c930 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading