Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - IP Address Banning Thousands of addresses
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

IP Address Banning Thousands of addresses

 Post Reply Post Reply
Author
jkrus10414 View Drop Down
Newbie
Newbie


Joined: 06 January 2004
Location: United States
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote jkrus10414 Quote  Post ReplyReply Direct Link To This Post Topic: IP Address Banning Thousands of addresses
    Posted: 22 January 2004 at 12:43pm

Hello,

We are hosting a discussion board that will limited our audience to people residing in the U.S., Canada, and the UK. Is there an easy way that one can reverse the IP blocking featutre in versions 7.6?  Since we want to only allow three countries we would rather specify the range of IP's that we would like to ALLOW and have the software block all other IPs. By doing it this way we would have a much smaller list of IP ranges to list and manage. Anyone have ideas?

 

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 22 January 2004 at 12:48pm
The simplest solution would be to write a peice of code in the common.asp file that detects the users IP and if it doesn't match the allowe ones send them to another page.


Back to Top
jkrus10414 View Drop Down
Newbie
Newbie


Joined: 06 January 2004
Location: United States
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote jkrus10414 Quote  Post ReplyReply Direct Link To This Post Posted: 22 January 2004 at 2:04pm

We are thinking of just finding a good source that has all of the country specific IP ranges and entering them in. Anyone know of a good place that has IP ranges based by country?

 

 

 

Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 22 January 2004 at 2:30pm
http://ip-to-country.webhosting.info/
its a free IP 2 location database
Back to Top
jkrus10414 View Drop Down
Newbie
Newbie


Joined: 06 January 2004
Location: United States
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote jkrus10414 Quote  Post ReplyReply Direct Link To This Post Posted: 22 January 2004 at 3:16pm

Is there another way to input the ranges of the ips other then the Wildcard?   The list given at http://ip-to-country.webhosting.info/ gives many hit and miss ranges of IPs that I want to block.
Basically I want to be able to copy and paste the information thats given at the above address. I don't think the Forum ASP code would recognize inputs in the form of "39.65.22.33 - 39.65.22.77"  or "39652233 - 39652277".  I am simply trying to figure the best way to block the entire  world from my discussion board aceept only three contries.  Any ideas?

 

 

Back to Top
thekiwi View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 23 November 2003
Location: New Zealand
Status: Offline
Points: 392
Post Options Post Options   Thanks (0) Thanks(0)   Quote thekiwi Quote  Post ReplyReply Direct Link To This Post Posted: 22 January 2004 at 3:29pm
Why not reverse your logic ... and only allow from a group of IP Addresses
Back to Top
thekiwi View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 23 November 2003
Location: New Zealand
Status: Offline
Points: 392
Post Options Post Options   Thanks (0) Thanks(0)   Quote thekiwi Quote  Post ReplyReply Direct Link To This Post Posted: 22 January 2004 at 3:29pm

Originally posted by thekiwi thekiwi wrote:

Why not reverse your logic ... and only allow from a group of IP Addresses

Opps ... that was your original question

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.