We will learn to run squid with squidGuard that is a URL redirector used to use blacklists.

[1] Install squidguard
lan:~#

aptitude -y install squidguard

lan:~#

mv /etc/squid/squidGuard.conf /etc/squid/squidGuard.conf.bk

lan:~#

vi /etc/squid/squidGuard.conf
# write like following example
#
# CONFIG FILE FOR SQUIDGUARD
#dbhome /var/lib/squidguard/db
logdir /var/log/squid

# create a category ‘dame’

dest dame {

# prohibited domain list
domainlist dame/domains
# prohibited url list
urllist dame/urls
}

acl {

default {
# permit to access except ‘dame’
pass !dame all
# redirect URL
redirect http://www.google.co.jp/
}

}

lan:~#

mkdir /var/lib/squidguard/db/dame

lan:~#

vi /var/lib/squidguard/db/dame/domains
# write domains you’d like to prohibit to access
yahoo.co.jp
example.com

lan:~#

vi /var/lib/squidguard/db/dame/urls
# write URLs you’d like to prohibit to access
www.yahoo.co.jp/deny/
www.example.com/

lan:~#

squidGuard -C all

lan:~#

chown -R proxy. /var/lib/squidguard/db/dame

lan:~#

vi /etc/squidclamav.conf
# line 59: change PATH

squidguard

/usr/bin/squidGuard

lan:~#

/etc/init.d/squid restart

Restarting Squid HTTP proxy: squid Waiting………done.

[2] Try to access to Yahoo set as prohibited domain in [1]. Anyway, this redirect setting is an example to show action of this squidGuard, but please make your own original redirect page because it’s meaningless to redirect to google like this example.

Thanks to Author, source here

Posted in Uncategorized | No Comments »

[1] Install clamd first
lan:~#
mkdir -p /var/run/clamav

lan:~#
chown clamav. /var/run/clamav

lan:~#
vi /usr/local/etc/clamd.conf

# line 8: maike it comment

#
Example

# line 72: change

LocalSocket
/var/run/clamav/clamd.sock

# line 80: make valid

TCPSocket 3310

# line 87: make valid

TCPAddr 127.0.0.1

# line 150: make valid

User clamav

lan:~#
/usr/local/sbin/clamd &

[1] 30805
[2] Install squidclamav
# Install packages for dependency

lan:~#
aptitude -y install libcurl3-gnutls-dev libwww-curl-perl libcurl3-gnutls libcurl3 curl libcurl3-openssl-dev slang-curl Read the rest of this entry »

Posted in Uncategorized | No Comments »

SquidGuard is a URL redirector and content filter addon that restricts proxy clients from accessing particular and/or banned site(s), IP addresses, URLs, website patterns using the proxy server.  SquidGuard can be used in conjunction with Squid proxy to implement website content filter from the proxy server.

Here’s a run down on how to install and integrate SquidGuard into Squid-based proxy server.

Fedora 9: SquidGuard Installation

Requirements: Read the rest of this entry »

Posted in Uncategorized | No Comments »

As we saw in the tutorial on setting up Windows networks, file sharing in Windows XP is pretty simple.

Vamos now see how to do it using a small Linux server, running Samba.

Let us now see how to do it using a small Linux server, the server running Samba.O goal is to share files and printers with the local network in a simple, functioning as a kind of NAS.

The purpose of the server and share files and printers with the local network in a simple, functioning as a kind of NAS.

A contrast to previous tutorials, which get into details about the configuration, this article is to prescribe a “rapid and practical,” it teaches to configure the server as fast and simple as possible.

Unlike the previous tutorial, which enter into details about the configuration, this article is to prescribe a “rapid and practical,” which teaches you to configure the server the fast and simple as possible.

As we saw in the tutorial on setting up Windows networks, file sharing in Windows XP is pretty simple.  In summary, you must enable the “Client for Microsoft Networks” and “File and Printer Sharing for Microsoft Networks” in the properties of local connection and from there, want to share folders through Windows Explorer.  XP USA the simple sharing by default, allowing all users access to network shares, you need not register for access logins for each. XP USA the simple sharing by default, allowing all users access to network shares, you need not register for access logins for each.

Let us now see how to do it using a small Linux server, running Samba. The purpose of the server and share files and printers with the local network in a simple, functioning as a kind of NAS. You can either do this setting in your own machine, or on the desktop of the network, using the any old machine, dedicated to the task. The steps can be followed in most distributions. The steps can be followed in most distributions.

The first step is to install the Samba server, which is done by installing the package “samba” using the package manager. In Ubuntu or Debian you would use apt-get (apt-get install samba) in the Fedora use yum (yum install samba) in the use Mandriva urpmi (urpmi samba) and so on. In Ubuntu or Debian you would use apt-get (apt-get install samba) in the Fedora use yum (yum install samba) in the use Mandriva urpmi (urpmi samba) and so on.

Many prefer to configure Samba using Swat, but with so many options it would be overkill in our case and would only hinder. Many prefer to configure Samba using Swat, but with so many options it would be overkill in our case and would only hinder. Instead of him, let a list of quick steps to configure the server via terminal. Instead of him, let the list of quick steps to configure the server via terminal.

Start logging on as root in terminal using the command “su -”. Start logging on as root in terminal using the command “su -”. In the case of Ubuntu you must first set a password for root using the command “sudo passwd”. Read the rest of this entry »

Posted in Uncategorized | No Comments »

Filter content with SquidGuard   July 17th, 2009

The Squid can block unwanted sites fairly simple using the “dstdomain.

Lock individual pages works well to block specific pages, but does not work to block pornographic pages, for example, simply because there are many of them die and you would be crazy to try blocking all manually.

Lock pages individually work well to block specific pages, but does not work to block pornographic pages, for example, simply because there are many of them die and you would be crazy to try blocking all manually. SquidGuard We come then to a simple way to create a content filter using an updated list of URLs automatically.

We then come to SquidGuard, a simple way to create a content filter using an updated list of URLs automatically. Carlos E. Morimoto Morimoto
12/04/2008 12/04/2008

In a workplace, the idea is that employees use the Internet for communication, research and other functions that are related to. In the workplace, the idea is that employees use the Internet for communication, research and other functions that are related to. Many companies allow access to emails and personal things like that, but always to a certain limit. Many companies allow access to emails and personal things like that, but always to a certain limit. Your boss will not like it start to move most of the time on Orkut, for example. Your boss will not like it start to move most of the time on Orkut, for example.

The Squid can block unwanted sites fairly simple using the “dstdomain. The Squid can block unwanted sites fairly simple using the “dstdomain. It allows you to create ACLs containing addresses of sites to be blocked (or allowed). It allows you to create ACLs containing addresses of sites to be blocked (or allowed).

This is done in two steps. This is done in two steps. First you create the acl, specifying the USA and then addresses the “http_access” to lock or release the access to them. First you create the acl, specifying the USA and then addresses the “http_access” to lock or release the access to them. Here’s an example: Here’s an example: Read the rest of this entry »

Posted in Uncategorized | No Comments »