Hello.

Have you configured Squid ( how to do it) and now want to add a blacklist?

Very simple.

Create a text file containing the addresses of the sites you want to block and add in the Squid configuration file (/etc/squid/squid.conf)

acl urlblock dstdom_regex “full_path_to_file” http_access deny urlblock

where “full_path_to_file” means the path+name of the file you just created.

Warning: http_access deny urlblock must be inserted before the “allow” statements.

You can find a list of addresses to block here:

http://pgl.yoyo.org/adservers/

Direct link to the list formatted for Squid:

http://pgl.yoyo.org/adservers/serverlist.php?hostformat=squid-dstdom-regex&showintro=0&startdate%5Bday%5D=&startdate%5Bmonth%5D=&startdate%5Byear%5D=

Bye!

! :) !