squid

SquidGuard

cd /extra/src
wget http://www.squidguard.org/Downloads/squidGuard-1.4.tar.gz
tar zxf squidGuard-1.4.tar.gz
cd squidGuard-1.4

Build and make the program:

./configure --with-squiduser=nobody
make
make install

Install some blacklists:

cp /path/to/your/blacklist.tar.gz /usr/local/squidGuard/db
cd /usr/local/squidGuard/db
tar zxf blacklist.tar

Technology:

Delay Pools

Delay Pools provide a way to limit the bandwidth of certain requests based on any list of criteria.

Squid must be configured with --enable-delay-pools before compiling.

Resources
Reining in Bandwidth With Squid Proxying

Technology:

SquidClamav

SquidClamav is an antivirus redirector for Squid proxy based on the Awards winnings ClamAv anti-virus toolkit. Using it will help you securing your home or enterprise network web traffic. SquidClamav is the most efficient Squid Redirector antivirus tool for HTTP traffic available for free, it is written in C and can handle thousand of connections.

Prerequisites

  • ClamAV
  • libcurl
    yum install curl-devel

    Installation

    cd /extra/src/
    wget http://sourceforge.net/projects/squidclamav/files/squidclamav/5.3/squidclamav-5.3.tar.gz/download
    tar zxf squidclamav-5.3.tar.gz
    cd squidclamav-5.3
    cd squidclamav-5.x/
    ./configure
    make && make install

    SquidClamav configuration

Technology:

DansGuardian

DansGuardian is an award winning Open Source web content filter which currently runs on Linux, FreeBSD, OpenBSD, NetBSD, Mac OS X, HP-UX, and Solaris. It filters the actual content of pages based on many methods including phrase matching, PICS filtering and URL filtering.

Installation
Install the necessary PCRE libraries:

yum install pcre-devel

Download the latest version of DansGuardian:

cd /extra/src
wget http://usmirror.dansguardian.org/downloads/2/Stable/dansguardian-2.10.1.1.tar.gz
tar zxf dansguardian-2.10.1.1.tar.gz
cd dansguardian-2.10.1.1

Configure it:

./configure
make
make install

Change the ownership on the log file directory:

chown nobody:nobody /usr/local/var/log/dansguardian

To test it out, you can run it directly from the shell:

Technology:

MySAR

MySQL Squid Access Report is a reporting system for user web traffic activity, as logged from a squid proxy. MySAR consists of two parts: Command line utilities which import a squid log file in a MySQL database and maintain the database and a web interface for accessing the reports.

Prerequisites

Installation

cd /extra/source
wget http://downloads.sourceforge.net/project/mysar/mysar/2.1.4/mysar-2.1.4.tar.gz?use_mirror=hivelocity
tar zxf mysar-2.1.4.tar.gz
mv mysar /usr/local/

Configure your Apache Web Server to point the /mysar/ directory to the local directory /usr/local/mysar/www/.

Technology:

Squid

Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator.

Installation
Download the latest stable version of Squid

cd /extra/src
wget http://www.squid-cache.org/Versions/v3/3.1/squid-3.1.1.tar.gz
tar zxf squid-3.1.1.tar.gz
cd squid-3.1.1

Configure Squid as a transparent proxy:

./configure --enable-linux-netfilter --enable-follow-x-forwarded-for
make
make install

Enable the default cache_effective_user, nobody, to access the log directory:

chown nobody:nobody /usr/local/squid/var/logs

Technology:

Subscribe to RSS - squid

Recent Updates

  • 5 days 59 min ago
    1.27.2 update
  • 2 weeks 2 days ago
    Drupal 10/11 config
  • 2 weeks 3 days ago
  • PHP
    2 weeks 3 days ago
    PHP 8.3.11 and AlmaLinux
  • 2 weeks 4 days ago
    New version of Pound