• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Ban by Hostname 1.0.2

No permission to download
Compatible XF 1.x versions
1.2, 1.3, 1.4, 1.5
Visible branding
No
This add-on will block HOSTNAMES from registering on your site.

While this isn't the preferred way to block registration, it has it's uses and is effective.

Registrations are blocked in the following order..

1) If the IP Address is the same as the HOSTNAME (must enable option to activate)

Example: If the IP Adress is 111.111.111.111 and the hostname is 111.111.111.111 the user will not be able to register.
2) If the HOSTNAME supplied by the IP Address is in the list of blocked hostnames.

Example: If the hostname is host12.server3.vpn999.com and the word 'server' is in the banned hostname list the user will not be able to register.
3) If the IP Address OWNER is in the list of blocked hostnames. (must enable Whois option to activate)

Example: If the IP Adress is 184.154.133.148 it will return a hostname of host7.server5.vpn999.com
BUT if you look up the IP Address, the actual OWNER of the IP is SINGLEHOP
If SINGLEHOP is in the banned hostname list, ANY user coming from SINGLEHOP will not be able to register.
REQUIREMENTS: In order for the WHOIS function used in this mod to work properly, your server must have OPENSSL installed.
Author
Snog
Downloads
75
First release
Last update
Rating
5.00 star(s) 3 ratings

More resources from Snog

Latest updates

  1. Ban by Hostname 1.0.2

    Due to many errors with the GNU phpwhois code, this update replaces the phpwhois code for a more...
  2. Update 1.0.1

    This update fixes the following issues found in version 1.0.0: Spaces in hostname list causes...

Latest reviews

Very useful -- especially for preventing users from making alternate accounts once banned (ban evading). Love the WHOIS feature. It has also helped me keep spambots at bay.
D
Once again another very cool mod from Snog
Been waiting for something like this. Some of those bad bots change IP addresses / blocks religiously. But ironically, their host name remains the same. Wonderful.