On Sun, Oct 20, 2013 at 01:04:01AM +0200, Stefan Wollny wrote: [stuff deleted for brevity]
>> I am in a similar situation (squid at home) and I simply have a >> blacklist with lines like these: >> >> doubleclick >> facebook >> scorecardresearch >> >> Works like a charm for me, and no need to look up IP address blocks >> or anything like that. And since I am the only user here there's no >> collateral damage. ;-) > > Well: I am personally liable for what leaves my network so this kind of > 'collateral damage' is what I intentionally try to achieve :-) (see the > reply to myself a few minutes ago) Uhm, squid only filters incoming traffice... > May I ask a follow-up question: Did you set up the blacklist within > squid.conf or did you reference to a separate file? A bit of both really, I use a seperate file and reference it in squid.conf: sico@siem2:~>grep blacklist /etc/squid/squid.conf acl blacklist url_regex "/etc/squid/blacklist.acl" http_access deny blacklist sico@siem2:~> The "url_regex" allows me to specify facebook instead of facebook.com etc. CU, Sico. --