Hi,
We have just upgraded our Linux Suse 6.4 Celeron Proxy server to a Dell PowerEdge1400 Suse7.2 Pro proxy server (a lot better). We want to place SquidGuard on this system, can anyone let me have a copy of their squidGuard.conf file to have a look.
Many thanks
Gareth Edmondson
----- Original Message ----- From: norman
To: Sent: Tuesday, July 17, 2001 1:16 PM Subject: [suse-linux-uk-schools] Squid and ACLs Hi,
I am trying to use files for different control lists. The example in the
guide is :
snip ------ Large decision lists can be stored in files, so that your squid.conf doesn't get
cluttered. Some of the caches I have worked on have had in the region of 2000 lines of acl rules, which could lead to a very cluttered squid.conf file. You can include a file into the decision section of an acl list by placing the filename (with
user path) in
double quotes. The file simply contains the data set; one datum per line. In the next example
Hi
Here you go
-------------------------------------
logdir /var/squidGuard/logs
dbhome /var/squidGuard/db
src goodusers {
user admin2 admin3 dave rjgray
}
dest adverts {
domainlist blacklist/adverts_domains
expressionlist blacklist/adverts_exps
redirect http://10.1.113.3/advert.gif
}
dest webmail {
domainlist blacklist/webmessaging_domains
expressionlist blacklist/webmessaging_exps
urllist blacklist/webmessaging_urls
}
dest textmessage {
domainlist blacklist/textmessage_domains
urllist blacklist/textmessage_urls
expressionlist blacklist/textmessage_exps
}
dest uneducational {
domainlist blacklist/unedu_domains
urllist blacklist/unedu_urls
expressionlist blacklist/unedu_exps
}
dest blacklist {
domainlist blacklist/bad_domains
urllist blacklist/bad_urls
expressionlist blacklist/bad_exps
}
dest goodlist {
domainlist blacklist/good_domains
urllist blacklist/good_urls
expressionlist blacklist/good_exps
}
acl {
goodusers {
pass goodlist !adverts !webmail !blacklist all
}
default {
pass goodlist !adverts !webmail !textmessage !uneducational !blacklist all
redirect
http://10.1.113.3/filtered.asp?clientaddr=%a&clientname=%n&clientuser=%i&cli
entgroup=%s&targetgroup=%t&url=%u
}
}
--------------------------------------
Will that do ?
Rgds
Dave Turnbull
Network Manager
The Purbeck School
www.purbeck.dorset.sch.uk
----- Original Message -----
From: staffgje
/usr/local/squid/conf/data/myNets can contain any number of IP ranges, one range
per line.
Example 7-6.
acl myNets src "/usr/local/squid/conf/data/myNets" acl all src 0.0.0.0/0.0.0.0 http_access allow myNets http_access deny all
snip -----
and that is working. but try as I might I cannot seem to get any other
file list to
work.
Are other types possible or am I just being dense, as usual? If there are can someone show me the syntax please?
tia
norman
-- To unsubscribe, e-mail: suse-linux-uk-schools-unsubscribe@suse.com For additional commands, e-mail: suse-linux-uk-schools-help@suse.com
-- To unsubscribe, e-mail: suse-linux-uk-schools-unsubscribe@suse.com For additional commands, e-mail: suse-linux-uk-schools-help@suse.com
Please note that the content of this message is confidential between the original sender and the intended recipient(s) of the message. If you are not an intended recipient and/or have received this message in error, kindly disregard the content of the message and return it to the original sender. If you have any complaints about this message please reply to: office@purbeck.dorset.sch.uk The Purbeck School E-Mail server running: users.purbeck.dorset.sch.uk