Hi, my squidguard looks not working.
Below are my squid.conf,squidguard.conf
my squid.conf
proxy:/etc/squid # more squid.conf
http_port 3128
icp_port 3130
cache_peer proxy.awalnet.net.sa parent 8080 0
icp_query_timeout 50
maximum_icp_query_timeout 1800
mcast_icp_query_timeout 1800
dead_peer_timeout 30 seconds
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 32 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
ipcache_size 1024
ipcache_low 90
ipcache_high 95
fqdncache_size 1024
cache_replacement_policy lru
memory_replacement_policy lru
cache_dir ufs /data/cache 1200 256 256
cache_access_log /data/logs/access.log
cache_log /data/logs/cache.log
cache_store_log /data/logs/store.log
emulate_httpd_log off
log_ip_on_direct on
log_mime_hdrs off
pid_filename /data/logs/squid.pid
redirect_children 5
reference_age 1 week
quick_abort_min 16 KB
quick_abort_max 16 KB
quick_abort_pct 95
negative_ttl 5 minutes
positive_dns_ttl 6 hours
negative_dns_ttl 5 minutes
range_offset_limit 0 KB
connect_timeout 2 minutes
peer_connect_timeout 30 seconds
siteselect_timeout 10 seconds
read_timeout 15 minutes
request_timeout 45 seconds
client_lifetime 1 day
half_closed_clients off
pconn_timeout 120 seconds
ident_timeout 10 seconds
shutdown_lifetime 30 seconds
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
never_direct allow all
redirect_program /usr/bin/squidGuard -c /etc/squidguard.conf
http_access allow all
http_access allow manager localhost
http_access deny manager
icp_access allow all
" and my squidguard.conf "
proxy:/etc/squid # more /etc/squidguard.conf
logdir /var/squidGuard/logs
dbhome /var/squidGuard/db
src free {
iplist /var/squidGuard/oke
}
src minute {
iplist /var/squidGuard/no
userquota 3600 0 daily
}
dest blacklist {
domainlist blacklist/domains
urllist blacklist/urls
}
acl {
free {
pass all
}
minute {
pass all
}
default {
pass none
redirect http://www.altuwairqi.com.sa
}
}
" And status from ps ax command "
proxy:/etc/squid # ps ax | grep squid
16353 ? S 0:00 /usr/sbin/squid -sYD
16355 ? S 0:01 (squid) -sYD
16356 ? S 0:00 (squidGuard) -c /etc/squidguard.conf
16357 ? S 0:00 (squidGuard) -c /etc/squidguard.conf
16358 ? S 0:00 (squidGuard) -c /etc/squidguard.conf
16359 ? S 0:00 (squidGuard) -c /etc/squidguard.conf
16360 ? S 0:00 (squidGuard) -c /etc/squidguard.conf
" my no and oke file "
proxy:/var/squidGuard # more /var/squidGuard/no
144.12.16.28
144.12.16.30
proxy:/var/squidGuard # more /var/squidGuard/oke
144.12.16.65
144.12.16.66
144.12.16.140
144.12.16.77
144.12.16.58
144.12.16.99
144.12.16.120
proxy:/var/squidGuard # tail -f /var/squidGuard/logs/squidGuard.log
2003-03-22 20:31:56 [16360] init iplist /var/squidGuard/oke
2003-03-22 20:31:56 [16360] init iplist /var/squidGuard/no
2003-03-22 20:31:56 [16360] Userquota seconds sporadic hourly|daily|weekly
2003-03-22 20:31:56 [16360] init domainlist /var/squidGuard/db/blacklist/domains
2003-03-22 20:31:56 [16360] init urllist /var/squidGuard/db/blacklist/urls
2003-03-22 20:31:56 [16358] init urllist /var/squidGuard/db/blacklist/urls
2003-03-22 20:31:56 [16358] squidGuard 1.2.0 started (1048354316.543)
2003-03-22 20:31:56 [16358] squidGuard ready for requests (1048354316.725)
2003-03-22 20:31:56 [16360] squidGuard 1.2.0 started (1048354316.646)
2003-03-22 20:31:56 [16360] squidGuard ready for requests (1048354316.738)
I'm trying to give only one hour to my pc , but it's not working.
i'm waiting for your help
best regards
andihari