Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

gutenberg.org blocks access to all hosting services as per http://www.gutenberg.org/error403.php

How to achieve this? Is there a list of hosting ips? Also, would these be added to CSF?

share|improve this question

closed as not constructive by EEAA, HopelessN00b, MadHatter, mdpc, Khaled Mar 11 '13 at 14:32

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

up vote 1 down vote accepted

It's achieved with a blacklist. They have a list of IP address blocks allocated to big hosting services, and redirest traffic coming from those IPs to the 403 page you included. So that's how you'd do it, yes. Of course, as with any blacklist, it's not comprehensive and the smaller or more obscure hosts tend to slip under the radar.

share|improve this answer
    
It has to be added that the Gutenberg project is using mechanisms to detect automated queries so addresses are added to the blacklist dynamically according to this announcement: "Any perceived use of automated tools to access the Project Gutenberg website will result in a temporary or permanent block of your IP address." –  the-wabbit Mar 10 '13 at 9:29
    
Ok thx. Is there such a list of ips publicly available? –  giorgio79 Mar 11 '13 at 8:51
1  
@giorgio79 Not that I know of. If you want to compile one yourself, it wouldn't be too hard. Start with the address blocks assigned to big hosts like Amazon, Azure, Rackspace and the like, and go on from there - look up smaller hosts and their IP blocks, and see if you can profile traffic with some scripts to differentiate between hosted and non-hosted traffic, and use that to continue building out your list. –  HopelessN00b Mar 11 '13 at 12:38

Not the answer you're looking for? Browse other questions tagged or ask your own question.