Icy Phoenix

     
 

How To Block Some Addresses In Referrers Page

How To Block Some Addresses In Referrers Page

Article
Reply with quote    Download Post  
Post How To Block Some Addresses In Referrers Page 
 
Hi there,

i played some days with the referrers page because i have spambots in my forum... if i ban the hostname (f.e. freeweb.siol.net) over ACP -> ban users. and after that i delete the referrers entries in the DB, some minutes later, the can access the forum again...

this drives me really crazy... i also tried to ban the complete IP numberblock but without any success... only some minutes, after that the are still in the list...

yesterday i spoke with Tom about that too, and we both thinking of an blacklist, like by the users registrations...

I just want to know from you, if you have also problems with such spambots who put affilate link to your referrers page.

and if someone has an hint to block them...

thx

cya



 
KugeLSichA - View user's profile Send private message  
KugeLSichA [ Sun 27 Aug, 2006 14:16 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


How To Block Some Addresses In Referrers Page

Comments
Reply with quote    Download Post  
Post Re: Referrers Page 
 
yeah I had the same problem

blocked all of them in .htacces now though
there's a shitload of them..
now they still visit but you just can't see it I guess..
dunno what that .htacces does but it was said on the old forum



 
Nizzle - View user's profile Send private message  
Nizzle [ Sun 27 Aug, 2006 14:18 ]
Reply with quote    Download Post  
Post Re: referrers page 
 
Yes, this problem has already been discussed in the old xs.com.

Can you try this please?

OPEN includes/functions_referrers.php
FIND
Code: [Download] [Hide] [Select]
$ref_black_list = array(
    '.wst.st',
    '.neyon.com',
    '.byethost',
    'cialis.w48.54.ru',
);


Add the domain you wish to block... and check if it works.

Let me know!

P.S.: another suggestion is to set Referrers Permissions to REGISTERED users or above in ACP => Configuration => Page Permissions.


P.P.S.: moved to Docs.



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Sun 27 Aug, 2006 15:24 ]
Reply with quote    Download Post  
Post Re: referrers page 
 
Mighty Gorgon wrote: [View Post]
Yes, this problem has already been discussed in the old xs.com.

Can you try this please?

OPEN includes/functions_referrers.php
FIND
Code: [Download] [Hide] [Select]
$ref_black_list = array(
    '.wst.st',
    '.neyon.com',
    '.byethost',
    'cialis.w48.54.ru',
);


Add the domain you wish to block... and check if it works.

Let me know!

P.S.: another suggestion is to set Referrers Permissions to REGISTERED users or above in ACP => Configuration => Page Permissions.


P.P.S.: moved to Docs.


thx MG i add this and let you know.

i set the permissions for the referrers page to ADMIN so only i can see this.



 
KugeLSichA - View user's profile Send private message  
KugeLSichA [ Sun 27 Aug, 2006 15:30 ]
Reply with quote    Download Post  
Post Re: How To Block Some Addresses In Referrers Page 
 
Yes... and if it works fine, please, post here a list of all the addresses you have inserted... so we may build our own black list!



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Sun 27 Aug, 2006 15:34 ]
Reply with quote    Download Post  
Post Re: How To Block Some Addresses In Referrers Page 
 
Mighty Gorgon wrote: [View Post]
Yes... and if it works fine, please, post here a list of all the addresses you have inserted... so we may build our own black list!


ok. i added this now, and do some tests.

maybe we can add an ACP/SQL feature for this to add such sites, if it works?! what do think?



 
KugeLSichA - View user's profile Send private message  
KugeLSichA [ Sun 27 Aug, 2006 15:42 ]
Reply with quote    Download Post  
Post Re: How To Block Some Addresses In Referrers Page 
 
KugeLSichA wrote: [View Post]
Mighty Gorgon wrote: [View Post]
Yes... and if it works fine, please, post here a list of all the addresses you have inserted... so we may build our own black list!


ok. i added this now, and do some tests.

maybe we can add an ACP/SQL feature for this to add such sites, if it works?! what do think?

Yes, this could be a solution... but first we have to make sure that those sites are blocked...

Another solution should be blocking those sites with CTracker too...



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Sun 27 Aug, 2006 15:47 ]
Reply with quote    Download Post  
Post Re: How To Block Some Addresses In Referrers Page 
 
ok this worked for me!

i did the following changes:

OPEN functions_referrers.php
FIND
Code: [Download] [Hide] [Select]
$ref_black_list = array(
    '.wst.st',
    '.neyon.com',
    '.byethost',
    'cialis.w48.54.ru',

AFTER ADD
Code: [Download] [Hide] [Select]
         '.volja.net',
         '.siol.net',
         'xoomer.alice.it',


this are the 3 spambots that visit my referrers page many times.

and also i blocked 2 IPs in Ctracker ACP -> Security -> Proxy&Agent blocker

208.66.195.8 was many hours in my forum
  • McColo Corporation MCCOLO (NET-208-66-192-0-1)
    208.66.192.0 - 208.66.195.255
    Digital Infinity Ltd DIGITALINFINITY (NET-208-66-195-0-1)
    208.66.195.0 - 208.66.195.15


217.235.118.25 i think this IP is related to the xoomer.alice.it because, if i blocked the xoomer.alice.it in the functions_referrers.php this user hav access to. Only if i blocked this IP over Ctracker, the user hasn“t access.

cya



 
KugeLSichA - View user's profile Send private message  
KugeLSichA [ Sun 27 Aug, 2006 19:21 ]
Reply with quote    Download Post  
Post Re: How To Block Some Addresses In Referrers Page 
 
Mighty Gorgon wrote: [View Post]
Yes, this problem has already been discussed in the old xs.com.

Can you try this please?

OPEN includes/functions_referrers.php
FIND
Code: [Download] [Hide] [Select]
$ref_black_list = array(
    '.wst.st',
    '.neyon.com',
    '.byethost',
    'cialis.w48.54.ru',
);


Add the domain you wish to block... and check if it works.

Let me know!

P.S.: another suggestion is to set Referrers Permissions to REGISTERED users or above in ACP => Configuration => Page Permissions.


P.P.S.: moved to Docs.


MG
I had tried that at first
because .htacces sounded too important to fuck up

but it didn't really work
only some got left out..
even emptied the whole list and still they (who are in there) got back..

want my list?
haven't seen any new spammers in a long time now.. more than a month or so
I think I've pretty much got all of them



 
Nizzle - View user's profile Send private message  
Nizzle [ Sun 27 Aug, 2006 20:08 ]
Reply with quote    Download Post  
Post Re: How To Block Some Addresses In Referrers Page 
 
Nizzle wrote: [View Post]

want my list?
haven't seen any new spammers in a long time now.. more than a month or so
I think I've pretty much got all of them


yes. please share it. I want to take a look into it

THX!



 
KugeLSichA - View user's profile Send private message  
KugeLSichA [ Sun 27 Aug, 2006 20:16 ]
Reply with quote    Download Post  
Post Re: How To Block Some Addresses In Referrers Page 
 
hmm

I belive it's this part

Code: [Download] [Hide]
  1. RewriteCond %{HTTP_REFERER} ^(.*)nflook.com(.*)$ [OR]    
  2. RewriteCond %{HTTP_REFERER} ^(.*)qmost.info(.*)$ [OR]  
  3. RewriteCond %{HTTP_REFERER} ^(.*)zless.info(.*)$ [OR]    
  4. RewriteCond %{HTTP_REFERER} ^(.*)pertest.info(.*)$ [OR]    
  5. RewriteCond %{HTTP_REFERER} ^(.*)bablover.com(.*)$ [OR]    
  6. RewriteCond %{HTTP_REFERER} ^(.*)semiwolf.info(.*)$ [OR]    
  7. RewriteCond %{HTTP_REFERER} ^(.*)dwgn.info(.*)$ [OR]    
  8. RewriteCond %{HTTP_REFERER} ^(.*)qway.info(.*)$ [OR]    
  9. RewriteCond %{HTTP_REFERER} ^(.*)elkam.info(.*)$ [OR]    
  10. RewriteCond %{HTTP_REFERER} ^(.*)ymore.info(.*)$ [OR]    
  11. RewriteCond %{HTTP_REFERER} ^(.*)feelor.com(.*)$ [OR]    
  12. RewriteCond %{HTTP_REFERER} ^(.*)emore.info(.*)$ [OR]    
  13. RewriteCond %{HTTP_REFERER} ^(.*)leenow.info(.*)$ [OR]    
  14. RewriteCond %{HTTP_REFERER} ^(.*)fun.org(.*)$ [OR]      
  15. RewriteCond %{HTTP_REFERER} ^(.*)wp.com(.*)$ [OR]    
  16. RewriteCond %{HTTP_REFERER} ^(.*)dmost.info(.*)$ [OR]    
  17. RewriteCond %{HTTP_REFERER} ^(.*)way.org(.*)$ [OR]    
  18. RewriteCond %{HTTP_REFERER} ^(.*)sun.com(.*)$ [OR]    
  19. RewriteCond %{HTTP_REFERER} ^(.*)jvl.com(.*)$ [OR]    
  20. RewriteCond %{HTTP_REFERER} ^(.*)4ap.com(.*)$ [OR]    
  21. RewriteCond %{HTTP_REFERER} ^(.*)mem.com(.*)$ [OR]  
  22. RewriteCond %{HTTP_REFERER} ^(.*)netster.com(.*)$ [OR]      
  23. RewriteCond %{HTTP_REFERER} ^(.*)map.com(.*)$ [OR]      
  24. RewriteCond %{HTTP_REFERER} ^(.*)ize.com(.*)$ [OR]      
  25. RewriteCond %{HTTP_REFERER} ^(.*)9cy.com(.*)$ [OR]    
  26. RewriteCond %{HTTP_REFERER} ^(.*)pages.com(.*)$ [OR]    
  27. RewriteCond %{HTTP_REFERER} ^(.*)fest.com(.*)$ [OR]    
  28. RewriteCond %{HTTP_REFERER} ^(.*)crossporn.com(.*)$ [OR]  
  29. RewriteCond %{HTTP_REFERER} ^(.*)pills.ru(.*)$ [OR]    
  30. RewriteCond %{HTTP_REFERER} ^(.*)jobs.com(.*)$ [OR]    
  31. RewriteCond %{HTTP_REFERER} ^(.*)ever.com(.*)$ [OR]    
  32. RewriteCond %{HTTP_REFERER} ^(.*)this.com(.*)$ [OR]    
  33. RewriteCond %{HTTP_REFERER} ^(.*)now.com(.*)$ [OR]    
  34. RewriteCond %{HTTP_REFERER} ^(.*)mb.com(.*)$ [OR]    
  35. RewriteCond %{HTTP_REFERER} ^(.*)ies.com(.*)$ [OR]    
  36. RewriteCond %{HTTP_REFERER} ^(.*)ting.com(.*)$ [OR]    
  37. RewriteCond %{HTTP_REFERER} ^(.*)sites.ws(.*)$ [OR]    
  38. RewriteCond %{HTTP_REFERER} ^(.*)lynx.com(.*)$ [OR]    
  39. RewriteCond %{HTTP_REFERER} ^(.*)town.com(.*)$ [OR]    
  40. RewriteCond %{HTTP_REFERER} ^(.*)harvard.edu(.*)$ [OR]    
  41. RewriteCond %{HTTP_REFERER} ^(.*)mb.com(.*)$ [OR]    
  42. RewriteCond %{HTTP_REFERER} ^(.*)vy.nu(.*)$ [OR]                                                      
  43. RewriteCond %{HTTP_REFERER} ^(.*)yu.com(.*)$ [OR]    
  44. RewriteCond %{HTTP_REFERER} ^(.*)buddy4u.com(.*)$ [OR]    
  45. RewriteCond %{HTTP_REFERER} ^(.*)allinternal.com(.*)$ [OR]    
  46. RewriteCond %{HTTP_REFERER} ^(.*)asstraffic.com(.*)$ [OR]    
  47. RewriteCond %{HTTP_REFERER} ^(.*)bikinibabes.tv(.*)$ [OR]    
  48. RewriteCond %{HTTP_REFERER} ^(.*)andipink.com(.*)$ [OR]    
  49. RewriteCond %{HTTP_REFERER} ^(.*)eurosport.com(.*)$ [OR]    
  50. RewriteCond %{HTTP_REFERER} ^(.*)cel-blogs.org(.*)$ [OR]    
  51. RewriteCond %{HTTP_REFERER} ^(.*)sexy-babes.tv(.*)$ [OR]    
  52. RewriteCond %{HTTP_REFERER} ^(.*)wrongsideoftown.com(.*)$ [OR]    
  53. RewriteCond %{HTTP_REFERER} ^(.*)thecanalgallery.com(.*)$      
  54. RewriteRule .* http://www.microsoft.com/ [F,R,L]  


in the .htacces somewhere



 
Nizzle - View user's profile Send private message  
Nizzle [ Sun 27 Aug, 2006 20:18 ]
Reply with quote    Download Post  
Post Re: How To Block Some Addresses In Referrers Page 
 
KugeLSichA wrote: [View Post]
ok this worked for me!

i did the following changes:

...

and also i blocked 2 IPs in Ctracker ACP -> Security -> Proxy&Agent blocker

208.66.195.8 was many hours in my forum
  • McColo Corporation MCCOLO (NET-208-66-192-0-1)
    208.66.192.0 - 208.66.195.255
    Digital Infinity Ltd DIGITALINFINITY (NET-208-66-195-0-1)
    208.66.195.0 - 208.66.195.15

Thanks KugeL I've added these in the file.



Thanks Nizzle,
I've added also this one to standard HTACCESS, I'll release soon another patch.

Very nice idea to send spambots to Microsoft site.

Code: [Download] [Hide] [Select]
RewriteRule .* http://www.microsoft.com/ [F,R,L]




 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Sun 27 Aug, 2006 21:25 ]
Reply with quote    Download Post  
Post Re: How To Block Some Addresses In Referrers Page 
 
you blocked eurosport.com ?!  

Code: [Download] [Hide] [Select]
RewriteCond %{HTTP_REFERER} ^(.*)eurosport.com(.*)$ [OR]




 
KugeLSichA - View user's profile Send private message  
KugeLSichA [ Sun 27 Aug, 2006 21:54 ]
Reply with quote    Download Post  
Post Re: How To Block Some Addresses In Referrers Page 
 
KugeLSichA wrote: [View Post]
you blocked eurosport.com ?!  

Code: [Download] [Hide] [Select]
RewriteCond %{HTTP_REFERER} ^(.*)eurosport.com(.*)$ [OR]


shouldn't be spamming me then

Mighty Gorgon wrote: [View Post]

Very nice idea to send spambots to Microsoft site.

Code: [Download] [Hide] [Select]
RewriteRule .* http://www.microsoft.com/ [F,R,L]


muwhahaha      



 
Nizzle - View user's profile Send private message  
Nizzle [ Mon 28 Aug, 2006 19:37 ]
Reply with quote    Download Post  
Post Re: How To Block Some Addresses In Referrers Page 
 
Oh this is great



 
Claire - View user's profile Send private message  
Claire [ Mon 28 Aug, 2006 21:55 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 2
Goto page 1, 2  Next
 




 

 

cron