system-config/playbooks/roles/apache-ua-filter
Jeremy Stanley deaae4f665 Block restricted user agents for the tarballs site
A copy of the filter used for our Gitea farm, this same activity has
been showing up on our tarballs.opendev.org site as well which is
consuming available connection slots for all vhosts on the static
server.

This is implemented as a macro so that it can be included into
additional vhosts, and put into a separate role so that it can be
added to all playbooks which need it. A subsequent change will add
it to the Gitea servers, eliminating the redundant copy there.

Change-Id: Ic2020b753076209f7708f76744fdf746bf933bd9
2020-10-16 17:45:12 +00:00
..
files Block restricted user agents for the tarballs site 2020-10-16 17:45:12 +00:00
handlers Block restricted user agents for the tarballs site 2020-10-16 17:45:12 +00:00
tasks Block restricted user agents for the tarballs site 2020-10-16 17:45:12 +00:00
README.rst Block restricted user agents for the tarballs site 2020-10-16 17:45:12 +00:00

Reject requests from problematic user agent strings

This role installs and configures a filter macro called UserAgentFilter which can be included in Apache vhosts

Role Variables