Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

squid dansguardian : url tronquée

1 réponse
Avatar
groumph!!
Bonjour à tous

J'essai de configurer une Suse10 avec SuSEfirewall2, squid-2.5.stable13 et
dansguardian-2.8.0.3.

D'après mes logs, je vois bien que le mur de feu dirige correctement vers
dansguardian lequel renvoie bien vers squid.

Le problème c'est qu'il manque le nom du site !

Exemple

Log de dansguardian :
2006.6.1 19:26:16 - 89.0.0.27 http://www.google.fr/imghp?hl=fr&tab=wi&q=
GET 1192
Log de squid (ligne correspondante) :
1149181990.636 2 127.0.0.1 TCP_DENIED/400 1520 GET
/imghp?hl=fr&tab=wi&q= - NONE/- text/html

Donc il me manque toute le début de l'url : http://www.google.fr

Je me plante où ???
Probablement dans le fichier de config de dansguardian, mais bon ....

Je le joins ci-après expurgé des lignes de commentaires .....

Merci d'avance à tous
Alain




-------------------------------
# DansGuardian config file for version 2.8.0
reportinglevel = 0
languagedir = '/etc/dansguardian/languages'
language = 'french'
loglevel = 2
logexceptionhits = on
logfileformat = 1
loglocation = '/var/log/dansguardian/access.log'
filterip = 89.0.0.140
filterport = 8080
proxyip = 127.0.0.1
proxyport = 3128
accessdeniedaddress = 'http://YOURSERVER.YOURDOMAIN/cgi-bin/dansguardian.pl'
nonstandarddelimiter = on
usecustombannedimage = 1
custombannedimagefile = '/etc/dansguardian/transparent1x1.gif'
filtergroups = 1
filtergroupslist = '/etc/dansguardian/filtergroupslist'
bannediplist = '/etc/dansguardian/bannediplist'
exceptioniplist = '/etc/dansguardian/exceptioniplist'
banneduserlist = '/etc/dansguardian/banneduserlist'
exceptionuserlist = '/etc/dansguardian/exceptionuserlist'
showweightedfound = on
weightedphrasemode = 2
urlcachenumber = 1000
urlcacheage = 900
phrasefiltermode = 2
preservecase = 1
hexdecodecontent = 0
forcequicksearch = 0
reverseaddresslookups = off
reverseclientiplookups = on
createlistcachefiles = on
maxuploadsize = -1
maxcontentfiltersize = 0
usernameidmethodproxyauth = on
usernameidmethodntlm = off # **NOT IMPLEMENTED**
usernameidmethodident = off
preemptivebanning = on
forwardedfor = off
usexforwardedfor = on
logconnectionhandlingerrors = on
maxchildren = 120
minchildren = 8
minsparechildren = 4
preforkchildren = 6
maxsparechildren = 32
maxagechildren = 500
ipcfilename = '/tmp/.dguardianipc'
urlipcfilename = '/tmp/.dguardianurlipc'
nodaemon = off
nologger = off
softrestart = off
-------------------------

1 réponse

Avatar
groumph!!
Re !
Probleme resolu grâce à l'excellent site :
http://arnofear.free.fr/linux/squid-3.php

Merci
Alain

groumph!! wrote:
Bonjour à tous

J'essai de configurer une Suse10 avec SuSEfirewall2,
squid-2.5.stable13 et dansguardian-2.8.0.3.

D'après mes logs, je vois bien que le mur de feu dirige correctement
vers dansguardian lequel renvoie bien vers squid.

Le problème c'est qu'il manque le nom du site !

Exemple

Log de dansguardian :
2006.6.1 19:26:16 - 89.0.0.27
http://www.google.fr/imghp?hl=fr&tab=wi&q= GET 1192
Log de squid (ligne correspondante) :
1149181990.636 2 127.0.0.1 TCP_DENIED/400 1520 GET
/imghp?hl=fr&tab=wi&q= - NONE/- text/html

Donc il me manque toute le début de l'url : http://www.google.fr

Je me plante où ???
Probablement dans le fichier de config de dansguardian, mais bon ....

Je le joins ci-après expurgé des lignes de commentaires .....

Merci d'avance à tous
Alain




-------------------------------
# DansGuardian config file for version 2.8.0
reportinglevel = 0
languagedir = '/etc/dansguardian/languages'
language = 'french'
loglevel = 2
logexceptionhits = on
logfileformat = 1
loglocation = '/var/log/dansguardian/access.log'
filterip = 89.0.0.140
filterport = 8080
proxyip = 127.0.0.1
proxyport = 3128
accessdeniedaddress > 'http://YOURSERVER.YOURDOMAIN/cgi-bin/dansguardian.pl'
nonstandarddelimiter = on usecustombannedimage = 1
custombannedimagefile = '/etc/dansguardian/transparent1x1.gif'
filtergroups = 1
filtergroupslist = '/etc/dansguardian/filtergroupslist'
bannediplist = '/etc/dansguardian/bannediplist'
exceptioniplist = '/etc/dansguardian/exceptioniplist'
banneduserlist = '/etc/dansguardian/banneduserlist'
exceptionuserlist = '/etc/dansguardian/exceptionuserlist'
showweightedfound = on
weightedphrasemode = 2
urlcachenumber = 1000
urlcacheage = 900
phrasefiltermode = 2
preservecase = 1
hexdecodecontent = 0
forcequicksearch = 0
reverseaddresslookups = off
reverseclientiplookups = on
createlistcachefiles = on
maxuploadsize = -1
maxcontentfiltersize = 0
usernameidmethodproxyauth = on
usernameidmethodntlm = off # **NOT IMPLEMENTED**
usernameidmethodident = off
preemptivebanning = on
forwardedfor = off
usexforwardedfor = on
logconnectionhandlingerrors = on
maxchildren = 120
minchildren = 8
minsparechildren = 4
preforkchildren = 6
maxsparechildren = 32
maxagechildren = 500
ipcfilename = '/tmp/.dguardianipc'
urlipcfilename = '/tmp/.dguardianurlipc'
nodaemon = off
nologger = off
softrestart = off
-------------------------