Squid

How to Install and Configure Sarg – Squid Report Generator

Sarg – Squid Analysis Report Generator is a tool that allow you to view “where” your users are going to on the Internet.

How Websense filtering works

When Squid Web Proxy Cache receives an Internet request from a client, it queries Websense Filtering Service to find out if the requested site should be blocked or permitted. If the site is blocked, the user receives a block page. If the site is permitted, Filtering Service notifies Squid Web Proxy Cache and the client [...]

Download squidGuard – Blacklists

The blacklists are the heart of every URL Filter! You can choose between several free and commercial distributions of blacklists on the net or create and use your own (or any combination of them). SquidGuard comes with a small blacklist basically for testing purposes. In production you don’t want to use them. A better way [...]

How to configure The Redirect Rule in SquidGuard

In order to work properly you must tell squidGuard which URL it shall deliver back to squid when the requested site is part of the blocked destinations. The redirect rule must be placed with the acl tags. It is possible to have multiple redirect rules but within the same policy (i.e. definition of source rules). [...]

How to enable Logging for blocked access tries in SquidGuard

It may be of interest who is accessing blocked sites. To track that down you can add a log directive to your src or dest definitions in your squidGuard.conf. If only a file name is given, the file is search in the directory specified in the logdir directive. Logging blocked access tries dest porn { [...]

How to configure source IP acls in SquidGuard

If you have policies in place granting some people access to more sites than others you have different options how to implement this policy. One way is to define source IP acls. This can only work if your user groups are well separated within your network. Assuming that this is the case you can now [...]

How to block websites based on times in SquidGuard

There are two ways to define times and dates where access to websites are allowed or disallowed. The  weekly directive is used for reoccuring access time, f.e. allowing web access to blocked sites after work. Using the  date directive you can additionally define special days where access may be granted. Wildcards can be used. Defining [...]

How to Block against dns based blacklists in SquidGuard

This feature requires squidGuard 1.5 or later or the dnsbl patch for squidGuard 1.4 provided by INL – http://www.inl.fr/. If you want to use external dns based blacklists such as black.uribl.com for blocking you can use !dnsbl to dynamically check domain names against such services: Using external dns based blacklists acl { default { pass [...]

How to filter by simply using the IP addresses in squidGuard

To make sure that people don’t bypass the URL filter by simply using the IP addresses instead of the fully qualified domain names, you can add the   !in-addr following to your acl: Disallowing access to IP addresses acl { default { pass !in-addr all redirect http://localhost/block.html } }

How to do Basic Configuration of squidGuard

Once SquidGuard is successfully installed, you want to configure the software according to your needs. A sample configuration has been installed in the default directory  /usr/local/squidGuard (or whatever directory you pointed your installation to). Below you find three examples for the basic configuration of SquidGuard. Most simple configuration Most simple config uration: one category, one [...]

How to Install squidGuard

SquidGuard is a URL redirector used to use blacklists with the proxysoftware Squid. There are two big advantages to squidguard: it is fast and it is free. Unpack the source tar xvzf squidGuard-1.2.1.tar.gz Compiling Let’s assume it is squidGuard-1.2.1 we are trying to install: cd squidGuard-1.2.1 ./configure make If no errors occurred squidGuard is now [...]

How to Install Squid proxy server in Ubuntu

Squid is a proxy http server that speeds up getting pages from the internet by keeping copies of commonly accessed pages or graphics instead of downloading them each time. To install it:- 1. From a root terminal type apt-get install squid 2. Open gedit /etc/squid/squid.conf 3. Find the TAG: visible_hostname and after the comments section add visible_hostname <hostname> where <hostname> is your machine’s [...]

How to setup squidGuard under Debian

Content filtering for the Web can be a messy proposition. A business may need to block only the most objectionable Web sites, while schools may be required by law to follow a more thorough process. Whatever your needs, you can build a solution with only open source pieces: squid, squidGuard, and blacklists. Installation become root, [...]

How to set up a Squid Proxy/DansGuardian server using Ubuntu 6.06

Squid is a high-performance proxy caching server for web clients, supporting FTP, gopher, and HTTP data objects. Unlike traditional caching software, Squid handles all requests in a single, non-blocking, I/O-driven process. DansGuardian is a web content filter which currently runs on Linux, FreeBSD, OpenBSD, NetBSD, Mac OS X, and Solaris. It filters the actual content [...]

How to Make Your Squid Server Transparent To Users

It is possible to limit HTTP Internet access to only the Squid server without having to modify the browser settings on your client PCs. This called a transparent proxy configuration. It is usually achieved by configuring a firewall between the client PCs and the Internet to redirect all HTTP (TCP port 80) traffic to the [...]