[squid-users] How to: Block certain domains

From: James Moe <jimoe@dont-contact.us>
Date: Sun, 18 Sep 2005 22:57:24 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
~ Disclaimer: Yes, I RTFM. Yes, I scanned the archives; because there is
no search, I probably missed a similar question. Yes, I have lurked here
for a couple of weeks.

~ v2.5.stable5
~ Can squid be configured to deny access to certain domains? Like
*.doubleclick.net or *.falkag.net? The "acl <waste-of-time> dstdomain
<unwanted>" + "http_access deny <waste-of-time>" looked promising but had
no effect; the hosts were accessed anyway.
~ How does squid block/deny/etc specified domains?
~ Is a reload all that is necessary after changing squid.conf? Or is a
full restart required?

~ Here is what I tried:
acl adclick1 dstdomain .doubleclick.net
acl adclick2 dstdomain .valueclick.net
acl adclick3 dstdomain .falkag.net
http_access deny adclick1 adclick2 adclick3

- --
jimoe at sohnen-moe dot com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (OS/2)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDLlNEzTcr8Prq0ZMRAgnGAJ9/mllKWl+awGtOjxj9lJhNapbbSQCcDxEc
ceimisVhqqrHn3F2nupZ1W8=
=8G8z
-----END PGP SIGNATURE-----
Received on Sun Sep 18 2005 - 23:57:30 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Oct 01 2005 - 12:00:03 MDT