Squid.conf
#############ICAP#######
icap_enable on
icap_service service_req reqmod_precache bypass=on
icap://
127.0.0.1:1344/request
icap_service service_resp respmod_precache bypass=on
icap://
127.0.0.1:1344/response
adaptation_access service_req allow all
adaptation_access service_resp allow all
icap_send_client_ip on
icap_send_client_username on
adaptation_masterx_shared_names X-ICAP-E2G
icap_service_failure_limit 1 in 1 seconds
icap_connect_timeout 10 seconds
icap_io_timeout 15 seconds
icap_service_revival_delay 10
half_closed_clients off
quick_abort_min 0 KB
quick_abort_max 0 KB
E2guardian.conf
languagedir = '/etc/e2guardian/languages'
language = 'french'
loglevel = 2
logexceptionhits = 0
logfileformat = 6
loglocation = '/var/log/e2guardian/access.log'
dstatlocation = '/var/log/e2guardian/dstats.log'
dstatinterval = 20 # = 5 minutes
filterip =
filterports = 8080
icapport = 1344
proxyip = 127.0.0.1
proxyport = 3128
proxytimeout = 50
proxyexchange = 60
pcontimeout = 15
usecustombannedimage = on
custombannedimagefile = '/usr/share/e2guardian/transparent1x1.gif'
usecustombannedflash = on
custombannedflashfile = '/usr/share/e2guardian/blockedflash.swf'
filtergroups = 5
filtergroupslist = '/etc/e2guardian/lists/groupes'
showweightedfound = on
weightedphrasemode = 2
urlcachenumber = 0
urlcacheage = 0
phrasefiltermode = 2
preservecase = 0
hexdecodecontent = off
forcequicksearch = off
reverseaddresslookups = off
reverseclientiplookups = off
logclienthostnames = off
maxcontentfiltersize = 0
maxcontentramcachescansize = 20240
maxcontentfilecachescansize = 512000
filecachedir = '/tmp'
deletedownloadedtempfiles = on
initialtrickledelay = 40
trickledelay = 20
contentscanner = '/etc/e2guardian/contentscanners/icapscan.conf'
contentscannertimeout = 60
contentscanexceptions = off
recheckreplacedurls = off
usexforwardedfor = off
logconnectionhandlingerrors = on
httpworkers = 5000
maxips = 0
nologger = off
logadblocks = off
loguseragent = on
daemonuser = 'e2guardian'
daemongroup = 'e2guardian'
softrestart = off
enablessl = off
preauthstoryboard = '/etc/e2guardian/preauth.story'
storyboardtrace = off
maxheaderlines = 80