Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: vbgamer45 on August 03, 2019, 05:46:35 AM

Title: Block Proxy VPN On Registration
Post by: vbgamer45 on August 03, 2019, 05:46:35 AM
Link to the mod (https://custom.simplemachines.org/index.php?mod=4240)

*******************************
Block Proxy VPN On Registration
By: vbgamer45
https://www.smfhacks.com
*******************************

For SMF 2.1.x and SMF 2.0.x

Block Proxies, Tor,  VPN on registration.

License: BSD License
Title: Re: Block Proxy VPN On Registration
Post by: -Rock Lee- on August 03, 2019, 01:19:46 PM
Just what I was looking for a job I have to do, very good job @vbgamer45 :D


Regards!
Title: Re: Block Proxy VPN On Registration
Post by: vbgamer45 on August 03, 2019, 02:54:05 PM
Thanks
Title: Re: Block Proxy VPN On Registration
Post by: efk on August 03, 2019, 06:44:59 PM
Nice, so this mod works only on registration, not after registration if user decide to use later? And is there similar or the same mod for 2.0.x ?
Title: Re: Block Proxy VPN On Registration
Post by: vbgamer45 on August 03, 2019, 08:02:16 PM
Correct just on registration. Could be adapted for login and SMF 2.0.x
I might do the SMF 2.0.x one soon.
Title: Re: Block Proxy VPN On Registration
Post by: vbgamer45 on August 04, 2019, 10:54:22 AM
Added SMF 2.0.x support.
Title: Re: Block Proxy VPN On Registration
Post by: Massl on August 04, 2019, 11:53:10 AM
Many thanks  :)
Title: Re: Block Proxy VPN On Registration
Post by: thatjustit on September 26, 2019, 08:49:55 PM
Very useful, spammers are targetting SMF nowadays so much.
Title: Re: Block Proxy VPN On Registration
Post by: sam666 on October 09, 2019, 12:41:41 PM
Installed the latest version a few days ago with no errors on install but just now found an issue when selecting Admin>members>view all members or search for members. The following error is reported: syntax error, unexpected '<'
Removed this mod and the Admin members listing then shows as normal.
The error log however does not show anything amiss.
Have tested this on a new install and still shows the error.
Running SMF 2.0.15 on PHP 7.1.30
Title: Re: Block Proxy VPN On Registration
Post by: vbgamer45 on October 09, 2019, 03:34:47 PM
Can you attach your sources/Subs-Members.php file.
Title: Re: Block Proxy VPN On Registration
Post by: sam666 on October 09, 2019, 06:20:21 PM
File from a clean 2.0.15 install which has the error on line 590
Title: Re: Block Proxy VPN On Registration
Post by: vbgamer45 on October 09, 2019, 08:11:15 PM
Fixed new update
1.0.1
!Fixed issue with subs-member package.
Title: Re: Block Proxy VPN On Registration
Post by: mattdanzig on October 11, 2019, 03:17:37 PM
(https://i.postimg.cc/Hxdcmsww/block-vpn.jpg)
Title: Re: Block Proxy VPN On Registration
Post by: vbgamer45 on October 11, 2019, 03:45:14 PM
Can't read are you trying to install or uninstall?
Title: Re: Block Proxy VPN On Registration
Post by: mattdanzig on October 11, 2019, 05:42:23 PM
(https://i.postimg.cc/tTRrT6WD/ste-help-multi-qutoes.png)
Title: Re: Block Proxy VPN On Registration
Post by: peterbehlendorf on October 11, 2019, 06:13:33 PM
It would also be nice to block tor exit nodes.
Title: Re: Block Proxy VPN On Registration
Post by: vbgamer45 on October 11, 2019, 07:08:21 PM
Quote from: mattdanzig on October 11, 2019, 05:42:23 PM
(https://i.postimg.cc/tTRrT6WD/ste-help-multi-qutoes.png)
I would try to download the package form the mod site then upload to your smf's package manager.
Title: Re: Block Proxy VPN On Registration
Post by: vbgamer45 on October 11, 2019, 10:59:48 PM
1.1
Added Tor exit node detection to block
Title: Re: Block Proxy VPN On Registration
Post by: mattdanzig on October 13, 2019, 05:27:30 AM

Quote
I would try to download the package form the mod site then upload to your smf's package manager.
******. I'm using 2.0.15. Would you know of any similar mods that are available for my release? Thanks in advance.
Title: Re: Block Proxy VPN On Registration
Post by: Arantor on October 13, 2019, 05:53:31 AM
How can I install a mod that doesn't work in my SMF version? (https://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version)

Almost every mod for 2.0.x will work on 2.0.15.
Title: Re: Block Proxy VPN On Registration
Post by: mattdanzig on October 14, 2019, 05:08:56 AM
Quote from: Arantor on October 13, 2019, 05:53:31 AM
How can I install a mod that doesn't work in my SMF version? (https://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version)

Almost every mod for 2.0.x will work on 2.0.15.
I got it installed. Thanks. .
Title: Re: Block Proxy VPN On Registration
Post by: Sir Osis of Liver on December 18, 2019, 11:46:56 AM
Any settings for this mod, or does it just work when installed?
Title: Re: Block Proxy VPN On Registration
Post by: vbgamer45 on December 18, 2019, 11:47:36 AM
No settings just enabled by default.
Title: Re: Block Proxy VPN On Registration
Post by: Sir Osis of Liver on December 18, 2019, 11:58:32 AM
Thanks.
Title: Re: Block Proxy VPN On Registration
Post by: Sir Osis of Liver on December 18, 2019, 10:05:47 PM
Forum owner is able to register using vpn, so am I (cleared browser first, using ProtonVPN).  Any way to determine if mod is enabled?
Title: Re: Block Proxy VPN On Registration
Post by: Sir Osis of Liver on December 20, 2019, 10:26:33 PM
What's up with this mod?  We're able to register with Express and Proton vpns, and Tor.  Uninstalled/reinstalled with no errors, doesn't work at all. >:(
Title: Re: Block Proxy VPN On Registration
Post by: vbgamer45 on December 22, 2019, 08:57:54 AM
It attempts to block them if  they pass headers that are like vpn if they don't then won't get blocked.
Title: Re: Block Proxy VPN On Registration
Post by: dowhelp on June 17, 2020, 12:26:20 PM
Hi.

I am trying to uninstall the latest version and get the following:

1.    Add Before    ./Themes/default/languages/Modifications.english.php    Test failed



Code: (Find) [Select]

?>

Code: (Add Before) [Select]
                                           (this is blank)


Any help would be greatly appreciated.
Regards

Title: Re: Block Proxy VPN On Registration
Post by: vbgamer45 on June 17, 2020, 01:14:36 PM
Safe to ignore you can remove the strings manually from the file though.
Title: Re: Block Proxy VPN On Registration
Post by: dowhelp on June 18, 2020, 09:43:00 PM
Thank you vbgamer45
Title: Re: Block Proxy VPN On Registration
Post by: kitz on November 17, 2021, 12:10:48 AM
Quote from: vbgamer45 on December 18, 2019, 11:47:36 AMNo settings just enabled by default.

Thank you.  Installed as weve had an influx recently.

I'd be interested to know though how this mod works ie if the user gets sent to another page which says registration has failed or if they are unable to complete the registration and get an error message. Also is there any record of how many its cuahgt?
Title: Re: Block Proxy VPN On Registration
Post by: vbgamer45 on November 17, 2021, 10:43:48 AM
There is no logging with this mod.

If detected it just says
You can not signup for this forum using a proxy or a vpn service. Please disable then try to register again
Title: Re: Block Proxy VPN On Registration
Post by: kitz on November 17, 2021, 08:36:41 PM
Thanks for the response and thanks again for the mod :)
Title: Re: Block Proxy VPN On Registration
Post by: vbgamer45 on November 17, 2021, 10:27:07 PM
Your welcome