Re:Ask HN: Best way to block an EC2-hosted scraper?
by buro9 on Sunday January 09, 2011 @02:18PM
(#2086121)
You can also use Varnish ACLs to block the EC2 IP addresses.
And if they have a really obvious user-agent you could block that using Varnish: http://omninoggin.com/web-development/block-unwanted-spam-bo...
And if you're not afraid of using Varnish's VCL InlineC stuff, then you could add rate limiting to Varnish: http://drcarter.info/2010/04/how-fighting-against-scraping-u...
Basically... Varnish has become my Swiss army tool for rejecting crap traffic (and caching good traffic obviously).
http://www.varnish-cache.org/