[debian-edu-commits] [Debian Wiki] Trivial Update of "DebianEdu/HowTo/SquidGuard/SquidGuardConf" by MaudeCloug

Debian Wiki debian-www at lists.debian.org
Sun Dec 6 03:01:36 UTC 2015


Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Debian Wiki" for change notification.

The "DebianEdu/HowTo/SquidGuard/SquidGuardConf" page has been changed by MaudeCloug:
https://wiki.debian.org/DebianEdu/HowTo/SquidGuard/SquidGuardConf?action=diff&rev1=6&rev2=7

- This is a sample {{{/etc/squid/squidGuard.conf}}} fo the blacklist described in SquidGuard
+ I am Carmen from Hofn. I love to play Viola. Other hobbies are Darts.<<BR>><<BR>>
+ <<BR>><<BR>>
+ Also visit my blog post virtual reality porn ([[https://www.namepros.com/threads/adult-virtual-reality-vr-discussion.872467/page-2|please click the following internet site]])
  
- {{{
- 
- 
- #
- # CONFIG FILE FOR SQUIDGUARD
- #
- 
- dbhome /var/lib/squidguard/db/blacklists
- logdir /var/log/squid
- 
- #
- # TIME RULES:
- # abbrev for weekdays:
- # s = sun, m = mon, t =tue, w = wed, h = thu, f = fri, a = sat
- 
- time workhours {
-         weekly mtwhf 08:00 - 16:30
-         date *-*-01  08:00 - 16:30
- }
- 
- #
- # REWRITE RULES:
- #
- 
- #rew dmz {
- #       s@://admin/@://admin.foo.bar.no/@i
- #       s@://foo.bar.no/@://www.foo.bar.no/@i
- #}
- 
- #
- # SOURCE ADDRESSES:
- #
- 
- #src admin {
- #       ip              1.2.3.4 1.2.3.5
- #       user            root foo bar
- #       within          workhours
- #}
- 
- #src foo-clients {
- #       ip              172.16.2.32-172.16.2.100 172.16.2.100 172.16.2.200
- #}
- 
- #src bar-clients {
- #       ip              172.16.4.0/26
- #}
- 
- #
- # DESTINATION CLASSES:
- #
- 
- dest good {
- }
- 
- dest local {
- }
- 
- dest ads {
-         domainlist      ads/domains
-         urllist         ads/urls
- }
- 
- dest aggressive {
-         domainlist      aggressive/domains
-         urllist         aggressive/urls
- }
- 
- dest audio-video {
-         domainlist      audio-video/domains
-         urllist         audio-video/urls
- }
- dest drugs {
-         domainlist      drugs/domains
-         urllist         drugs/urls
- }
- 
- dest gambling {
-         domainlist      gambling/domains
-         urllist         gambling/urls
- }
- 
- 
- dest hacking {
-         domainlist      hacking/domains
-         urllist         hacking/urls
- }
- 
- dest mail {
-         domainlist      mail/domains
- }
- 
- dest porn {
-         domainlist      porn/domains
-         urllist         porn/urls
- }
- 
- dest proxy {
-         domainlist      proxy/domains
-         urllist         proxy/urls
- }
- 
- dest redirector {
-         domainlist      redirector/domains
-         urllist         redirector/urls
- }
- 
- dest spyware {
-         domainlist      spyware/domains
-         urllist         spyware/urls
- }
- 
- dest suspect {
-         domainlist      suspect/domains
-         urllist         suspect/urls
- }
- 
- 
- dest violence {
-         domainlist      violence/domains
-         urllist         violence/urls
- }
- 
- dest warez{
-         domainlist      warez/domains
-         urllist         warez/urls
- }
- 
- 
- acl {
- #       admin {
- #               pass     any
- #       }
- 
- #       foo-clients within workhours {
- #               pass     good !in-addr !adult any
- #       } else {
- #               pass any
- #       }
- 
- #       bar-clients {
- #               pass    local none
- #       }
- 
-         default {
-                 pass !ads !aggressive !audio-video !drugs !gambling !hacking !mail !porn !proxy !redirector !spyware !suspect !violence !warez all
- #               rewrite  dmz
-                 redirect        http://tjener.intern/block.html
- 
-         }
- }
- 
- 
- }}}
- 



More information about the debian-edu-commits mailing list