Datasheet
“main” (Installation and Administration) — 2004/6/25 — 13:29 — page 615 — #641
i
i
i
i
i
i
i
i
25
Internet
squidGuard can do the following:
Limit the web access for some users to a list of accepted or well-
known web servers or URLs.
Block access to some listed or blacklisted web servers or URLs for
some users.
Block access to URLs matching a list of regular expressions or words
for some users.
Redirect blocked URLs to an “intelligent” CGI-based information
page.
Redirect unregistered users to a registration form.
Redirect banners to an empty GIF.
Use different access rules based on time of day, day of the week, date,
etc.
Use different rules for different user groups.
squidGuard and Squid cannot be used to:
Edit, filter, or censor text inside documents.
Edit, filter, or censor HTML-embedded script languages, such as
JavaScript or VBscript.
Before it can be used, install squidGuard. Provide a minimal configu-
ration file as /etc/squidguard.conf. Find configuration examples in
http://www.squidguard.org/config/. Experiment later with more
complicated configuration settings.
Next, create a dummy “access denied” page or a more or less complex CGI
page to redirect Squid if the client requests a blacklisted web site. Using
Apache is strongly recommended.
Now, configure Squid to use squidGuard. Use the following entry in the
/etc/squid.conf file:
redirect_program /usr/bin/squidGuard
615SUSE LINUX Enterprise Server










