openstreetmap / chef

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

apache: use 429 error for mod-evasive #673

Closed Firefishy closed 3 months ago

Firefishy commented 3 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 3 months ago

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

mmd-osm commented 3 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.