Go Back   Admin Zone Forums > The Community Zone > Managing an Online Community > Site Security

Site Security Keeping Your Community Safe from Hackers and Other Unwelcome Visitors.

Reply
 
Thread Tools

  #1  
Old 07-17-2005, 07:54 AM
Grover's Avatar
Grover Grover is offline
TAZ Regular
 
Join Date: Jan 2004
Posts: 35
Grover is on a distinguished road
Question How do I block ALL IP's except those from Holland and Belgium on my forum?
Hi,

We are confronted with a troll who is using proxies to sign in on our forum. Banning doesn't work, cause he keeps changing proxies.

I was wondering : since all my visitors come from Holland and Belgium : it is possible to block ALL IP's except those who originate from Holland and Belgium on my forum?

Thanks for any help,
Reply With Quote
  #2  
Old 07-17-2005, 09:14 AM
Chit_n_Chat Chit_n_Chat is offline
Tazmanian
 
Join Date: Jun 2005
Admin Experience: Beginner
Location: -here-
Posts: 860
Chit_n_Chat will become famous soon enough
Default
What forum software are you using?

I'm not sure but is there like on phones and IP address prefix for different countries?
Reply With Quote
  #3  
Old 07-17-2005, 09:37 AM
Grover's Avatar
Grover Grover is offline
TAZ Regular
 
Join Date: Jan 2004
Posts: 35
Grover is on a distinguished road
Default
VBulletin (ofcourse ; )
Reply With Quote
  #4  
Old 07-17-2005, 10:03 AM
Lightning Lightning is offline
Tazmanian
 
Real Name: Ben
Join Date: May 2005
Admin Experience: Intermediate
Posts: 195
Lightning has a spectacular aura about
Default
For most forum softwares, there should be a modification or feature to block proxies. I'm very sure that one exists for vBulletin because I've ran into one before.
Reply With Quote
  #5  
Old 07-17-2005, 11:49 AM
DMB DMB is offline
vBulletin User
 
Join Date: Jul 2005
Admin Experience: Intermediate
Posts: 850
DMB is an unknown quantity at this point
Default
What if he uses a proxy in Holland or Belgium? This is going to be hard because there isn't a certain ip range these countries use. Some might use AOL which probably uses servers to connect in more than just those two countries. If possible, I would ban the free e-mail domain he keeps signing up with.
Reply With Quote
  #6  
Old 07-17-2005, 04:22 PM
Grover's Avatar
Grover Grover is offline
TAZ Regular
 
Join Date: Jan 2004
Posts: 35
Grover is on a distinguished road
Default
Quote:
Originally Posted by The Newmanium
What if he uses a proxy in Holland or Belgium? This is going to be hard because there isn't a certain ip range these countries use.
Ok, so it really is IMPOSSIBLE to ban certain countries (extracted from the IP) on registering to a forum?
Reply With Quote
  #7  
Old 07-18-2005, 05:16 AM
Grover's Avatar
Grover Grover is offline
TAZ Regular
 
Join Date: Jan 2004
Posts: 35
Grover is on a distinguished road
Default
Quote:
Originally Posted by Grover
Ok, so it really is IMPOSSIBLE to ban certain countries (extracted from the IP) on registering to a forum?
Does anyone have experience with this? I understand it is NOT possible to ban all IP's from all countries except Holland and Belgium?
Reply With Quote
  #8  
Old 07-18-2005, 05:54 AM
erik erik is offline
TAZ Regular
 
Join Date: Jun 2005
Admin Experience: Beginner
Posts: 49
erik is on a distinguished road
Default
Which forum software do you use ?

I think you'd have to set up a IP block for every country in your forum software.
That would require some work, and you need a list with IP (main) numbers for all countries (couldn't find a free one)

Contact the maker of the forum software, or your webspace provider to see if they can help you out. (ISP numbers can be blocked on server level too afaik)

Reply With Quote
  #9  
Old 07-19-2005, 11:16 PM
WoodiE55 WoodiE55 is offline
TAZ Regular
 
Join Date: Feb 2004
Admin Experience: Guru
Location: in a box.
Posts: 54
WoodiE55 is on a distinguished road
Default
Quote:
Originally Posted by Grover
Hi,

We are confronted with a troll who is using proxies to sign in on our forum. Banning doesn't work, cause he keeps changing proxies.

I was wondering : since all my visitors come from Holland and Belgium : it is possible to block ALL IP's except those who originate from Holland and Belgium on my forum?

Thanks for any help,
Grover,

Honestly you're best bet would be to use .htaccess if your host allows it. This way you could deny all and allow only the IP ranges you want. While I can't think of any sites right this second I do recall seeing sites in the past that listed most countries IP ranges. But again htaccess would be great for this if you have access to it - ask your host.


-Michael
Reply With Quote
  #10  
Old 12-30-2005, 09:45 AM
yozzy yozzy is offline
TAZ Rookie
 
Join Date: Dec 2005
Posts: 2
yozzy is on a distinguished road
Default
I posted a reply just a second ago, where did it go ?

Ok, i will try to do it again fast

download from http://www.ip-2-country.com/

upload to the web root both the dta directory and the ip2c.php file

now take the config.php file of your system *(your forum etc...)

add the following to the config file of your system

include('ip2c.php');
$ipofvisitor = $_SERVER['REMOTE_ADDR'];
$longforrange = sprintf("%u\n", ip2long($ipofvisitor));
$ipinfo = returncountry($longforrange);
$cntry2cd = $ipinfo[0];
if (!(($cntry2cd == 'JO') || ($cntry2cd == 'UK')))
{
die("This forum is only for people from Jordan and the United Kingdome");
}

replace JO and UK with the county codes (capital letter) of the places you wish to allow, and surely you can change the message inside the DIE function
Reply With Quote
  #11  
Old 12-30-2005, 11:26 AM
DMB DMB is offline
vBulletin User
 
Join Date: Jul 2005
Admin Experience: Intermediate
Posts: 850
DMB is an unknown quantity at this point
Default
Quote:
Originally Posted by yozzy
I posted a reply just a second ago, where did it go ?
You made a new thread not a new reply
Reply With Quote
  #12  
Old 12-30-2005, 11:43 AM
AZbb's Avatar
AZbb AZbb is offline
TAZ Regular
 
Join Date: Dec 2005
Admin Experience: Guru
Location: U.K.
Posts: 40
AZbb is on a distinguished road
Default
There are more ways than one to tackle the issue.

Of course any IP banning is best done at server level, i.e. httpd.conf or .htaccess

You can get the ranges for the countries and allow for those ranges.

But that is not full proof as ranges change and there are proxies for those countries.

My suggestion is to forget about banning.

Some forum software allow you to set admin approval for registrations. If that is the case, the troll can register as many times he/she wants and you don't have to let him/her in.

If your forum software does not have such feature, then you can control it via board access.

Set all the board access requirements, i.e. to some groups, and only give access to people that you know. That way again, no mater how many times a person registers, they can not get access to the boards. That is the best way in my opinion. You can always delete the unwanted registrations.

In most case, the person will get bored and leave.

Good luck
AZ
__________________
AZbb :: AZ Bulletin Board - Secure BBS script, Front Page CMS, Chat, No database
Reply With Quote
  #13  
Old 07-28-2008, 10:17 AM
MissKerry's Avatar
MissKerry MissKerry is offline
TAZ Rookie
 
Join Date: Jul 2008
Admin Experience: Intermediate
Posts: 21
MissKerry is on a distinguished road
Default
Quote:
Originally Posted by Lightning View Post
For most forum softwares, there should be a modification or feature to block proxies. I'm very sure that one exists for vBulletin because I've ran into one before.
i am having similar problems. Do you know where i can find that mod or features as i have looked but can't find it?
Reply With Quote
  #14  
Old 07-28-2008, 10:32 AM
Baldilocks's Avatar
Baldilocks Baldilocks is offline
Euphoric
 
Real Name: Steve
Join Date: Jan 2008
Admin Experience: Intermediate
Location: Delaware, USA
Posts: 3,204
Baldilocks is a glorious beacon of lightBaldilocks is a glorious beacon of lightBaldilocks is a glorious beacon of light
Default
That is not always a good thing though. Many people who rely on satellite internet for broadband are almost always connected by a proxy.

That would be excluding a lot of people....
__________________
EuphoricArythmia - A Little Offbeat & Loving It | URLJet - Professional vBulletin Hosting.
HowardForums - Your Source for Cell Phone News & Discussion

Reply With Quote
  #15  
Old 07-30-2008, 10:56 PM
youradhere4222 youradhere4222 is offline
Political Junkie
 
Real Name: Chase
Join Date: Sep 2007
Admin Experience: Intermediate
Location: League City, TX
Age: 16
Posts: 957
youradhere4222 is on a distinguished road
Default
Quote:
Originally Posted by MissKerry View Post
i am having similar problems. Do you know where i can find that mod or features as i have looked but can't find it?
Go to vbulletin.org and look at the first 5 pages for 3.7 Add-Ons. You'll see what you're looking for as well as other things that will help you prevent users from accessing your site after being banned.
__________________
m00la | ... a quick, effective way to make money on the Internet----guaranteed.
Reply With Quote
  #16  
Old 09-23-2008, 06:45 PM
Secure Secure is offline
Tazmanian
 
Join Date: Jul 2008
Admin Experience: Guru
Posts: 486
Secure is on a distinguished road
Default
Quote:
Originally Posted by Grover View Post
Hi,

We are confronted with a troll who is using proxies to sign in on our forum. Banning doesn't work, cause he keeps changing proxies.

I was wondering : since all my visitors come from Holland and Belgium : it is possible to block ALL IP's except those who originate from Holland and Belgium on my forum?

Thanks for any help,
You want to ban entire countries? You will lose a lot of possible members just to stop some spam.
Reply With Quote
  #17  
Old 09-25-2008, 07:16 AM
Okoji Okoji is offline
TAZ Rookie
 
Real Name: Chibueze
Join Date: Jan 2008
Admin Experience: Guru
Location: Lagos, Nigeria
Posts: 16
Okoji is on a distinguished road
Default
Dear, i will suggest you keep banning him. Sooner or later, he will get tired.

Sorry for this forum. I can understand what you are going tru. I was there before but now, it is over.

Okoji
Reply With Quote
  #18  
Old 09-25-2008, 08:00 AM
dadrill's Avatar
dadrill dadrill is offline
TAZ Regular
 
Join Date: Sep 2008
Posts: 35
dadrill is a jewel in the rough
Default
If he's using a proxy you would need this to find his real IP. Once done you can pull out the BIG BAN HAMMER.
Reply With Quote
Reply





Currently Active Users Viewing this Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT -4. The time now is 05:07 PM.


Powered by: vBulletin
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Page generated in 0.32067299 seconds with 10 queries
The Admin Zone © copyright 2003-2009 All Rights Reserved. Content published on The Admin Zone requires permission for reprint.