vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How do I block a certain country? (https://vborg.vbsupport.ru/showthread.php?t=207024)

K4GAP 03-01-2009 06:35 PM

How do I block a certain country?
 
I have been swamped the last few days with new registrations from russia. Most all of them are spamming my site. How can I go about blocking ip's from russia from registering? Or maybe even block them all from even being able to see my site?

And NO I don't want to order no dang viagra :)
Those russians must be stocked up.

kevcj 03-02-2009 03:55 PM

Quote:

Originally Posted by GaryT (Post 1757771)
I have been swamped the last few days with new registrations from russia. Most all of them are spamming my site. How can I go about blocking ip's from russia from registering? Or maybe even block them all from even being able to see my site?

And NO I don't want to order no dang viagra :)
Those russians must be stocked up.

Blocking IPs and networks is not an effective solution. There are other options that you might want to consider.

Look through this thread at vbulletin.com about how to stop spam and then go from there.

Videx 03-03-2009 11:52 PM

You can try the timezone mod.

Budweiser 06-25-2009 03:38 AM

Quote:

Originally Posted by kevcj (Post 1758593)
Blocking IPs and networks is not an effective solution.

Why not?

You can get a list of IP's by country from this database....
http://ip.ludost.net/


..

James Birkett 06-25-2009 01:56 PM

Just add IP addresses from each country from the URL above and put them into the vBulletin IP ban filter, or you could put them in a .htaccess and just restrict them from register.php just in case some of the IPs are not Russian :rolleyes:

UKBusinessLive 06-25-2009 02:16 PM

1 Attachment(s)
Quote:

Originally Posted by GaryT (Post 1757771)
I have been swamped the last few days with new registrations from russia. Most all of them are spamming my site. How can I go about blocking ip's from russia from registering? Or maybe even block them all from even being able to see my site?

And NO I don't want to order no dang viagra :)
Those russians must be stocked up.

Gary, Just add this to your .htaccess file, I've added all the russian ip's

just unzip the zip file and copy to your .htaccess file :up:

K4GAP 07-30-2009 04:29 AM

Where do I find the .htaccess file?

nofat.co.nz 07-30-2009 06:17 AM

Hey Gary - you'll find the .htaccess file in your file manager (in your cpanel or whatever) - make sure you check the box for show hiden files when you go in there - then you should see it ;)

K4GAP 07-30-2009 03:40 PM

Thanks guys. Maybe now I can open registration without worrying about the ruscies

hipgirl 01-18-2010 02:07 AM

Hi,

For same reason, I banned all IPs from Taiwan, now one of the US members moved to Taiwan and asked us to lift the ban. I tried to add a "allow IP address" line in htaccess file but doesn't work. And other way to lift ban for this IP address?

Thanks in advance.

Michelle


All times are GMT. The time now is 05:29 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01083 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete