Search Results for: squid

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 } } Post By Editor (2,827 Posts)Website: →(…)

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 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 Limit the number of simultaneous Web connections – 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 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 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,(…)