TPU: Detect and Block Spam Registrations

TPU: Detect and Block Spam Registrations 1.6.6

No permission to download
@BamaStangGuy try turning off the port knocking options if you are doing outbound firewalling.

Additionally, this add-on requires reliable, and fast, DNS.
 
No go. Nothing has changed over night with our servers and this is happening across three different servers in two different data centers.
 
The github code does work.

Please make sure DNS is working, and run the following commands and report if they fail:

curl https://freegeoip.net/json/8.8.8.8
or
wget https://freegeoip.net/json/8.8.8.8

These should output something like:
Code:
{"ip":"8.8.8.8","country_code":"US","country_name":"United States","region_code":"CA","region_name":"California","city":"Mountain View","zip_code":"94040","time_zone":"America/Los_Angeles","latitude":37.3845,"longitude":-122.0881,"metro_code":807}
interesting i am using official addon's code not github version and

this works for me
Code:
http://ip-api.com/json/8.8.8.8
Code:
curl http://ip-api.com/json/8.8.8.8
{"as":"AS15169 Google Inc.","city":"Mountain View","country":"United States","countryCode":"US","isp":"Google","lat":37.3845,"lon":-122.0881,"org":"Google","query":"8.8.8.8","region":"CA","regionName":"California","status":"success","timezone":"America/Los_Angeles","zip":"94040"}
while this hangs for me
Code:
curl https://freegeoip.net/json/8.8.8.8
Code:
curl-4v https://freegeoip.net/json/8.8.8.8
* About to connect() to freegeoip.net port 443 (#0)
*   Trying 104.131.63.168... Connection timed out
* couldn't connect to host
* Closing connection #0
curl: (7) couldn't connect to host
Code:
dig +short freegeoip.net
104.131.63.168
maybe need to include fallback services as backup ?

another one i use for centmin mod to determine VPS geo data is http://ipinfo.io/ 1000 requests/day free and backed by AWS Route53 latency based dns
Code:
curl http://ipinfo.io/8.8.8.8
{
  "ip": "8.8.8.8",
  "hostname": "google-public-dns-a.google.com",
  "city": "Mountain View",
  "region": "California",
  "country": "US",
  "loc": "37.3845,-122.0881",
  "org": "AS15169 Google Inc.",
  "postal": "94040"
}
 
Last edited:
What's the status on this? Looks like something my community could really benefit from!
Released version works fine for me on XF 1.5.6

There is a learning process as you block problematic ISPs which host VPNs/Proxies/etc as you become aware of them but that is about it.
 
Thanks Xon, trying it out. The country based filtering is really what interest me, 99% of our spam comes from Pakistan & India according to our StopForumSpam reports.
 
Does the package here on XF work with XF 1.5.4 and up? The posts in this discussion are murky on this and can't tell if the ip lookup was ever fixed.

Is the developer still going to do releases to keep this maintained or is it abandoned at this point?
 
@marcv I'm running the one linked here (not the Git one) & it's working fine on 1.5.6 & 1.5.7

Since install and initial tweaks 0 spammers have made it through (10 days now). Very impressed with this addon!

99% of my spam was from Pakistan & India so this was perfect.

Quick question, is it possible to assign pts or full reject users with a homepage?
(Have it disabled through template until 3 posts so only spammers register with one).
 
It (https://github.com/Xon/XenForo_TPUDetectSpamReg/archive/fix_null_as.zip) is exactly the same structrue as the zip you download via the Download link on resource manage.
@wizzard @Xon As a non-coder, this declaration is still a little bit too cryptic for me to understand. :confused:
(i.e. Does 'same structure' imply 'same contents'? :cautious:)

From reading every post since the last official update posted here (i.e. v1.6.4 on Dec 2, 2015) I gather to obtain the most current and best fixed code available one would:
a)Download & Install v1.6.4
b)Then download https://github.com/Xon/XenForo_TPUDetectSpamReg/archive/fix_null_as.zip and only apply the add-on-TPUDetectSpamReg.xml file.

-- Or, is it simply --
c)Download and install https://github.com/Xon/XenForo_TPUDetectSpamReg/archive/fix_null_as.zip
 
Back
Top Bottom