General discussion

Locked

Squid and Smartfilter

By asifmah ·
After installing squid and smartfilter and downloading the Control List, still squid and smartfilter are allowing porn and other block sites, what could be the reason....

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by linuxrich2000 In reply to Squid and Smartfilter

------------------ SNIP -----------------
# CONFIGURATION DIRECTORIES
dbhome /usr/share/squidGuard-1.2.0/blacklists # directory that contains the
url lists
logdir /var/log/squidGuard

# SOURCE ADDRESSES: (IP addresses of the users
# just an example of one
src lancomputers {
iplist lancomputers/ips
}

# DESTINATION CLASSES:
# only the porn class shown here: where squidGuard should look for the
# porn URLs and domain names that are banned.
dest porn {
domainlist porn/domains
urllist porn/urls
redirect http://www.google.ca
log /var/log/squidGuard/badurls.log
}

# ACLs (access control lists) - ip addresses defined above
lancomputers {
pass !porn all
redirect http://www.google.ca # or page of your choice
}

default {
pass none
redirect http://www.google.ca # or page of your choice
}
-------------------- END ---------------------

Back to Linux Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums