View previous topic :: View next topic |
Author |
Message |
Naspe Guru
Joined: 10 Dec 2003 Posts: 321 Location: Genova - Italy
|
Posted: Sat Feb 28, 2004 11:52 am Post subject: squidGuard vuole farmi diventare cieco... :( |
|
|
Ciao gentee
Allora ho messu su Squid e squidGuard. Squid funia squidGuard no
Ho messo il blocco x i porno cosi n divento cieco ma nn me li blocca.
Il problema è che non rieco a capire dove sia il problema... analizzando i log nn trovo nulla...
Se faccio ps vedo:
Code: |
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
root 1 0 0 363 484 0 12:35 ? 00:00:03 init
root 2 1 0 0 0 0 12:35 ? 00:00:00 [migration_CPU0]
root 3 1 0 0 0 0 12:35 ? 00:00:00 [keventd]
root 4 1 0 0 0 0 12:35 ? 00:00:00 [ksoftirqd_CPU0]
root 5 1 0 0 0 0 12:35 ? 00:00:00 [kswapd]
root 6 1 0 0 0 0 12:35 ? 00:00:00 [bdflush]
root 7 1 0 0 0 0 12:35 ? 00:00:00 [kupdated]
root 8 1 0 0 0 0 12:35 ? 00:00:00 [kjournald]
root 153 1 0 454 884 0 12:35 ? 00:00:00 /sbin/devfsd /dev
root 818 1 0 430 732 0 12:36 ? 00:00:00 /usr/sbin/syslog-ng
nobody 1013 1 0 498 708 0 12:36 ? 00:00:00 /usr/bin/monkey -D start
root 1082 1 0 822 1436 0 12:36 ? 00:00:00 /usr/sbin/sshd
root 1107 1 0 410 652 0 12:36 ? 00:00:00 /usr/sbin/cron
root 1117 1 0 373 572 0 12:36 vc/1 00:00:00 /sbin/agetty 38400 tty1 linux
root 1118 1 0 373 572 0 12:36 vc/2 00:00:00 /sbin/agetty 38400 tty2 linux
root 1119 1 0 373 572 0 12:36 vc/3 00:00:00 /sbin/agetty 38400 tty3 linux
root 1120 1 0 373 572 0 12:36 vc/4 00:00:00 /sbin/agetty 38400 tty4 linux
root 1121 1 0 373 572 0 12:36 vc/5 00:00:00 /sbin/agetty 38400 tty5 linux
root 1122 1 0 373 572 0 12:36 vc/6 00:00:00 /sbin/agetty 38400 tty6 linux
nobody 1123 1013 0 498 708 0 12:36 ? 00:00:00 /usr/bin/monkey -D start
root 1125 1082 0 1500 1820 0 12:36 ? 00:00:00 sshd: root@pts/0
root 1127 1125 0 580 1352 0 12:37 pts/0 00:00:00 -bash
root 1251 1 0 1447 1588 0 12:39 ? 00:00:00 /usr/sbin/squid -DYC
squid 1254 1251 0 2253 5764 0 12:39 ? 00:00:00 (squid) -DYC
squid 1255 1254 0 563 744 0 12:39 ? 00:00:00 (squidGuard) -c /etc/squidGuard/squidGuard.conf
squid 1256 1254 0 562 736 0 12:39 ? 00:00:00 (squidGuard) -c /etc/squidGuard/squidGuard.conf
squid 1257 1254 0 562 736 0 12:39 ? 00:00:00 (squidGuard) -c /etc/squidGuard/squidGuard.conf
squid 1258 1254 0 562 736 0 12:39 ? 00:00:00 (squidGuard) -c /etc/squidGuard/squidGuard.conf
squid 1259 1254 0 562 736 0 12:39 ? 00:00:00 (squidGuard) -c /etc/squidGuard/squidGuard.conf
squid 1260 1254 0 324 272 0 12:39 ? 00:00:00 (unlinkd)
root 1284 1127 0 608 808 0 12:47 pts/0 00:00:00 ps -AF
|
Quindi squid richiama squidGuard...
La conf di squidGuard è sta qui:
Code: |
dbhome /etc/squidGuard/db
logdir /var/log/
dest bl_virus{
expressionlist blacklists/virus/expressions
log virus1.log
redirect http://127.0.0.1/cgi-bin/viralator-squid.pl?url=%u
}
dest bl_porn{
urllist blacklists/porn/urls
log porn.log
redirect http://192.168.3.1
}
acl {
default {
pass !bl_porn !bl_virus all
redirect http://192.168.3.1
}
}
|
La dir /etc/squidGuard/ e il suo contenuto è tutta di squid.squid...
Non saprei che fare... _________________ God Is Real... Unless Declared As Integer...
Provoca Il Più Bravo... Morirai Come Uno Schiavo!!!
Hai Evocato Il Tuono!!! Ora Raccogli Tempesta!!! |
|
Back to top |
|
|
marchino n00b
Joined: 16 Dec 2002 Posts: 70 Location: /home/marchino
|
Posted: Sat Feb 28, 2004 12:14 pm Post subject: |
|
|
Prova a togliere nella riga
Code: | pass !bl_porn !bl_virus all |
la parte !bl_virus. Non vorrei che la particella all fosse riferita solo a quest'ultimo. |
|
Back to top |
|
|
|