[Linuxtrent] Re: dansguardian e gruppi di utenti

  • From: Mario Vittorio Guenzi <jclark@xxxxxxxxxx>
  • To: linuxtrent@xxxxxxxxxxxxx
  • Date: Mon, 14 Nov 2011 13:19:44 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Il 14/11/2011 12:47, Giuliano Natali ha scritto:
> Mario Vittorio Guenzi wrote:
>> di cui alcuni vuoti e in dansguardianf2.conf ad esempio ci sonoi 
>> puntatori a /jumper/etc/dansguardian/fg2/nomefile
>> 
> 
> sono leggibili vero?
 sangiorgio:/jumper/etc/dansguardian# ls -al
totale 96
drwxr-xr-x  9 root root  4096 14 nov 12:59 .
drwxr-xr-x  7 root root  4096 30 ott  2010 ..
drwxr-xr-x  2 root root  4096 30 ott  2010 authplugins
drwxr-xr-x  2 root root  4096 30 ott  2010 contentscanners
- -rw-r--r--  1 root root 22780 14 nov 12:59 dansguardian.conf
- -rw-r--r--  1 root root 11734 17 ott 12:16 dansguardianf1.conf
- -rw-r--r--  1 root root 11838 14 nov 10:26 dansguardianf2.conf
- -rw-r--r--  1 root root 11714 30 ott  2010 dansguardianf3.conf
drwxr-xr-x  2 root root  4096 30 ott  2010 downloadmanagers
drwxr-xr-x  2 root root  4096 17 ott 12:19 fg2
drwxr-xr-x  7 root root  4096 30 ott  2010 fg3
drwxr-xr-x 29 root root  4096 30 ott  2010 languages
drwxr-xr-x  7 root root  4096 14 nov 12:18 lists





e i path dentro dg2 e dg3 sono corretti vero?

sangiorgio:/jumper/etc/dansguardian# less dansguardianf2.conf
# Defaults to 0 if unspecified.
# Unauthenticated users are treated as being in the first filter group.
groupmode = 1

# Filter group name
# Used to fill in the -FILTERGROUP- placeholder in the HTML template
file, and to
# name the group in the access logs
# Defaults to empty string
groupname = 'filter2'

# Content filtering files location
bannedphraselist = '/jumper/etc/dansguardian/fg2/bannedphraselist'
weightedphraselist = '/jumper/etc/dansguardian/fg2/weightedphraselist'
exceptionphraselist = '/jumper/etc/dansguardian/fg2/exceptionphraselist'
bannedsitelist = '/jumper/etc/dansguardian/fg2/bannedsitelist'
greysitelist = '/jumper/etc/dansguardian/fg2/greysitelist'
exceptionsitelist = '/jumper/etc/dansguardian/fg2/exceptionsitelist'
bannedurllist = '/jumper/etc/dansguardian/fg2/bannedurllist'
greyurllist = '/jumper/etc/dansguardian/fg2/greyurllist'
exceptionurllist = '/jumper/etc/dansguardian/fg2/exceptionurllist'
exceptionregexpurllist =
'/jumper/etc/dansguardian/fg2/exceptionregexpurllist'
bannedregexpurllist = '/jumper/etc/dansguardian/fg2/bannedregexpurllist'
picsfile = '/jumper/etc/dansguardian/fg2/pics'
contentregexplist = '/jumper/etc/dansguardian/fg2/contentregexplist'
urlregexplist = '/jumper/etc/dansguardian/list/urlregexplist'

bla
bla
bla


> inoltre nel file dansguardian.conf hai abilitato i gruppi vero? e
> sono più di 1... ovviamente!
less dansguardian.conf

# Log File Format
# 1 = DansGuardian format (space delimited)
# 2 = CSV-style format
# 3 = Squid Log File Format
# 4 = Tab delimited
#logfileformat = 1
logfileformat = 3


e' qui che devo cambiare in 2 per avere il full log?
perche' la voce full log non mi pare di averla vista da nessuna parte ma
ricontrollo


bla
bla
bla
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 = 3128
proxyport = 3030

# Individual filter groups can override this setting in their own
configuration.
#
accessdeniedaddress = 'http://YOURSERVER.YOURDOMAIN/cgi-bin/dansguardian.pl'
usecustombannedimage = on

filtergroups = 3
filtergroupslist = '/jumper/etc/dansguardian/lists/filtergroupslist'



# Authentication files location
bannediplist = '/jumper/etc/dansguardian/lists/bannediplist'
exceptioniplist = '/jumper/etc/dansguardian/lists/exceptioniplist'

bla
bla
bla






> 
>> scusa se non sono stato chiaro prima e se ad esempio cerco di
>> downlodare una iso da debian.org mi vien fuori 1321268888.547
>> 205 192.168.2.102 TCP_MISS/302 355 GET 
>> http://cdimage.debian.org/debian-cd/6.0.3/amd64/iso-cd/debian-6.0.3-amd64-businesscard.iso
>>
>> 
- - - DEFAULT_PARENT/127.0.0.1 -
>> 1321268888.687    134 192.168.2.102 TCP_DENIED/403 0 GET 
>> http://caesar.acc.umu.se/debian-cd/6.0.3/amd64/iso-cd/debian-6.0.3-amd64-businesscard.iso
>>
>> 
- - - DEFAULT_PARENT/127.0.0.1 application/octet-stream
> 
> No,  questi log sembrano di squid non di dansguardian...
> 
> abilita il ful log in DG
> 
> Diaolin
> 


- -- 

Mario Vittorio Guenzi
E-mail jclark@xxxxxxxxxx
Si vis pacem, para bellum
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7BB2AACgkQm6qs1ZkNrIqYmwCeNZ382N5n/Foo7FuZVVC7mkUb
uGsAniJc2JHHUgbUlT8ffh6RT6DWw1H1
=Dy8p
-----END PGP SIGNATURE-----
-- 
Per iscriversi  (o disiscriversi), basta spedire un  messaggio con OGGETTO
"subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx


Other related posts: