Thursday, July 10, 2008

sa-blacklist

sa-blacklist-web file listing

How to install into your programs
http://www.sa-blacklist.stearns.org/sa-blacklist/README.howtouse.html


Squid web cache
Squid can unconditionally block all outbound requests to certain domains. Privoxy is preferred for this, as privoxy will replace images with images, and squid will put in a dummy html page instead (which just means your pages will have broken images, no big deal). Other than that it will work just fine.

Download sa-blacklist.current.domains to /etc/squid/ (again, path may vary). Edit squid.conf , adding the line: acl spammers url_regex "/etc/squid/sa-blacklist.current.domains"
in with the other acl lines (order for acl lines doesn't matter), and adding http_access deny all spammers
above your http_access lines (order does matter here). Restart squid.

No comments: