Forum Groups
  All forums
    Help & Feedback
      Questions
      Work in progress
      Finished Art
      Non-Max related
    Community
      Offtopic
      News
    Hardware
    Photography



Maxunderground news unavailable

blocking IP's
show user profile  bonzepeet
hallo!

i remembera while ago happydude was saying he was blocking IP's on a site of his, just wondered how you go about that as one of my sites message boards is being spammed full of links to virus laden junk... any help would be spiffing!

ta

peetlee.com
www.peetlee.com



read 495 times
8/15/2006 1:10:35 PM (last edit: 8/15/2006 1:10:35 PM)
show user profile  HappyDude2
Hi Bonzepeet

If you have a Cpannel, use the IP blocking feature and enter in the ranges you want to block.

If you don't have CPannel, just create a file in your web root (or whereever you want to restrict access) called: .htaccess and put the following lines in:

deny from 60.173.
deny from 123.123.45.2
deny from 24.101.34.123

etc...
etc...
for each range, where the IP adresses replace my example addresses above...

Where you leave off the last part of the IP address (eg: 192.168.0.) this would block everyone coming from 192.168.0.x

The blanks are widlcards.


Here's the link to my original thread: http://www.maxforums.org/Thread.aspx?tid=380725


In there you will find links to the DNS testbed where you can look up what country the spammers IP is from, and what range is assigned to that country.

As Timpa noted, this solution is not for everyone, as you may be blocking more then just that region (if other legit ISP's and service providers sold out to low cost Chinese, Korean, etc... services, you may block them as well... do soem testing with the DNS Testbed).

For me, it's been working great, as I'm only really interested in Canadian visitors, as it's an Ontario mountain bikign web site. :)

Hope that helps!

Also, if you disallow anonymous posting on your forum, it "should" stop the spamming. But this is anoying if you want legit peopel to be able to post without registering.




read 487 times
8/15/2006 1:22:41 PM (last edit: 8/15/2006 1:25:20 PM)
show user profile  bonzepeet
cheers happy that's perfect!

i'll stick with anonymous posting though, as we get more 'passing trade' than regulars there. looks like the costa ricans won't be having quite so much fun from now on though : ) hurrah!

thanks a lot : D

peetlee.com
www.peetlee.com



read 462 times
8/15/2006 2:24:57 PM (last edit: 8/15/2006 2:24:57 PM)
#Maxforums IRC
Open chat window


Support Maxforums.org