Clark's Home page

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

dansguardianfN.conf —

In questo caso il file è dansguardianf2.conf ed è il file che definisce gli utenti che praticamente non hanno limitazioni, per gli altri utenti è sufficiente (e avanza anche il più delle volte) il default.Prima di passare alla configurazione vera e propria è necessario preparare l’ambiente per gli utenti amministratori, cosa che cominciamo con un mkdir /etc/dansguardian/fg2
Copiamo quindi i files di configurazione necessari in fg2

cp /etc/dansguardian/lists/bannedphraselist        /etc/dansguardian/fg2/bannedphraselist
cp /etc/dansguardian/lists/weightedphraselist        /etc/dansguardian/fg2/weightedphraselist
cp /etc/dansguardian/lists/exceptionphraselist    /etc/dansguardian/fg2/exceptionphraselist
cp /etc/dansguardian/lists/bannedsitelist        /etc/dansguardian/fg2/bannedsitelist
cp /etc/dansguardian/lists/greysitelist        /etc/dansguardian/fg2/greysitelist
cp /etc/dansguardian/lists/exceptionsitelist        /etc/dansguardian/fg2/exceptionsitelist
cp /etc/dansguardian/lists/bannedurllist        /etc/dansguardian/fg2/bannedurllist
cp /etc/dansguardian/lists/greyurllist        /etc/dansguardian/fg2/greyurllist
cp /etc/dansguardian/lists/exceptionurllist        /etc/dansguardian/fg2/exceptionurllist
cp /etc/dansguardian/lists/bannedregexpurllist    /etc/dansguardian/fg2/bannedregexpurllist
cp /etc/dansguardian/lists/bannedextensionlist    /etc/dansguardian/fg2/bannedextensionlist
cp /etc/dansguardian/lists/bannedmimetypelist        /etc/dansguardian/fg2/bannedmimetypelist
cp /etc/dansguardian/lists/pics            /etc/dansguardian/fg2/pics
cp /etc/dansguardian/lists/contentregexplist         /etc/dansguardian/fg2/contentregexplist
cp /etc/dansguardian/lists/urlregexplist         /etc/dansguardian/fg2/urlregexplist

e quindi:
cat /dev/null > /etc/dansguardian/fg2/bannedphraselist   
cat /dev/null > /etc/dansguardian/fg2/weightedphraselist
cat /dev/null > /etc/dansguardian/fg2/exceptionphraselist
cat /dev/null > /etc/dansguardian/fg2/bannedsitelist
cat /dev/null > /etc/dansguardian/fg2/greysitelist
cat /dev/null > /etc/dansguardian/fg2/exceptionsitelist
cat /dev/null > /etc/dansguardian/fg2/bannedurllist
cat /dev/null > /etc/dansguardian/fg2/greyurllist
cat /dev/null > /etc/dansguardian/fg2/exceptionurllist
cat /dev/null > /etc/dansguardian/fg2/bannedregexpurllist
cat /dev/null > /etc/dansguardian/fg2/bannedextensionlist
cat /dev/null > /etc/dansguardian/fg2/bannedmimetypelist
cat /dev/null > /etc/dansguardian/fg2/pics
cat /dev/null > /etc/dansguardian/fg2/contentregexplist
cat /dev/null > /etc/dansguardian/fg2/urlregexplist

groupmode = 1
# 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 = ‘/etc/dansguardian/lists/exceptionregexpurllist’
bannedregexpurllist = ‘/jumper/etc/dansguardian/fg2/bannedregexpurllist’
picsfile = ‘/jumper/etc/dansguardian/fg2/pics’
contentregexplist = ‘/jumper/etc/dansguardian/fg2/contentregexplist’
urlregexplist = ‘/etc/dansguardian/lists/urlregexplist’
blockdownloads = off
exceptionextensionlist = ‘/jumper/etc/dansguardian/lists/exceptionextensionlist’
exceptionmimetypelist = ‘/jumper/etc/dansguardian/lists/exceptionmimetypelist’
bannedextensionlist = ‘jumper/etc/dansguardian/fg2/bannedextensionlist’
bannedmimetypelist = ‘/jumper/etc/dansguardian/fg2/bannedmimetypelist’
exceptionfilesitelist = ‘/jumper/etc/dansguardian/lists/exceptionfilesitelist’
exceptionfileurllist = ‘/jumper/etc/dansguardian/lists/exceptionfileurllist’
headerregexplist = ‘/jumper/etc/dansguardian/lists/headerregexplist’
bannedregexpheaderlist = ‘/jumper/etc/dansguardian/lists/bannedregexpheaderlist’
naughtynesslimit = 36000
categorydisplaythreshold = 0
embeddedurlweight = 0
enablepics = off
bypass = 0
bypasskey = ”
infectionbypass = 300
infectionbypasskey = ”
infectionbypasserrorsonly = on
disablecontentscan = off
deepurlanalysis = off
reportinglevel = 2
usesmtp = off
mailfrom = ”
avadmin = ‘root@localhost’
contentadmin = ”
avsubject = ‘dansguardian virus block’
contentsubject = ‘dansguardian violation’
notifyav = off
notifycontent = off
thresholdbyuser = off
violations = 0
threshold = 0


Categorised as: Linux | Networking | Proxy | Work

Comments are disabled on this post


Comments are closed.