How-To-Prevent-Scraping icon indicating copy to clipboard operation
How-To-Prevent-Scraping copied to clipboard

How to identify the IP addresses from cloud hosting

Open cyflhn opened this issue 5 years ago • 3 comments

You said in the article that we can block some requests from cloud hosting. But how should we identify the IP addresses which belong to cloud hosting?

cyflhn avatar Dec 09 '18 07:12 cyflhn

Some cloud providers publish the IP ranges they use, e.g. AWS: https://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.html

Maxmind also provides an API which will tell you if an IP address is a VPN / Proxy / Web host / TOR node, etc: https://dev.maxmind.com/geoip/geoip2/geoip2-anonymous-ip-csv-database/ (paid)

Otherwise do a whois on the IP adress and extract the owner info - this is manual, but you can block networks which only do cloud / hosting.

JonasCz avatar Dec 30 '18 19:12 JonasCz

whois API is not free. Is there any free API that can help us to identify the cloud hosting?

cyflhn avatar Jan 08 '19 09:01 cyflhn

I am kinda late for this but I found this great web tool for tracing back ip adress and doing whois: https://mxtoolbox.com/NetworkTools.aspx

You still need to manually filter ips accessing to your site, once your done with that. Use the tool to figure out which is which.

lnfel avatar Jun 25 '21 07:06 lnfel