Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Omni: What are your methods of ip banning/blocking multiple countries?
#1
I don't remember where you said it, or if you said it at all, but I've been trying to figure out a way to block an entire country with one single line of code for apache/linux firewall/whatever.
Fight Human Trafficking | Slavery Report
Discuss Space, Science, and Exploration | Space Inhabitation Coalition
Reply
#2
One method is denying the IP ranges via htaccess http://www.find-ip-address.org/ip-country/
Reply
#3
That's a lot of information to put in there. The system can handle very large htaccess files?
Fight Human Trafficking | Slavery Report
Discuss Space, Science, and Exploration | Space Inhabitation Coalition
Reply
#4
Use this:
http://www.blockacountry.com/

Don't use their stupid 403 page, though.
Reply
#5
(06-09-2010, 09:31 AM)timestandstill Wrote: Use this:
http://www.blockacountry.com/

Don't use their stupid 403 page, though.
I didnt think you were being serious there lol but I checked the page Huh
Reply
#6
Ban a range like 45.* it will ban all starting IP's with 45.

If you're going to ban china find all the starting IP's. Do a full ban as shown above and bam. You'll have them covered I do believe.
[Image: HFTOTW2DR.png]

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Omni, would you? fanta 8 1,297 12-21-2011, 10:19 AM
Last Post: DaUB3R
  omni The Observer 21 3,382 12-17-2011, 04:55 PM
Last Post: DAMINKā„¢
  What i think of Omni.. VeinsOfTheSun 7 1,249 09-06-2010, 01:01 PM
Last Post: VeinsOfTheSun
  What does Omni look like? WirelessWave 128 33,550 07-24-2010, 12:22 PM
Last Post: UrugEci
  The banning game. alonalon 13 1,790 05-06-2010, 01:13 PM
Last Post: Elektrisk

Forum Jump:


Users browsing this thread: 5 Guest(s)