Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-24-2006, 02:48 PM
meissenation meissenation is offline
 
Join Date: Apr 2005
Posts: 476
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How Do I Ban All Foreign Countries From Viewing My Site?

Don't mean to stir the pot from this thread, but to be blunt -- the turkish hacking ring that attacks my sites on a regular basis is annoying. Not to mention the foriegn spammers that register on my site just to spam their porno gambling websites. My site is a regional site to Michigan, United States so I don't see any reason why anyone from any other country would need to register. Is there a way to block all foriegn IP addresses that resolve to another country from registering/accessing my vBulletin website?

Also, is there a way to ban based on their email address? I noticed the turkish hackers usually use hotmail.(country domain) instead of regular hotmail.com, etc. While I know either of these cases wouldn't stop all of the hacking activity, it would definitely stop a lot of it.
Reply With Quote
  #2  
Old 11-24-2006, 04:18 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

By closing down your site.
Reply With Quote
  #3  
Old 11-24-2006, 04:43 PM
meissenation meissenation is offline
 
Join Date: Apr 2005
Posts: 476
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It can't be that hard to do -- most IPs resolve to specific ISPs and such and can be resolved to a location. There's programs that will take an IP address and show you an aerial map of the neighborhood that IP address is coming from. All it'd have to do is figure out if the IP resolves to a square box around the US and if not, ban. Ah well, was just hoping there was something available, I see entirely no reason for anyone outside of the US to be browsing my site in the first place.
Reply With Quote
  #4  
Old 11-24-2006, 06:00 PM
Asi9ine's Avatar
Asi9ine Asi9ine is offline
 
Join Date: Aug 2005
Location: Berkshire, England
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could:

- Use aggressive email banning
- Set up new user moderation
- Report the offending IP's
- Set up a forum mask so it seems that the place has been perm-closed; only banned members could see. All it would take is to change the relevant phrase.

Good luck.
Reply With Quote
  #5  
Old 11-24-2006, 09:51 PM
UltimateOreo! UltimateOreo! is offline
 
Join Date: Nov 2006
Location: Missouri
Posts: 462
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, ban an entire subnet, most countries have the same subnet, thats how other sites do it.
Reply With Quote
  #6  
Old 12-05-2006, 02:56 AM
Q-v-n-s-Q Q-v-n-s-Q is offline
 
Join Date: Mar 2005
Posts: 289
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

try htaccess
Reply With Quote
  #7  
Old 12-05-2006, 03:00 AM
SaN-DeeP's Avatar
SaN-DeeP SaN-DeeP is offline
 
Join Date: Jun 2002
Location: Mumbai, India
Posts: 1,195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

.htaccess is the only solution to disallow other sites/users accessing your site, do you have a list of IP Address, host masks for your country alteast ?
Reply With Quote
  #8  
Old 12-05-2006, 09:38 AM
Distance's Avatar
Distance Distance is offline
 
Join Date: Jul 2006
Location: Boston, Uk
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Psionic Vision View Post
By closing down your site.
lol agreed
Reply With Quote
  #9  
Old 01-02-2007, 02:46 AM
Silver_2000_)! Silver_2000_)! is offline
 
Join Date: Mar 2002
Location: Texas
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you look you can find a ip blocking program that will let you pick the country's and add them by specifc IPs to your iptables deny

http://fixingtheweb.com/

It will block them from the entire server - If you have that level of access
Reply With Quote
  #10  
Old 05-23-2007, 04:12 PM
meissenation meissenation is offline
 
Join Date: Apr 2005
Posts: 476
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have been flooded recently with foreign spammers that register on my site and then don't do anything. They don't even come back to spam their post, but it's frustrating none the less. I also got hit hard by some hacker that found a hole in my server and uploaded a Bank of America phishing site to my server which then caused it to be shut down for 20 hours. I'm definitely going to try this fixtheweb.com solution.
Reply With Quote
Reply


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. The time now is 12:43 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04134 seconds
  • Memory Usage 2,251KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete