{"id":853,"date":"2013-05-13T12:39:54","date_gmt":"2013-05-13T10:39:54","guid":{"rendered":"http:\/\/clark.tipistrani.it\/?p=853"},"modified":"2013-05-13T12:39:54","modified_gmt":"2013-05-13T10:39:54","slug":"dansguardian-conf","status":"publish","type":"post","link":"http:\/\/clark.tipistrani.it\/?p=853","title":{"rendered":"dansguardian.conf"},"content":{"rendered":"<p>Di seguito il file di configurazione generale di dansguardian<\/p>\n<p>#<br \/>\nreportinglevel = 3<br \/>\n#<br \/>\nlanguagedir = &#8216;\/jumper\/etc\/dansguardian\/languages&#8217;<br \/>\n# language to use from languagedir.<br \/>\nlanguage = &#8216;italian&#8217;<\/p>\n<p># Logging Settings<br \/>\n#<br \/>\n# 0 = none\u00a0 1 = just denied\u00a0 2 = all text based\u00a0 3 = all requests<br \/>\nloglevel = 2<\/p>\n<p># Log Exception Hits<br \/>\n# Log if an exception (user, ip, URL, phrase) is matched and so<br \/>\n# the page gets let through.\u00a0 Can be useful for diagnosing<br \/>\n# why a site gets through the filter.<br \/>\n# 0 = never log exceptions<br \/>\n# 1 = log exceptions, but do not explicitly mark them as such<br \/>\n# 2 = always log &amp; mark exceptions (default)<br \/>\nlogexceptionhits = 2<\/p>\n<p># Log File Format<br \/>\n# 1 = DansGuardian format (space delimited)<br \/>\n# 2 = CSV-style format<br \/>\n# 3 = Squid Log File Format<br \/>\n# 4 = Tab delimited<br \/>\nlogfileformat = 1<br \/>\n# Log file location<br \/>\n#<br \/>\n# Defines the log directory and filename.<br \/>\nloglocation = &#8216;\/jumper\/var\/log\/dansguardian\/access.log&#8217;# Statistics log file location<br \/>\nstatlocation = &#8216;\/jumper\/var\/log\/dansguardian\/stats&#8217;<br \/>\n# Network Settings<br \/>\nfilterip = 127.0.0.1<br \/>\n# the port that DansGuardian listens to.<br \/>\nfilterport = 8080<br \/>\n# the ip of the proxy (default is the loopback &#8211; i.e. this server)<br \/>\nproxyip = 127.0.0.1<br \/>\n# the port DansGuardian connects to proxy on<br \/>\nproxyport = 3030<br \/>\naccessdeniedaddress = &#8216;http:\/\/YOURSERVER.YOURDOMAIN\/cgi-bin\/dansguardian.pl&#8217;<br \/>\n# Default is enabled, but to go back to the standard mode, disable it.<br \/>\nnonstandarddelimiteusecustombannedimage = on<br \/>\ncustombannedimagefile = &#8216;\/usr\/share\/dansguardian\/transparent1x1.gif&#8217;<br \/>\nfiltergroups = 3<br \/>\nfiltergroupslist = &#8216;\/jumper\/etc\/dansguardian\/lists\/filtergroupslist&#8217;<br \/>\nbannediplist = &#8216;\/jumper\/etc\/dansguardian\/lists\/bannediplist&#8217;<br \/>\nexceptioniplist = &#8216;\/jumper\/etc\/dansguardian\/lists\/exceptioniplist&#8217;<br \/>\nshowweightedfound = on<\/p>\n<p>Di seguito il file di configurazione generale di dansguardian<\/p>\n<p>#<br \/>\nreportinglevel = 3<br \/>\n#<br \/>\nlanguagedir = &#8216;\/jumper\/etc\/dansguardian\/languages&#8217;<br \/>\n# language to use from languagedir.<br \/>\nlanguage = &#8216;italian&#8217;<\/p>\n<p># Logging Settings<br \/>\n#<br \/>\n# 0 = none\u00a0 1 = just denied\u00a0 2 = all text based\u00a0 3 = all requests<br \/>\nloglevel = 2<\/p>\n<p># Log Exception Hits<br \/>\n# Log if an exception (user, ip, URL, phrase) is matched and so<br \/>\n# the page gets let through.\u00a0 Can be useful for diagnosing<br \/>\n# why a site gets through the filter.<br \/>\n# 0 = never log exceptions<br \/>\n# 1 = log exceptions, but do not explicitly mark them as such<br \/>\n# 2 = always log &amp; mark exceptions (default)<br \/>\nlogexceptionhits = 2<\/p>\n<p># Log File Format<br \/>\n# 1 = DansGuardian format (space delimited)<br \/>\n# 2 = CSV-style format<br \/>\n# 3 = Squid Log File Format<br \/>\n# 4 = Tab delimited<br \/>\nlogfileformat = 1<br \/>\n# Log file location<br \/>\n#<br \/>\n# Defines the log directory and filename.<br \/>\nloglocation = &#8216;\/jumper\/var\/log\/dansguardian\/access.log&#8217;# Statistics log file location<br \/>\nstatlocation = &#8216;\/jumper\/var\/log\/dansguardian\/stats&#8217;<br \/>\n# Network Settings<br \/>\nfilterip = 127.0.0.1<br \/>\n# the port that DansGuardian listens to.<br \/>\nfilterport = 8080<br \/>\n# the ip of the proxy (default is the loopback &#8211; i.e. this server)<br \/>\nproxyip = 127.0.0.1<br \/>\n# the port DansGuardian connects to proxy on<br \/>\nproxyport = 3030<br \/>\naccessdeniedaddress = &#8216;http:\/\/YOURSERVER.YOURDOMAIN\/cgi-bin\/dansguardian.pl&#8217;<br \/>\n# Default is enabled, but to go back to the standard mode, disable it.<br \/>\nnonstandarddelimiteusecustombannedimage = on<br \/>\ncustombannedimagefile = &#8216;\/usr\/share\/dansguardian\/transparent1x1.gif&#8217;<br \/>\nfiltergroups = 3<br \/>\nfiltergroupslist = &#8216;\/jumper\/etc\/dansguardian\/lists\/filtergroupslist&#8217;<br \/>\nbannediplist = &#8216;\/jumper\/etc\/dansguardian\/lists\/bannediplist&#8217;<br \/>\nexceptioniplist = &#8216;\/jumper\/etc\/dansguardian\/lists\/exceptioniplist&#8217;<br \/>\nshowweightedfound = on<br \/>\nweightedphrasemode = 1<br \/>\nurlcachenumber = 1000<br \/>\nurlcacheage = 900<br \/>\nscancleancache = on<br \/>\nphrasefiltermode = 2<br \/>\npreservecase = 0<br \/>\nhexdecodecontent = off<br \/>\nforcequicksearch = off<br \/>\nreverseaddresslookups = off<br \/>\nreverseclientiplookups = off<br \/>\nlogclienthostnames = off<br \/>\ncreatelistcachefiles = on<br \/>\nmaxuploadsize = -1<br \/>\nmaxcontentfiltersize = 256<br \/>\nmaxcontentramcachescansize = 2000<br \/>\nmaxcontentfilecachescansize = 20000<br \/>\nfilecachedir = &#8216;\/tmp&#8217;<br \/>\ndeletedownloadedtempfiles = on<br \/>\ninitialtrickledelay = 20<br \/>\ntrickledelay = 10<br \/>\ndownloadmanager = &#8216;\/jumper\/etc\/dansguardian\/downloadmanagers\/fancy.conf&#8217;<br \/>\ndownloadmanager = &#8216;\/jumper\/etc\/dansguardian\/downloadmanagers\/default.conf&#8217;<br \/>\ncontentscanner = &#8216;\/jumper\/etc\/dansguardian\/contentscanners\/clamav.conf&#8217;<br \/>\ncontentscannertimeout = 60<br \/>\ncontentscanexceptions = off<br \/>\nrecheckreplacedurls = off<br \/>\nforwardedfor = off<br \/>\nusexforwardedfor = on<br \/>\nlogconnectionhandlingerrors = on<br \/>\nlogchildprocesshandling = off<br \/>\nmaxchildren = 120<br \/>\nminchildren = 8<br \/>\nminsparechildren = 4<br \/>\npreforkchildren = 10<br \/>\nmaxsparechildren = 32<br \/>\nmaxagechildren = 500<br \/>\nmaxips = 0<br \/>\nipcfilename = &#8216;\/tmp\/.dguardianipc&#8217;<br \/>\nurlipcfilename = &#8216;\/tmp\/.dguardianurlipc&#8217;<br \/>\nipipcfilename = &#8216;\/tmp\/.dguardianipipc&#8217;<br \/>\npidfilename = &#8216;\/var\/run\/dansguardian.pid&#8217;<br \/>\nnodaemon = off<br \/>\nnologger = off<br \/>\nlogadblocks = on<br \/>\nloguseragent = on<br \/>\nsoftrestart = off<br \/>\nmailer = &#8216;\/usr\/sbin\/sendmail -t&#8217;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Di seguito il file di configurazione generale di dansguardian # reportinglevel = 3 # languagedir = &#8216;\/jumper\/etc\/dansguardian\/languages&#8217; # language to use from languagedir. language = &#8216;italian&#8217; # Logging Settings # # 0 = none\u00a0 1 = just denied\u00a0 2 = all text based\u00a0 3 = all requests loglevel = 2 # Log Exception Hits # [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,14,13,6],"tags":[38],"class_list":["post-853","post","type-post","status-publish","format-standard","hentry","category-linux","category-networking","category-proxy","category-work","tag-dansguardian"],"_links":{"self":[{"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/posts\/853","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=853"}],"version-history":[{"count":5,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/posts\/853\/revisions"}],"predecessor-version":[{"id":858,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/posts\/853\/revisions\/858"}],"wp:attachment":[{"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=853"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=853"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}