Search squid archive

Re: just for fun

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/01/11 10:42, Tóth Tibor Péter wrote:
This is just for fun, or for some kind of excerise for the geeks ...

I was wondering if is there a way to block every sites hosted on apache servers or hosted on linux machines?

http_reply_access plus an ACL which checks reply header "Server:" for the apache server agent. Server OS is more tricky, it is done in the same way but depends on whether the OS is even mentioned in the reply headers.

of course within squid. Is there some kind of tweak to get the webserver version of the site and make rules based on that?

Again this is just for myself and as an excersise.

If not with squid, would it be possible to do this with a .PAC file ?

Nope. It has to be done based on the reply.


Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.10
  Beta testers wanted for 3.2.0.4


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux