X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=cgi%2Fbugreport.cgi;fp=cgi%2Fbugreport.cgi;h=26324c3e29c37adafd6dfc3d4e295851c701a3a4;hb=c6d464bdc8e11b42f4a1b629eaf9771d688f15ce;hp=da790227c4be8266b88ead452442b958fe1086ac;hpb=c887de6d8199f6d26312c86f127ce227b44f8538;p=debbugs.git diff --git a/cgi/bugreport.cgi b/cgi/bugreport.cgi index da79022..26324c3 100755 --- a/cgi/bugreport.cgi +++ b/cgi/bugreport.cgi @@ -32,6 +32,14 @@ use Debbugs::Text qw(:templates); use URI::Escape qw(uri_escape_utf8); use List::AllUtils qw(max); +if (defined $ENV{REMOTE_ADDR} and $ENV{REMOTE_ADDR} =~ /(?:218\.175\.56\.14|64\.126\ +.93\.93|72\.17\.168\.57|208\.138\.29\.104|66\.63\.250\.28)/) { + print "Content-Type: text/html\n\nGo away."; + sleep(5); + exit 0; +} + + use CGI::Simple; my $q = new CGI::Simple;