Clark's Home page

Tecnicismi vari di un Sysadmin Linux ma anche qualcosa della sua vita

dansguardian.conf —

Di seguito il file di configurazione generale di dansguardian

#
reportinglevel = 3
#
languagedir = ‘/jumper/etc/dansguardian/languages’
# language to use from languagedir.
language = ‘italian’

# Logging Settings
#
# 0 = none  1 = just denied  2 = all text based  3 = all requests
loglevel = 2

# Log Exception Hits
# Log if an exception (user, ip, URL, phrase) is matched and so
# the page gets let through.  Can be useful for diagnosing
# why a site gets through the filter.
# 0 = never log exceptions
# 1 = log exceptions, but do not explicitly mark them as such
# 2 = always log & mark exceptions (default)
logexceptionhits = 2

# Log File Format
# 1 = DansGuardian format (space delimited)
# 2 = CSV-style format
# 3 = Squid Log File Format
# 4 = Tab delimited
logfileformat = 1
# Log file location
#
# Defines the log directory and filename.
loglocation = ‘/jumper/var/log/dansguardian/access.log’# Statistics log file location
statlocation = ‘/jumper/var/log/dansguardian/stats’
# Network Settings
filterip = 127.0.0.1
# the port that DansGuardian listens to.
filterport = 8080
# the ip of the proxy (default is the loopback – i.e. this server)
proxyip = 127.0.0.1
# the port DansGuardian connects to proxy on
proxyport = 3030
accessdeniedaddress = ‘http://YOURSERVER.YOURDOMAIN/cgi-bin/dansguardian.pl’
# Default is enabled, but to go back to the standard mode, disable it.
nonstandarddelimiteusecustombannedimage = on
custombannedimagefile = ‘/usr/share/dansguardian/transparent1x1.gif’
filtergroups = 3
filtergroupslist = ‘/jumper/etc/dansguardian/lists/filtergroupslist’
bannediplist = ‘/jumper/etc/dansguardian/lists/bannediplist’
exceptioniplist = ‘/jumper/etc/dansguardian/lists/exceptioniplist’
showweightedfound = on

Di seguito il file di configurazione generale di dansguardian

#
reportinglevel = 3
#
languagedir = ‘/jumper/etc/dansguardian/languages’
# language to use from languagedir.
language = ‘italian’

# Logging Settings
#
# 0 = none  1 = just denied  2 = all text based  3 = all requests
loglevel = 2

# Log Exception Hits
# Log if an exception (user, ip, URL, phrase) is matched and so
# the page gets let through.  Can be useful for diagnosing
# why a site gets through the filter.
# 0 = never log exceptions
# 1 = log exceptions, but do not explicitly mark them as such
# 2 = always log & mark exceptions (default)
logexceptionhits = 2

# Log File Format
# 1 = DansGuardian format (space delimited)
# 2 = CSV-style format
# 3 = Squid Log File Format
# 4 = Tab delimited
logfileformat = 1
# Log file location
#
# Defines the log directory and filename.
loglocation = ‘/jumper/var/log/dansguardian/access.log’# Statistics log file location
statlocation = ‘/jumper/var/log/dansguardian/stats’
# Network Settings
filterip = 127.0.0.1
# the port that DansGuardian listens to.
filterport = 8080
# the ip of the proxy (default is the loopback – i.e. this server)
proxyip = 127.0.0.1
# the port DansGuardian connects to proxy on
proxyport = 3030
accessdeniedaddress = ‘http://YOURSERVER.YOURDOMAIN/cgi-bin/dansguardian.pl’
# Default is enabled, but to go back to the standard mode, disable it.
nonstandarddelimiteusecustombannedimage = on
custombannedimagefile = ‘/usr/share/dansguardian/transparent1x1.gif’
filtergroups = 3
filtergroupslist = ‘/jumper/etc/dansguardian/lists/filtergroupslist’
bannediplist = ‘/jumper/etc/dansguardian/lists/bannediplist’
exceptioniplist = ‘/jumper/etc/dansguardian/lists/exceptioniplist’
showweightedfound = on
weightedphrasemode = 1
urlcachenumber = 1000
urlcacheage = 900
scancleancache = on
phrasefiltermode = 2
preservecase = 0
hexdecodecontent = off
forcequicksearch = off
reverseaddresslookups = off
reverseclientiplookups = off
logclienthostnames = off
createlistcachefiles = on
maxuploadsize = -1
maxcontentfiltersize = 256
maxcontentramcachescansize = 2000
maxcontentfilecachescansize = 20000
filecachedir = ‘/tmp’
deletedownloadedtempfiles = on
initialtrickledelay = 20
trickledelay = 10
downloadmanager = ‘/jumper/etc/dansguardian/downloadmanagers/fancy.conf’
downloadmanager = ‘/jumper/etc/dansguardian/downloadmanagers/default.conf’
contentscanner = ‘/jumper/etc/dansguardian/contentscanners/clamav.conf’
contentscannertimeout = 60
contentscanexceptions = off
recheckreplacedurls = off
forwardedfor = off
usexforwardedfor = on
logconnectionhandlingerrors = on
logchildprocesshandling = off
maxchildren = 120
minchildren = 8
minsparechildren = 4
preforkchildren = 10
maxsparechildren = 32
maxagechildren = 500
maxips = 0
ipcfilename = ‘/tmp/.dguardianipc’
urlipcfilename = ‘/tmp/.dguardianurlipc’
ipipcfilename = ‘/tmp/.dguardianipipc’
pidfilename = ‘/var/run/dansguardian.pid’
nodaemon = off
nologger = off
logadblocks = on
loguseragent = on
softrestart = off
mailer = ‘/usr/sbin/sendmail -t’

 


Categorised as: Linux | Networking | Proxy | Work

Comments are disabled on this post


Comments are closed.