Koozali.org: home of the SME Server

howto instal squid for antivirus

Offline mgb

  • *****
  • 558
  • +0/-0
howto instal squid for antivirus
« on: September 25, 2008, 05:52:02 AM »
antivirus for winxp the config explorer port 3128 to ip mysme7.3   to work proxy ?
Thanks all for helping
Skype yosii2009

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: howto instal squid for antivirus
« Reply #1 on: September 28, 2008, 03:44:35 AM »
you mean dansguardian + clamav?

Offline mgb

  • *****
  • 558
  • +0/-0
Re: howto instal squid for antivirus
« Reply #2 on: October 02, 2008, 10:40:38 AM »
yum install   dansguardian  ?
Thanks all for helping
Skype yosii2009

Offline mudra

  • ****
  • 78
  • +0/-0
Re: howto instal squid for antivirus
« Reply #3 on: October 02, 2008, 05:23:19 PM »
http://wiki.contribs.org/Dansguardian

Look towards the bottom of this page. It gives instructions on how to setup DANSGUARDIAN and use CLAMAV with it.

Hope this helps.

Mudra

Offline arne

  • *****
  • 1,116
  • +0/-4
Re: howto instal squid for antivirus
« Reply #4 on: October 02, 2008, 07:55:24 PM »
I tried to do a test a few weeks ago. It was some bug, that I think now has been fixed. Please leave a meesage if it it now works ok. (Have not have time to test, again.)
http://wiki.contribs.org/Dansguardian#ClamAV_support
(If the sme server can do virus wash of the web content before arriving at the Windows clients it will be quite interesting.)
......

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: howto instal squid for antivirus
« Reply #5 on: October 03, 2008, 02:26:19 AM »
I tried to do a test a few weeks ago. It was some bug, that I think now has been fixed. Please leave a meesage if it it now works ok. (Have not have time to test, again.)
http://wiki.contribs.org/Dansguardian#ClamAV_support
(If the sme server can do virus wash of the web content before arriving at the Windows clients it will be quite interesting.)
That's how I have it working!

Offline mgb

  • *****
  • 558
  • +0/-0
Re: howto instal squid for antivirus
« Reply #6 on: November 02, 2008, 03:05:51 PM »
 
====================================================
[root@total ~]# yum --enablerepo=smecontribs install smeserver-dansguardian
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package smeserver-dansguardian.noarch 0:2.9-5.el4.sme set to be updated
--> Running transaction check
--> Processing Dependency: dansguardian >= 2.9 for package: smeserver-dansguardian
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package dansguardian.i386 0:2.10-1.el4.sme set to be updated
--> Running transaction check
--> Processing Dependency: libclamav.so.5 for package: dansguardian
--> Processing Dependency: libclamav.so.5(CLAMAV_PUBLIC) for package: dansguardian
--> Finished Dependency Resolution
Error: Missing Dependency: libclamav.so.5 is needed by package dansguardian
Error: Missing Dependency: libclamav.so.5(CLAMAV_PUBLIC) is needed by package dansguardian
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@total ~]#
to install dansguardian
Thanks all for helping
Skype yosii2009

Offline nicolatiana

  • *
  • 724
  • +0/-0
Re: howto instal squid for antivirus
« Reply #7 on: November 07, 2008, 10:08:41 PM »
I'm experiencing the same yum error while trying to install dansguardian. I gave a look to:

http://dungog.net/wiki/Dungog-dansguardian#smeserver-dansguardian

By enabling smeupdates-testing repository only for clamav and updating:

Quote
yum update --enablerepo=smeupdates-testing --enablerepo=smecontribs dansguardian clamav


the installation of dansguardian went fine. Usually is not a suggested way to use testing repository but in this situation it seems the only way to carry out the dansguardian install. Consider if You are doing it in a testing or production environment.

Bye

Nicola
« Last Edit: November 07, 2008, 10:34:04 PM by nicolatiana »
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: howto instal squid for antivirus
« Reply #8 on: November 07, 2008, 10:14:57 PM »
Not an help but just to say that I'm experiencing the same yum error while trying to install dansguardian.

Bye

Nicola

Mgb & Nicola

a little search give me this 3ad..

HTH
Ciao
Stefano

Offline nicolatiana

  • *
  • 724
  • +0/-0
Re: howto instal squid for antivirus
« Reply #9 on: November 07, 2008, 10:46:31 PM »
Stefano sei dovunque :shock: Mentre correggevo il post dopo avere scoperto la soluzione tu stavi giĆ  rispondendo !!!!

Ritorniamo all'inglese/let's go back to english:

Is it good practice to use, at least for clamv, updates from testing repository ?

Nicola

Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: howto instal squid for antivirus
« Reply #10 on: November 07, 2008, 10:53:35 PM »
Is it good practice to use, at least for clamv, updates from testing repository ?

Hi Nicola

I'm using clam* from smeupdates-testing on many servers.. work perfectly..

HTH

P.S. Lo so ;-)

Offline mgb

  • *****
  • 558
  • +0/-0
Re: howto instal squid for antivirus
« Reply #11 on: November 09, 2008, 11:51:33 AM »
is work ok
is work ok filter an antivirus
new is to install avg antivirus for linux to work dansguardian ?
Thanks all for helping
Skype yosii2009

Offline nicolatiana

  • *
  • 724
  • +0/-0
Re: howto instal squid for antivirus
« Reply #12 on: November 09, 2008, 09:19:27 PM »
I don't know about this more than clamav and kaspersky support. Give a look to dansguardian.org site.

Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline mgb

  • *****
  • 558
  • +0/-0
Re: using-iptables-to-bypass-squid-proxy
« Reply #13 on: November 20, 2008, 06:05:06 AM »
1- is work ok filter an antivirus
how to to stop  blacklists
how to work only antivirus in squid  | The iptables line redirecting traffic to squid is:


2- how to work antivirus in squid in port 80
the not need to config explorer in tools  proxy ?
 make  gateway from mysme ? dhcp
iptables -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-port 8080 ?
i test is no work help to fix
http://www.linuxquestions.org/questions/linux-security-4/using-iptables-to-bypass-squid-proxy-for-a-specific-domain-384847/

iptables -A PREROUTING -i eth0 -d 192.168.183.0/24 -j ACCEPT
 iptables: No chain/target/match by that name

iptables -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
iptables: No chain/target/match by that name
« Last Edit: November 26, 2008, 12:07:01 PM by mgb »
Thanks all for helping
Skype yosii2009