vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Administrative and Maintenance Tools - Moderate New Registrations Based On IP Geographical Origin (https://vborg.vbsupport.ru/showthread.php?t=205044)

dpnow 12-10-2012 09:30 AM

Quote:

Originally Posted by Cyburbia (Post 2271650)
Worked for a few weeks, but now having problems.

I've got Austria in my whitelist (AT), yet registrations from that country are moderated.

China, Vietnam, Pakistan and Sri Lanka are getting through, despite not being on the whitelist.

All zone files are current, installed in the proper location, and world-readable. Valid country codes are all properly separated with commas.

Nice concept, but it's not working. For many of us, a blacklist of countries would work better than a whitelist, especially considering that there's certain countries with a reputation as being forum spam friendly (China, Russia, India, Pakistan, Vietnam, Philippines, Belarus, Bangladesh, Sri Lanka, Nigeria)

It seems the ipdeny.com IP blocks are incomplete. I had a spammer from Vietnam register last night from 117.7.119.3 and this IP address is not in the ipdeny list for Vietnam.

Ian

ETDC 12-10-2012 01:10 PM

Agreed - holes in the armour are starting to show...

djbaxter 12-10-2012 02:14 PM

Quote:

Originally Posted by dpnow (Post 2389709)
It seems the ipdeny.com IP blocks are incomplete. I had a spammer from Vietnam register last night from 117.7.119.3 and this IP address is not in the ipdeny list for Vietnam.

Ian

Quote:

Originally Posted by ETDC (Post 2389743)
Agreed - holes in the armour are starting to show...

IP lists are changing all the time. You need to download updated lists from http://www.ipdeny.com/ipblocks/ periodically or when you see IPs slipping by. Best practice is to download all-zones.tar.gz, unpack it, and upload to the /plugins/zones folder on your server.

djbaxter 12-10-2012 02:25 PM

Quote:

Originally Posted by Cyburbia (Post 2271650)
For many of us, a blacklist of countries would work better than a whitelist

Easily done.

Edit file /plugins/whois.php

Find at line 11:

Code:

if (!in_array($_SERVER['REMOTE_ADDR'],$excluded_ips)) { $ignore = true; }
Change to:

Code:

if (in_array($_SERVER['REMOTE_ADDR'],$excluded_ips)) { $ignore = true; }
Then just enter the names of the countries you want to block or blacklist (instead of the countries you want to whitelist) in the options for the add-on.

ETDC 12-10-2012 02:28 PM

Quote:

Originally Posted by djbaxter (Post 2389759)
You need to download updated lists...

I did! Plugin still get's it wrong. :(

djbaxter 12-10-2012 02:37 PM

How long ago did you do that?

ETDC 12-10-2012 03:14 PM

I updated the files and literally a day later had a string of spammers from Philipines / India (I only allow UK to register then post).

ETDC 12-26-2012 08:52 PM

Just updated the country files today and within an hour I had a registration from Egypt get through. This mod isn't working.

imported_silkroad 12-26-2012 09:14 PM

Just use Apache Mod_GeoIP, write a few lines of code, and be done with it.

This plugin is junk.

ETDC 12-26-2012 09:35 PM

If I knew how to!


All times are GMT. The time now is 01:01 PM.

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.01535 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete