Методом тыка выяснил, что причина в этих...
Код:
redirect_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf
redirect_children 5
redirector_bypass on
...трёх строчках конфига
посему ниже привожу конфиг /etc/squid/squidGuard.conf
Код:
dbhome /usr/share/squidGuard-1.2.0
logdir /var/log/squid
rewrite mp3 {
s@.*\.mp3$@http://192.168.102.28/mp3/ntcrack.mp3@r
}
rewrite servicepk {
s@.*\w2ksp4_ru.exe$@http://192.168.102.28/ms-sp/w2ksp4_ru.exe@r
s@.*\MPsetup.exe$@http://192.168.0.208/ms-sp/MPsetup.exe@r
}
rewrite avpsvc {
s@.ftp.avp.ru/updates\.*$@ftp://oldmail.XXX.ru/pub/AVP/*@r
}
time workhours {
weekly mtwhf 08:00 - 19:30
date *-*-01 08:00 - 19:30
}
#
# REWRITE RULES:
#
#rew dmz {
# s@://admin/@://admin.foo.bar.no/@i
# s@://foo.bar.no/@://www.foo.bar.no/@i
#}
rew multimedia {
s@.*/*.(mp3|avi|wav|mov|mpeg)$@http://192.168.102.28/mp3/play.mp3@ir
s@.*/listen.pls$@listen2.pls@ir
# s@://www.XXX.ru/@://pomoika.XXX.ru/@i
}
src lock {
ip 192.168.102.233/32
}
src val {
# ip 192.168.102.233/32
}
src shibaev {
# ip 192.168.102.233/32
}
src admin {
ip 192.168.102.15/32
ip 192.168.102.19/32
}
src nn-kras {
# N-Novgorod
ip 192.168.102.0/24
}
# DESTINATION CLASSES:
#
dest drugs {
domainlist drugs/domains
urllist drugs/urls
}
dest noicq {
domainlist noicq/domains
expressionlist noicq/expressions
}
dest novirus {
domainlist virus/domains
}
dest valuta {
domainlist valuta/domains
}
dest kep {
domainlist kep/domains
}
dest good {
domainlist good/domains
urllist good/urls
expressionlist good/expressions
}
dest krasru {
domainlist krasru/domains
}
dest good_spylog {
domainlist goodsp/domains
# urllist good/urls
}
dest icq-https {
domainlist icq-https/domains
# urllist drugs/urls
}
dest badurl {
domainlist bad-url/domains
urllist bad-url/urls
expressionlist bad-url/expressions
redirect 302:http://192.168.102.28/eye.html
}
dest badexp {
expressionlist bad-exp/expressions
}
dest icq-ban {
expressionlist icq-ban/expressions
redirect 302:http://192.168.102.28/noicq.html
}
dest bad-exp1 {
expressionlist bad-exp1/expressions
}
dest local {
domainlist locals/domains
urllist locals/urls
expressionlist locals/expressions
}
dest porno {
domainlist porn/domains
urllist porn/urls
expressionlist porn/expressions
redirect 302:http://192.168.102.28/eye.html
log /var/log/squid/porno.log
}
dest ads {
domainlist ads/domains
expressionlist ads/expressions
urllist ads/urls
redirect 302:http://192.168.102.28/icons/empty.gif
log /var/log/squid/banners.log
}
dest gambling {
domainlist gambling/domains
urllist gambling/urls
}
dest games {
domainlist games/domains
urllist games/urls
redirect 302:http://192.168.102.28/eye.html
}
dest microsoft {
domainlist ms/domains
# urllist ms/urls
}
dest avi {
domainlist audio-video/domains
urllist audio-video/urls
expressionlist audio-video/expressions
}
dest agressor {
domainlist aggressive/domains
urllist aggressive/urls
}
dest mailers {
domainlist mail/domains
urllist mail/urls
}
dest proxysrv {
domainlist proxy/domains
urllist proxy/urls
redirect 302:http://192.168.102.28/eye.html
}
dest waresz {
domainlist warez/domains
urllist warez/urls
}
acl {
lock {
pass krasru none
}
val {
pass valuta krasru none
}
admin {
pass good !icq-ban !novirus any
}
shibaev {
pass good !icq-ban !novirus !ads !badexp !badurl !agressor !porno !gambling !games !waresz !avi !proxysrv any
rewrite multimedia
}
nn-kras {
pass good !icq-ban !novirus !ads !badexp !drugs !badurl !agressor !porno !gambling !games !waresz !avi !proxysrv any
rewrite multimedia
}
default {
pass none
redirect http://192.168.102.28/cgi-bin/squidGuard.cgi?clientaddr=%a&clientname=%n&clientident=%i&srcclass=%s&url=%u
}
}