1 |
*************************************** |
2 |
* Copyright Florin Grad - GPL Licence * |
3 |
*************************************** |
4 |
|
5 |
Hello everyone, |
6 |
|
7 |
Here's what you should modify if you want to use the squidGuard |
8 |
blacklists.tar.gz (i'm using here the extended one from the links section - |
9 |
Fabrice Pringent's web site) |
10 |
|
11 |
1. download the archive |
12 |
2. use the blacklist conf file |
13 |
|
14 |
copy your previous /us/share/naat/template/etc/squid/squidGuard.conf |
15 |
template and use the above instead. |
16 |
|
17 |
3. copy the blacklists.tar.gz archive in the /usr/share/squidGuard-1.1.4/ |
18 |
directory and untar the archive (tar xzvf blacklists.tar.gz) |
19 |
4. copy everything in the db directory (cp -a blacklists/* db/) |
20 |
|
21 |
fix the permissions |
22 |
|
23 |
5. chown -R root.root db/ |
24 |
6. chmod -R 0755 db/ |
25 |
|
26 |
verify |
27 |
|
28 |
7. |
29 |
[root@firewall squidGuard-1.1.4]# ll db/ |
30 |
total 80 |
31 |
-rwxr-xr-x 1 root root 508 mar 25 2000 README* |
32 |
drwxr-xr-x 2 root root 4096 jui 10 08:08 ads/ |
33 |
drwxr-xr-x 2 root root 4096 jui 10 08:08 adult/ |
34 |
drwxr-xr-x 2 root root 4096 jui 10 20:34 advertising/ |
35 |
drwxr-xr-x 2 root root 4096 jui 10 08:08 aggressive/ |
36 |
drwxr-xr-x 2 root root 4096 jui 10 08:08 audio-video/ |
37 |
drwxr-xr-x 2 root root 4096 jui 10 20:34 banneddestination/ |
38 |
drwxr-xr-x 2 root root 4096 jui 10 20:34 bannedsource/ |
39 |
drwxr-xr-x 3 root root 4096 jui 10 20:34 dest/ |
40 |
drwxr-xr-x 2 root root 4096 jui 10 08:08 drugs/ |
41 |
drwxr-xr-x 2 root root 4096 jui 10 08:08 forums/ |
42 |
drwxr-xr-x 2 root root 4096 jui 10 08:08 gambling/ |
43 |
drwxr-xr-x 2 root root 4096 jui 10 08:08 hacking/ |
44 |
drwxr-xr-x 2 root root 4096 jui 10 20:34 lansource/ |
45 |
drwxr-xr-x 2 root root 4096 jui 10 20:34 privilegedsource/ |
46 |
drwxr-xr-x 2 root root 4096 jui 10 08:08 publicite/ |
47 |
drwxr-xr-x 2 root root 4096 jui 10 08:08 redirector/ |
48 |
drwxr-xr-x 2 root root 4096 jui 10 20:34 timerestriction/ |
49 |
drwxr-xr-x 2 root root 4096 jui 10 08:08 violence/ |
50 |
drwxr-xr-x 2 root root 4096 jui 10 08:08 warez/ |
51 |
|
52 |
8. reconfigure squid and activate squidguard through the web interface to |
53 |
apply the template and create the new /ets/squid/squidGuard.conf file |
54 |
9. restart squid |
55 |
10. very important: enjoy :) |