From a635e91849f29dd3c146b8067f602871ff959f00 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Fri, 17 Apr 2015 11:29:48 +0000 Subject: [PATCH] Block the Riddler.io bot from accessing bodhi This bot does NOT follow robots.txt, even though it announces that it does, and it hits Bodhi so much that it pulls the bodhi servers under. An email has been sent to the maintainer of the bot, but for the time being, let's block it from using any bodhi resources. Signed-off-by: Patrick Uiterwijk --- roles/bodhi/base/files/bodhi-app.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/bodhi/base/files/bodhi-app.conf b/roles/bodhi/base/files/bodhi-app.conf index 3e10a59221..3f44964bab 100644 --- a/roles/bodhi/base/files/bodhi-app.conf +++ b/roles/bodhi/base/files/bodhi-app.conf @@ -13,6 +13,8 @@ Alias /updates/tg_widgets/tgmochikit/packed/MochiKit/MochiKit.js /usr/lib/python WSGIProcessGroup bodhi - Order deny,allow + SetEnvIf User-Agent Riddler GoAway=1 + Order allow,deny Allow from all + Deny from env=GoAway