squid

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 Verifiy your squidGuard Configuration

Now that you have installed and configured your squidGuard you just check a couple of things before going online. Permissions Ensure that the blacklist and db files belong to your squid user. If squid cannot access (or modify) them blocking will not work. SquidGuard dry-run To verify that your configuration is working run the following [...]

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 Bind MAC with IP in SQUID

1) Grep MAC Addresses Let suppose we have 10 machines with IPs range 192.168.0.1 – 192.168.0.10, you have to get mac address for them using following command. Besure your machines are up and pingable, else you will get empty lines and you have to remove them manually. for i in `seq 1 10`; do ping [...]

How to block HTTPS traffic with a Squid integration in Websense

There are two options for blocking HTTPS traffic with a Squid integration: Install Websense Network Agent, which performs protocol filtering, and configure it to block HTTPS traffic.  For information about installing Network Agent, see the Websense Enterprise Installation Guide. After installation, detailed information about configuring Network Agent is provided in the Websense Enterprise Administrator’s Guide. If Squid [...]

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 Limit the number of simultaneous Web connections from a client with maxconn ACL – Squid Proxy Server

You need to use squid ACCESS CONTROLS feature called maxconn. It puts a limit on the maximum number of connections from a single client IP address. It is an ACL that will be true if the user has more than maxconn connections open. It is used in http_access to allow/deny the request just like all [...]

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 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 [...]

How to block music files using squid content filtering ACL

For security and to save bandwidth you may wish to configure Squid proxy server to block content. You do not want users to download files having extension such as MP3, MPEG, MPG, AVG, EXE etc This tutorial explains simple but effect squid content filtering using access control list to block files easily First open squid.conf [...]

How to Install and Configure SafeSquid

The name SafeSquid®, suggests that it is built out of Squid. However that is not true! Squid is an excellent Caching Proxy server built by an entirely different team of people and maintained at http://www.squid-cache.org  SafeSquid was originally conceived as an add-on plug-in for Squid,  with a simple objective of merely enhancing the filtering capabilities [...]

How to install and configure webalizer in multiple domain on Centos 4.6

Webalizer is a fast, free web server log file analysis program. It produces highly detailed, easily configurable usage reports in HTML format, for viewing with a standard web browser. It was written to solve several problems with currently available analysis packages. A vast majority of them were written in Perl or some other scripting language, [...]

How to Restrict Access to specific Web sites with Squid Proxy

You can limit users’ ability to browse the Internet with access control lists (ACLs). Each ACL line defines a particular type of activity, such as an access time or source network, they are then linked to an http_access statement that tells Squid whether or not to deny or allow traffic that matches the ACL. Squid [...]

How to Restrict Web Access By Time in Squid

Users configure their web browsers to use the Squid proxy server instead of going to the web directly. The Squid server then checks its web cache for the web information requested by the user. It will return any matching information that finds in its cache, and if not, it will go to the web to [...]