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:
2026-07-06 08:57:55 -07:00
parent e62e3330e4
commit 0356fe7997
7 changed files with 106 additions and 83 deletions
+3 -3
View File
@@ -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