Уважаемый ПИПОЛ. Нужна Ваша помощь по subj-у.
Ситуация такова:
Прикручен squid-2.5.10_4 и squidGuard-1.2.0_1.
В логах squidGuard ничего не пишет и не редиректит. blocked.cgi - исправлен.
Права на все базы dr-xr-xr-x nobody nogroup (squid из под него запускаетса).
Привожу примеры конфигов.
В squide:
redirect_program /usr/local/bin/squidGuard -c /usr/local/etc/sqid/squidGuard.conf
redirect_rewrites_host_header on
# less squidGuard.conf
logdir /var/log/SquidGuard
dbhome /var/db/squidGuard
src mp3 {
ip 192.168.0.17
}
src jurnalist {
ip 192.168.0.170-192.168.0.180 192.168.0.250
}
src reclama {
ip 192.168.0.120-192.168.0.129
}
src chief {
ip 192.168.0.130-192.168.0.140
}
src mb_pressa {
ip 192.168.0.25 192.168.0.213
}
src rospovsudj {
ip 192.168.0.190 192.168.0.191 192.168.0.25
}
src admin {
ip 192.168.0.1-192.168.0.15 192.168.0.155
}
dest ads {
domainlist ads/domains
urllist ads/urls
}
dest aggressive {
domainlist aggressive/domains
urllist aggressive/urls
}
dest audio-video {
domainlist audio-video/domains
urllist audio-video/urls
}
dest drugs {
domainlist drugs/domains
urllist drugs/urls
}
dest gambling {
domainlist gambling/domains
urllist gambling/urls
}
dest hacking {
domainlist hacking/domains
urllist hacking/urls
}
dest mail {
domainlist mail/domains
}
dest porn {
domainlist porn/domains
expressionlist porn/expressions
urllist porn/urls
}
dest proxy {
domainlist proxy/domains
urllist proxy/urls
}
dest violence {
domainlist violence/domains
expressionlist violence/expressions
urllist violence/urls
}
dest warez {
domainlist warez/domains
urllist warez/urls
}
acl {
mp3 {
pass !audio-video all
log /var/log/SquidGuard/mp3.log
redirect http://****:8080/cgi-bin/blocked.cgi?clientaddr=%a&clientname=%n&cli
entident=%i&clientgroup=%s&targetgroup=%t&url=%u
}
jurnalist {
pass !ads !aggressive !audio-video !drugs !gambling !hacking !mail !porn !proxy !violence !w
arez all
log /var/log/SquidGuard/jurnalist.log
redirect http://****:8080/cgi-bin/blocked.cgi?clientaddr=%a&clientname=%n&cli
entident=%i&clientgroup=%s&targetgroup=%t&url=%u
}
reclama {
pass !ads !aggressive !audio-video !drugs !gambling !hacking !mail !porn !proxy !violence !w
arez all
log /var/log/SquidGuard/reclama.log
redirect http://***:8080/cgi-bin/blocked.cgi?clientaddr=%a&clientname=%n&cli
entident=%i&clientgroup=%s&targetgroup=%t&url=%u
}
chief {
pass !drugs !porn all
log /var/log/SquidGuard/chief.log
redirect http://***:8080/cgi-bin/blocked.cgi?clientaddr=%a&clientname=%n&cli
entident=%i&clientgroup=%s&targetgroup=%t&url=%u
}
mb_pressa {
pass !ads !aggressive !audio-video !drugs !gambling !hacking !mail !porn !proxy !violence !w
arez all
log /var/log/SquidGuard/mb_pressa.log
redirect http://***:8080/cgi-bin/blocked.cgi?clientaddr=%a&clientname=%n&cli
entident=%i&clientgroup=%s&targetgroup=%t&url=%u
}
rospovsudj {
pass !ads !aggressive !audio-video !drugs !gambling !hacking !mail !porn !proxy !violence !w
arez all
log /var/log/SquidGuard/rospovsudj.log
redirect http://***:8080/cgi-bin/blocked.cgi?clientaddr=%a&clientname=%n&cli
entident=%i&clientgroup=%s&targetgroup=%t&url=%u
}
admin {
pass all
log /var/log/SquidGuard/admin.log
}
default {
pass none
redirect http://***:8080
log /var/log/SquidGuard/defoult.log
}
}
-------------
ПОМОГИТЕ!!! Или направте на путь истенный а то уже замучалса.
На форуме все что было по субжу прочитал. Ничего не помогло.
Зарание сенкс.