openstreetmap / chef

Chef configuration management repo for configuring & maintaining the OpenStreetMap servers.
Apache License 2.0
102 stars 67 forks source link

apache: use 429 error for mod-evasive #673

Closed Firefishy closed 6 months ago

Firefishy commented 6 months ago

Currently mod-evasive uses 403 - Forbidden, instead use 429 - Too Many Requests instead to clearly identify the responses when mod-evasive is triggered.

Firefishy commented 6 months ago

This works because upstream accepted this patch: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930724

mmd-osm commented 6 months ago

As a heads up, we're facing quite some issues related to mod_evasive. It would be great if you could review my analysis in https://github.com/facebook/Rapid/issues/1424 ... we'll create an operations issue later.