Discussion in 'PHP & Perl' started by AngelG9, Jun 24, 2019.
Does anyone have a script that blocks proxy, vpn, tor of visits?
I'd like to have such script as well.
i want also
There are some copy paste scripts. I have seen here as well. Would be great if someone share plugin solution for this .
I think you will need a hude list /database of all vpn and proxies. Something that https://www.inboxdollars.com/ uses. Till today, I haven't been able to register in that site because that don't support my country and it u use vpn or proxy, It get banned instantly.
I'm currently searching for something similar, I've found a couple of sites, most are paid, and the free ones aren't that great.
Ideally... if theres one site with an API to block all of the above I wouldn't mind paying.
You may try to implement getipintel net API, it shows pretty stable good results, but there is always a chance to ban some random real user, so be careful with automatic bans.
Yeh also iphub.info which has a free plan of 1000 per day.
You might get some legit users caught up however it depends on your use case and why you want to block those users.
Maxmind fraud. Is pay per use and you have like 100k requests for 25usd i think
You can just use/query the free maxmind dbs hxxps://dev.maxmind.com/geoip/geoip2/geolite2/ , autoupdate them, and thats all. It flags tor/proxies, but not datacenter IPs.
You can do this using the free lite ip2location db. There is a project on github for this: https://github.com/ip2location/ip2proxy-php
Separate names with a comma.