Search squid archive

squid not using squidguard acl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



squid 2.7STABLE5
squidguard 1.4
db berkeley 2.7

all urls/domains I am trying to block via squidguard are accessible, it
seems that squid is not using squidguard .. please help

from squid.conf

url_rewrite_program /usr/local/bin/squidGuard
-c /usr/local/squidGuard/squidGuard.conf
acl myipes src 192.168.0.233/32
acl myipes src 192.168.0.200/32
http_access allow nds


from squidguard.conf

dbhome /usr/local/squidGuard/db
logdir /usr/local/squidGuard/logs

dest music {
        domainlist music/domains
        urllist music/urls
        }
dest porn {
        domainlist porn/domains
        urllist porn/urls
       }
acl {
        default {
               pass !music !porn all
               redirect http://192.168.0.233/block.html
        }
 }

following is the dry run output

echo "http://www.music.com 192.168.0.233/ - - GET" | squidGuard
-c /usr/local/squidGuard/squidGuard.conf -d
2010-03-30 17:55:42 [5400] New setting: dbhome: /usr/local/squidGuard/db
2010-03-30 17:55:42 [5400] New setting:
logdir: /usr/local/squidGuard/logs
2010-03-30 17:55:42 [5400] init
domainlist /usr/local/squidGuard/db/music/domains
2010-03-30 17:55:42 [5400] loading
dbfile /usr/local/squidGuard/db/music/domains.db
2010-03-30 17:55:42 [5400] domainlist empty, removed from memory
2010-03-30 17:55:42 [5400] init
urllist /usr/local/squidGuard/db/music/urls
2010-03-30 17:55:42 [5400] loading
dbfile /usr/local/squidGuard/db/music/urls.db
2010-03-30 17:55:42 [5400] urllist empty, removed from memory
2010-03-30 17:55:42 [5400] init
domainlist /usr/local/squidGuard/db/porn/domains
2010-03-30 17:55:42 [5400] loading
dbfile /usr/local/squidGuard/db/porn/domains.db
2010-03-30 17:55:42 [5400] domainlist empty, removed from memory
2010-03-30 17:55:42 [5400] init
urllist /usr/local/squidGuard/db/porn/urls
2010-03-30 17:55:42 [5400] loading
dbfile /usr/local/squidGuard/db/porn/urls.db
2010-03-30 17:55:42 [5400] urllist empty, removed from memory
2010-03-30 17:55:42 [5400] squidGuard 1.4 started (1269953742.464)
2010-03-30 17:55:42 [5400] squidGuard ready for requests
(1269953742.474)
2010-03-30 17:55:42 [5400] source not found
2010-03-30 17:55:42 [5400] no ACL matching source, using default

2010-03-30 17:55:42 [5400] squidGuard stopped (1269953742.475)

and nothing special in squid and squidguard logs
--
Regards
Muhammad Sharfuddin | NDS Technologies Pvt Ltd | +92-333-2144823

Novice: name a single major diff b/w Redhat and SUSE
GURU:   One is Red and the other one is Green


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux