Replace RDAP/ipwhois signup-IP classifier with ipapi.is
Flags datacenter, vpn, proxy, tor, and independently-scored abuser signals instead of regex-matching RDAP org names; anonymous tier covers 1000 req/day, well above signup volume.
This commit is contained in:
+3
-3
@@ -233,9 +233,9 @@ def ip_scrutiny_tests():
|
||||
return classifications[ip]
|
||||
|
||||
classifications = {
|
||||
"203.0.113.10": ("residential", "Example Residential ISP"),
|
||||
"198.51.100.20": ("datacenter", "Example Cloud Hosting Inc"),
|
||||
"198.51.100.21": ("datacenter", "Example Cloud Hosting Inc"),
|
||||
"203.0.113.10": ("clean", "Example Residential ISP", False),
|
||||
"198.51.100.20": ("datacenter", "Example Cloud Hosting Inc", True),
|
||||
"198.51.100.21": ("datacenter", "Example Cloud Hosting Inc", True),
|
||||
}
|
||||
main.classify_signup_ip = classify
|
||||
|
||||
|
||||
Reference in New Issue
Block a user