make dansguardian working  [SOLVED]

BrazilFW 3.xhelp discussions in English.

make dansguardian working

Mensagempor tsystem76 » Sex Jun 10, 2011 5:35 pm

Hi,

I'm using BFW 3.0.249, and i try to make dansguardian working to block
some site on the network, but of course i can't do it ... :?

I've download package :
/# get-pkg /users/tecjair/addons/dansguardian/dansguardian

I've change list config via web admin addons/dansguardian,
but when i hit the reload button, i get a message
"DansGuardian off!"
And of course, nothing is filtred :-(

I've change squid conf file (like found on forum) like this :
WEB_CONTENT_FILTER ligne = "yes"
But result stay the same... :roll:

So if some one can give me some solution on the step to do to get filtering working,
it will be a good thing for me, because i've make update to 3x to use filtering :cry:

Thanks for your help.

Mr
tsystem76
 

Re: make dansguardian working

Mensagempor goldxfive75 » Ter Jun 14, 2011 9:34 am

tsystem76 escreveu:Hi,

I'm using BFW 3.0.249, and i try to make dansguardian working to block
some site on the network, but of course i can't do it ... :?

I've download package :
/# get-pkg /users/tecjair/addons/dansguardian/dansguardian

I've change list config via web admin addons/dansguardian,
but when i hit the reload button, i get a message
"DansGuardian off!"
And of course, nothing is filtred :-(

I've change squid conf file (like found on forum) like this :
WEB_CONTENT_FILTER ligne = "yes"
But result stay the same... :roll:

So if some one can give me some solution on the step to do to get filtering working,
it will be a good thing for me, because i've make update to 3x to use filtering :cry:

Thanks for your help.

Mr

I have the same problem !!!!!!!!!!
I wanna block the Block List 's Block Sentences , it seems it doesn't work ...

could anyone help us ><
goldxfive75
 

Re: make dansguardian working

Mensagempor xtanctp » Ter Jun 14, 2011 10:24 am

Avatar do usuário
xtanctp
BFW Add-on Developer
BFW Beneméritos
BFW Team
BFW WebServer
 
Mensagens: 655
Registrado em: Sex Mar 19, 2010 11:13 am
Localização: Tacna - Perú
BrazilFW Box: Máquina Física
CPU i3
RAM 4 Gb / 2 Link
Versión BFW 3.0.262 64 bits
Servicios Activos: MAC, QoS, Cache, MySQL.
Addons en uso: TempLock, SqStat, eBackup, Watchdog Mail, Sis Block, ArpCAT, Squid 3.4.14.

Re: make dansguardian working

Mensagempor tsystem76 » Ter Jun 14, 2011 2:13 pm

Hi,

Tks for the link, but i've already read it, and it's not solving my probleme.

Dansguardian look's to be running, because i can see it in the webadmin addons, but no results...

My squid.conf etc/brazilfw/custom/squid.cfg:
Código: Selecionar todos
MAXIMUM_OBJECT_SIZE=''
MAXIMUM_OBJECT_SIZE_MEMORY=''
MAXIMUM_CACHE_SIZE=''
MAXIMUM_RAM_CACHE_SIZE=''
WEB_CONTENT_FILTER='yes'
SQUID_REPORT='no'
SARG_LONG_URL='no'
SARG_GRAPHS='no'
REPORT_DELETE_AFTER_DAYS='0'
RUN_REPORT_PERIODIC='yes'
CACHE_LOG='no'
TPROXY='no'
HIDE_PROXY='no'


My DG conf : etc/brazilfw/dansguardian/dansguardian.conf (unchanged)
Código: Selecionar todos
reportinglevel = 3
languagedir = '/etc/brazilfw/dansguardian/languages'
language = 'ptbrazilian'
loglevel = 2
logexceptionhits = 2
logfileformat = 3
loglocation = '/partition/squid/logs/access.log'
filterip =
filterport = 3128
proxyip = 127.0.0.1
proxyport = 3129
usecustombannedimage = on
custombannedimagefile = '/usr/local/dansguardian/transparent1x1.gif'
filtergroups = 1
filtergroupslist = '/etc/brazilfw/dansguardian/filtergroupslist'
bannediplist = '/etc/brazilfw/dansguardian/bannediplist'
exceptioniplist = '/etc/brazilfw/dansguardian/exceptioniplist'
showweightedfound = off
weightedphrasemode = 0
urlcachenumber = 1000
urlcacheage = 900
scancleancache = off
phrasefiltermode = 2
preservecase = 0
hexdecodecontent = off
forcequicksearch = off
reverseaddresslookups = off
reverseclientiplookups = off
logclienthostnames = off
createlistcachefiles = on
maxuploadsize = -1
maxcontentfiltersize = 256
maxcontentramcachescansize = 2000
maxcontentfilecachescansize = 20000
filecachedir = '/tmp'
deletedownloadedtempfiles = on
initialtrickledelay = 20
trickledelay = 10
downloadmanager = '/etc/brazilfw/dansguardian/downloadmanagers/default.conf'
authplugin = '/etc/brazilfw/dansguardian/authplugins/ip.conf'
contentscannertimeout = 60
contentscanexceptions = off
recheckreplacedurls = off
forwardedfor = off
usexforwardedfor = off
logconnectionhandlingerrors = on
logchildprocesshandling = off
maxchildren = 120
minchildren = 8
minsparechildren = 4
preforkchildren = 6
maxsparechildren = 32
maxagechildren = 500
maxips = 0
ipcfilename = '/tmp/.dguardianipc'
urlipcfilename = '/tmp/.dguardianurlipc'
ipipcfilename = '/tmp/.dguardianipipc'
pidfilename = '/var/run/dansguardian.pid'
nodaemon = off
nologger = off
logadblocks = off
loguseragent = off
daemonuser = 'squid'
daemongroup = 'squid'
softrestart = off


And finaly the only filter set to try :
/etc/brazilfw/dansguardian/lists/bannedsitelist
only one web site added after "#List other sites to block:"
Código: Selecionar todos
#List other sites to block:
gtplanet.net


I've make backup, reboot, try
- /etc/init.d/squid stop
- /etc/init.d/squid start
-/etc/init.d/squid reload
-/etc/init.d/squid restart-dg

But i can't get this web site filtered...

Tks for help

Ts.
tsystem76
 

Re: make dansguardian working  [SOLVED]

Mensagempor GuiCPD » Qui Jun 30, 2011 9:00 pm

Hi friend! i'll try to help you..
maybe you understand my poor english.. >| >| >|

1 - this file: /etc/brazilfw/brazilfw.cfg, you have enabled option CACHE_DISK=YES?
2 - this file: /etc/brazilfw/custom/squid.cfg, you have enabled option WEB_CONTENT_FILTER=YES?
3 - Don't change squid.cfg / dansguardian.conf default options works as well.
4 - insert this site gtplanet.net on file: /etc/brazilfw/dansguardian/lists/bannedsitelist

Verify this options 1,2,3 and 4, then backup and reboot BFW.

If its not work again, maybe something is very wrong there.
GuiCPD
 

Re: make dansguardian working

Mensagempor tsystem76 » Sáb Jul 02, 2011 9:06 am

So,

first at all, tks for your help :o)

I've verify your options, the only one that was not set like you write was the 1st one (CACHE_DISK=YES)
and when i've tried to set it (after backup and reboot) i don't get anymore acess to internet ...
and after when i try to put it again on "no" internet is not coming back ;o(

Maybe this point can give a new orientation to a new solution ?

Tks

Ts.
tsystem76
 

Re: make dansguardian working

Mensagempor GuiCPD » Dom Jul 03, 2011 10:45 am

tsystem76 escreveu:So,

first at all, tks for your help :o)

I've verify your options, the only one that was not set like you write was the 1st one (CACHE_DISK=YES)
and when i've tried to set it (after backup and reboot) i don't get anymore acess to internet ...
and after when i try to put it again on "no" internet is not coming back ;o(

Maybe this point can give a new orientation to a new solution ?

Tks

Ts.


You're welcome :)

When happen somethng like this, we sugest to reinstall BrazilFW. So follow my steps and report here ok!

Dont make other changes before test this case.
GuiCPD
 

Re: make dansguardian working

Mensagempor tsystem76 » Dom Jul 03, 2011 2:04 pm

Hi,

if i redo my system pendrive need i to add the dans gaurdian addons or not ?
(/# get-pkg /users/tecjair/addons/dansguardian/dansguardian)

Tks
tsystem76
 

Re: make dansguardian working

Mensagempor GuiCPD » Dom Jul 03, 2011 2:28 pm

tsystem76 escreveu:Hi,

if i redo my system pendrive need i to add the dans gaurdian addons or not ?
(/# get-pkg /users/tecjair/addons/dansguardian/dansguardian)

Tks


No need at moment, this add on is to simplify the dans guardian configuration. Without it, you have to configure dans in text mode: edit /etc/brazilfw/dansguardian/lists/bannedsitelist

If you want to install this add on, feel free for do.
GuiCPD
 

Re: make dansguardian working

Mensagempor tsystem76 » Qui Jul 07, 2011 1:59 pm

Hi,

So, it's looking it's working, i've redo all the install and it's working fine,
The only point is that to surf with filtering enable, i need to set my dns in
/etc/brazilfw/brazilfw.cfg (dns1 and dns2). without, proxy can't resolve name.

THANKS !!!! :aplause:

Just another question, now, disk cache is enable, so, where data are writed, need i to clean it sometimes ?
(i'm on pendrive install, no hardrive...)


Thanks


Ts.
tsystem76
 


Voltar para BrazilFW 3.x - English Forum

Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado e 1 visitante