Не могу понять в чем дело ... Вроди все работает и ошибок нет ... но !!!
SquidGuard не фильтрует то что надо фильтровать ...
Даю файли конфигурации :
squid.conf
--------------------------------
http_port x.x.x.x:8080
cache_peer x.x.x.x parent 3128 0 no-query
dead_peer_timeout 10 seconds
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 8 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 4096 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 8 KB
cache_dir ufs /usr/local/squid/cache 100 16 256
cache_access_log /usr/local/squid/logs/access.log
cache_log /usr/local/squid/logs/cache.log
cache_store_log /usr/local/squid/logs/store.log
mime_table /usr/local/etc/squid/mime.conf
log_mime_hdrs off
pid_filename /usr/local/squid/logs/squid.pid
dns_nameservers x.x.x.x
error_directory /usr/local/etc/squid/errors/Russian-1251
redirector_bypass on
redirect_program /usr/local/squidGuard/bin/squidGuard
redirect_children 1
cache_store_log none
logfile_rotate 3
#-----------------------------------
acl all src 0.0.0.0/0.0.0.0
acl admins src "/usr/local/etc/squid/admins.ip"
acl users src "/usr/local/etc/squid/users.ip"
acl Safe_ports port 80
acl Safe_ports port 21
#------------------------------------
delay_pools 2
delay_class 1 1
delay_class 2 1
delay_access 1 allow admins
delay_access 1 deny all
delay_access 2 allow users
delay_access 2 deny all
delay_parameters 1 15000/15000
delay_parameters 2 5000/5000
#------------------------------------
http_access allow admins
http_access allow users
http_access deny all
#------------------------------------
visible_hostname x.x.x.x
squidGuard.conf
--------------------------------------
logdir /usr/local/squidGuard/log
dbhome /usr/local/squidGuard/db
src admins {
ip x.x.x.x
}
rewrite mp3 {
s@.*\.mp3$@http://my.host/replace.mp3@r
log /usr/local/squid/logs/mp3_rew.log
}
dest block {
domainlist block/domains
urllist block/urls
log /usr/local/squidGuard/log/block.log
redirect http://my.host/
}
acl {
admins {
pass !block all
rewrite mp3
}
default {
pass none
redirect http://my.host/
}
}