Página 1 de 1

DansGuardian and Squid for BrazilFW 2.31.10

MensagemEnviado: Seg Jul 25, 2011 12:30 pm
por cocl
Please somebody help me to give a complete instruction how to install and configure Squid and DansGuardian. I'm using BrazilFW 2.31.10

I read the instructions how to download the package using:
wget http://www.brazilfw.com.br/downloads/ad ... /squid.tgz (100% complete)
wget http://www.brazilfw.com.br/users/xmatri ... ardian.tgz (lite ver 100% complete)

so, what to do next?

Sorry, i'm not very familiar in linux. Please help.

Re: DansGuardian and Squid for BrazilFW 2.31.10

MensagemEnviado: Dom Jul 31, 2011 1:36 pm
por ghost
Now that you have addons installed the, you must configure them through the webadmin http://192.168.1.1:8180 or IP address you have configured.



Saludos :o!

Re: DansGuardian and Squid for BrazilFW 2.31.10

MensagemEnviado: Seg Ago 01, 2011 5:23 am
por cocl
Hi..

thank you for your reply. FYI, when i start squid, the internet cannot be accessed anymore. Its blocked everything. So i stop it and left it alone.

Re: DansGuardian and Squid for BrazilFW 2.31.10

MensagemEnviado: Seg Ago 01, 2011 1:25 pm
por ghost
The problem may be in the configuration of squid, please post your configuration.


Saludos :o!

Re: DansGuardian and Squid for BrazilFW 2.31.10

MensagemEnviado: Seg Ago 01, 2011 5:57 pm
por cocl
Thank you boss... i'll post it to you when i come back to office. Can you comment to this topic? viewtopic.php?f=79&t=80152

I think version 3.0.x is better. Squid is working fine but something different in port forwarding.

Please help.

Re: DansGuardian and Squid for BrazilFW 2.31.10

MensagemEnviado: Qua Ago 03, 2011 12:39 am
por cocl
Hi mr ghost..

what is the command to get the squid configuration?

i only have this when i check squid from browser:

Check squid.conf file ... 2011/08/03 00:29:15| aclParseAclLine: WARNING: empty ACL: acl block url_regex -i "/usr/local/squid/etc/block.flt"
2011/08/03 00:29:15| aclParseAclLine: WARNING: empty ACL: acl downloads_blocked urlpath_regex -i
2011/08/03 00:29:15| ACL name 'all' not defined!
FATAL: Bungled (null) line 172: icp_access deny all
Squid Cache (Version 2.7.STABLE6-20090224): Terminated abnormally.
ERROR
Test access to BFW site
client: ERROR: Cannot connect to 192.168.40.110:8080: Connection refused

Re: DansGuardian and Squid for BrazilFW 2.31.10

MensagemEnviado: Qua Ago 03, 2011 9:11 am
por ghost
Please take a picture of the webadmin Squid configuration and post it, is more easy that way.


Saludos :o!

Re: DansGuardian and Squid for BrazilFW 2.31.10

MensagemEnviado: Qua Ago 03, 2011 11:40 pm
por cocl
print screen
Imagem
Imagem

Re: DansGuardian and Squid for BrazilFW 2.31.10

MensagemEnviado: Qui Ago 04, 2011 12:12 pm
por ghost
When you installed the BFW, you have created the second partition?

I leave a small handbook for squid:
viewtopic.php?f=38&t=67257



Saludos :o!

Re: DansGuardian and Squid for BrazilFW 2.31.10

MensagemEnviado: Qui Ago 04, 2011 12:20 pm
por cocl
i don't know how to create partition (in linux). By the way, i just take over the job from somebody. BFW is already installed for a few years but its not filtered the website.

I tried several option included BFW version 3.0.x but stucked at Port Forwarding. Any help for version 3.0?

Re: DansGuardian and Squid for BrazilFW 2.31.10

MensagemEnviado: Qui Ago 04, 2011 12:35 pm
por ghost
unfortunately I can not help with BFW3, still have not used it enough to know.

To know if you got the second partition created do the following steps:

Tools >> 16. Free Space File System Memory and post the output.

Something like this:
Código: Selecionar todos
Filesystem                Size      Used Available Use% Mounted on
rootfs                  740.8M     19.4M    721.4M   3% /
/dev/hda2                18.6G     34.0M     18.6G   0% /partition



Saludos :o!

Re: DansGuardian and Squid for BrazilFW 2.31.10

MensagemEnviado: Qui Ago 04, 2011 12:40 pm
por cocl
how to do that? what command i should type?

Re: DansGuardian and Squid for BrazilFW 2.31.10

MensagemEnviado: Qui Ago 04, 2011 1:12 pm
por ghost
oops, I was wrong with the path in the webadmin. The correct is:

Diagnostic Tools >> 16. Memory Filesystem Free Space


Saludos :o!

Re: DansGuardian and Squid for BrazilFW 2.31.10

MensagemEnviado: Qui Ago 04, 2011 1:15 pm
por cocl
Código: Selecionar todos
Filesystem                Size      Used Available Use% Mounted on
rootfs                  345.0M     14.1M    331.0M   4% /

Re: DansGuardian and Squid for BrazilFW 2.31.10

MensagemEnviado: Sex Ago 05, 2011 6:27 pm
por cocl
hello Ghost...

if i add a new hard disk, it will automatically become a new partition or not? If not, how to create a new partition?

Re: DansGuardian and Squid for BrazilFW 2.31.10

MensagemEnviado: Sex Ago 05, 2011 7:16 pm
por ghost
No, if you add a second disk does not become the second partition. As far as I understood the partition is created when you install. I'll do a search for the forum to see if you can make the second partition with the installed system.


Saludos :o!

Re: DansGuardian and Squid for BrazilFW 2.31.10

MensagemEnviado: Sex Ago 05, 2011 7:20 pm
por cocl
Thank you ghost... i don't think my HDD is only 345.0Mb

Re: DansGuardian and Squid for BrazilFW 2.31.10

MensagemEnviado: Sex Ago 05, 2011 7:40 pm
por ghost
OK, try this:

IPs and URLs no cached: Leave it empty

HD Cache Enable: No

And Please post te content of the configuration files.


Saludos :o!

Re: DansGuardian and Squid for BrazilFW 2.31.10

MensagemEnviado: Sáb Ago 06, 2011 9:19 pm
por cocl
Page cannot be displayed

output configuration:
Código: Selecionar todos
Configuring Squid ...
Disk Cache is Disabled
Writing squid.conf file
2011/08/06 21:16:16| aclParseAclLine: WARNING: empty ACL: acl block url_regex -i "/usr/local/squid/etc/block.flt"
2011/08/06 21:16:16| aclParseAclLine: WARNING: empty ACL: acl downloads_blocked urlpath_regex -i
2011/08/06 21:16:16| ACL name 'all' not defined!
FATAL: Bungled (null) line 172: icp_access deny all
Squid Cache (Version 2.7.STABLE6-20090224): Terminated abnormally.
Squid running now!
Flush all old rules or create the chain if it is the first time
Configuring Transparent Proxy to Squid
Forwarding net 192.168.40.0/24
2011/08/06 21:16:21| aclParseAclLine: WARNING: empty ACL: acl block url_regex -i "/usr/local/squid/etc/block.flt"
2011/08/06 21:16:21| aclParseAclLine: WARNING: empty ACL: acl downloads_blocked urlpath_regex -i
2011/08/06 21:16:21| ACL name 'all' not defined!
FATAL: Bungled (null) line 172: icp_access deny all
Squid Cache (Version 2.7.STABLE6-20090224): Terminated abnormally.


Re: DansGuardian and Squid for BrazilFW 2.31.10

MensagemEnviado: Sáb Ago 06, 2011 11:30 pm
por Thiago
Hello, please, in squid configurations.
In > Forbidden Words select "Disabled"
In > Deny Extensions: select "Disabled " , this file is empty. Dont use "Enable" case is empty.. ok?
Código: Selecionar todos
/usr/local/squid/etc/dload.flt

In > Privileged users/IPs: File empty, if empty then print error... :D
in iten Privileged users select the ips for file in Privileged users ....
Sorry, i not speak english,If you do not understand my English, someone write for you
good night
:mrgreen:

Re: DansGuardian and Squid for BrazilFW 2.31.10

MensagemEnviado: Dom Ago 07, 2011 4:12 am
por cocl
Still the same. Page cannot be displayed if i run squid. Current setting refer print screen picture above.

Código: Selecionar todos
Configuring Squid ...
Disk Cache is Disabled
Writing squid.conf file
2011/08/07 04:02:05| ACL name 'all' not defined!
FATAL: Bungled (null) line 172: http_reply_access allow all
Squid Cache (Version 2.7.STABLE6-20090224): Terminated abnormally.
Squid running now!
Flush all old rules or create the chain if it is the first time
Configuring Transparent Proxy to Squid
Forwarding net 192.168.40.0/24
2011/08/07 04:02:10| ACL name 'all' not defined!
FATAL: Bungled (null) line 172: http_reply_access allow all
Squid Cache (Version 2.7.STABLE6-20090224): Terminated abnormally.

Re: DansGuardian and Squid for BrazilFW 2.31.10

MensagemEnviado: Dom Ago 07, 2011 11:12 am
por Thiago
Estreaming cache "NO" or "Disabled" .
Stop squid, Cache Rebuild , Reload :o!
and test..

Re: DansGuardian and Squid for BrazilFW 2.31.10

MensagemEnviado: Dom Ago 07, 2011 1:21 pm
por cocl
still the same. all website cannot be displayed.

Código: Selecionar todos
Check squid.conf file ... 2011/08/07 13:20:44| ACL name 'all' not defined!
FATAL: Bungled (null) line 172: http_reply_access allow all
Squid Cache (Version 2.7.STABLE6-20090224): Terminated abnormally.
ERROR
Test access to BFW site
client: ERROR: Cannot connect to 192.168.40.110:8080: Connection refused


when i reboot, squid is not running.