FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Infrastructure

 
 
LinkBack Thread Tools
 
Old 05-27-2012, 05:37 AM
Kevin Fenzi
 
Default freeze break: block hits from a domain thats referring too much

On Sat, 26 May 2012 23:23:23 -0400
Ricky Elrod <codeblock@elrod.me> wrote:

> On 05/26/2012 11:08 PM, Kevin Fenzi wrote:
> > Retroactive +1s?
>
>
> +1, doesn't seem to have broken anything yet.
>

I got another +1 from Matt in email...

but after applying this the hits stopped, then resumed with another
domain, but same uri otherwise.

I have adjusted the redirect to ignore the domain and just look for the
botnet uri.

kevin
--
diff --git a/modules/fedora-web/files/redirects.conf b/modules/fedora-web/files/redirects.conf
index 26a2b36..2ce9ec7 100644
--- a/modules/fedora-web/files/redirects.conf
+++ b/modules/fedora-web/files/redirects.conf
@@ -11,7 +11,7 @@ RewriteRule ^/([^/]+/)?legal/trademarks http://fedoraproject.org/wiki/Legal:Trad
RewriteRule ^/([^/]+/)?legal https://fedoraproject.org/wiki/Legal:Main [R=301,L]

# Drop distributed web referrer hits from klopodavonatyl.net
-RewriteCond %{HTTP_REFERER} ^http://(www.)?klopodavonatyl.net/.*$
+RewriteCond %{HTTP_REFERER} ^http://.*/feed/index.php?pid2=900&sid2=900&mb2=4&partnerid2=81&re dir=555&multi=true&aff_id=list004$
RewriteRule .* - [F]

# Comment this when there is a prerelease available
_______________________________________________
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure
 
Old 05-27-2012, 03:22 PM
Stephen John Smoogen
 
Default freeze break: block hits from a domain thats referring too much

On 26 May 2012 23:37, Kevin Fenzi <kevin@scrye.com> wrote:
> On Sat, 26 May 2012 23:23:23 -0400
> Ricky Elrod <codeblock@elrod.me> wrote:
>
>> On 05/26/2012 11:08 PM, Kevin Fenzi wrote:
>> > Retroactive +1s?
>>

Retroactive +1 looks good with teh change to name versus URL

--
Stephen J Smoogen.
"The core skill of innovators is error recovery, not failure avoidance."
Randy Nelson, President of Pixar University.
"Years ago my mother used to say to me,... Elwood, you must be oh
so smart or oh so pleasant. Well, for years I was smart. I
recommend pleasant. You may quote me." Â*—James Stewart as Elwood P. Dowd
_______________________________________________
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure
 
Old 05-27-2012, 09:53 PM
 
Default freeze break: block hits from a domain thats referring too much

Title: freeze break: block hits from a domain thats referring too much



+1

-----Original Message-----
From:*Kevin Fenzi [kevin@scrye.com]
Sent:*Saturday, May 26, 2012 10:09 PM Central Standard Time
To:*Fedora Infrastructure
Subject:*freeze break: block hits from a domain thats referring too much





Our proxy boxes have jumped up to max httpd processed due to a ton of

referring hits from a single domain/page.



I'm going to redirect them to 403 for now and see if that brings

processes down on the proxies.



It's not causing an outage, but it could impact things if it keeps

going on. It may also be affecting smolts.org.



Retroactive +1s?



diff --git a/modules/fedora-web/files/redirects.conf b/modules/fedora-web/files/redirects.conf

index feba7d0..26a2b36 100644

--- a/modules/fedora-web/files/redirects.conf

+++ b/modules/fedora-web/files/redirects.conf

@@ -10,6 +10,10 @@ RewriteRule ^/([^/]+/)?legal/licenses https://fedoraproject.org/wiki/Legal:Licen

*RewriteRule ^/([^/]+/)?legal/trademarks http://fedoraproject.org/wiki/Legal:Trademark_guidelines [R=301,L]

*RewriteRule ^/([^/]+/)?legal https://fedoraproject.org/wiki/Legal:Main [R=301,L]



+# Drop distributed web referrer hits from klopodavonatyl.net

+RewriteCond %{HTTP_REFERER} ^http://(www.)?klopodavonatyl.net/.*$

+RewriteRule .* - [F]

+

*# Comment this when there is a prerelease available

*# RewriteRule* ^(/.*)?/get-prerelease$ $1/get-fedora [R=302]



kevin






_______________________________________________
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure
 

Thread Tools




All times are GMT. The time now is 01:59 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org