Using Squid to filter Internet access
The Internet Content Adaptation Protocol (ICAP) was designed for transparent web proxies to query an external service as to whether or not a request should be served. It is most commonly used for content filtering and anti-virus scanning.
This approach does have some challenges, though. For example, when using SquidClamav  to tie the ClamAV scanner into your Squid server, you might encounter timeouts on clients, because the entire file must be downloaded and scanned before it is served to the client; it cannot be scanned on the fly and served to the client using SquidClamav. So, although this approach will work well for smaller files, it may cause problems with larger files. The other downside of ICAP is that although a few ICAP servers are available, there are very few good content sources (e.g., malicious URLs) that you can feed into your ICAP service.
I have strong feelings (mostly pro) about unfiltered and unlimited Internet access, but I also recognize that blocking the bad stuff (spammers, ad servers, tracking cookies, etc.) will generally make for a less annoying and better Internet experience. Additionally, certain user communities (e.g., children) should not have unfiltered access, whereas other groups might need filtered access for legal reasons. As a final note, much like a firewall, having a web proxy can allow you to detect malicious incoming and outgoing traffic and block it, thus preventing problems from getting bigger.
- "Squid in the Middle" by Kurt Seifried, Linux Magazine, October 2012: http://www.linux-magazine.com/Issues/2012/143/HTTPS-Proxy
- Squid: http://www.squid-cache.org/
- Squid Config Examples: http://wiki.squid-cache.org/ConfigExamples
- SquidClamav: http://squidclamav.darold.net/
Buy this article as PDF
Xen project announces a privilege escalation problem for Qemu host systems
Attackers can compromise an Android phone just by sending a text message
PC vendor will pre-install Ubuntu on portables in India.
More embarrassment for Adobe's embattled multimedia tool
Mozilla’s script blocker add-on could be putting malware sites on the whitelist.
The Internet community officially banishes the notoriously unsafe Secure Sockets Layer protocol.
Popular desktop environment continues the Gnome 2 legacy – with new support for the Gnome 3 toolkit.
The Obama White House has issued a memorandum telling all US government agencies they must use HTTPS for all websites and web communication.
New program will dial up security for the Firefox browser.
Red Hat's community distro embraces the cloud.