> [mailto:[EMAIL PROTECTED] nombre de Pippi
> Langstrumpf
> Enviado el: Martes, 01 de Junio de 2004 09:26 a.m.
>
>
> thats what I try to do. But how can I say PC2 to use
> the clamd (or the virus database) of PC1?
>

I'm 'guessing' that if you configure /etc/clamav.conf on PC2:
- Commenting local socket
- Configuring TCPAddr to PC1
clamdscan will read that conf and connect to that clamd daemon.

--------- extract from /etc/clamav.conf --------------
# Path to the local socket. The daemon doesn't change the mode of the
# created file (portability reasons). You may want to create it in a
directory
# which is only accessible for a user running daemon.
# LocalSocket /tmp/clamd

# TCP port address.
#TCPSocket 3310

# TCP address.
# By default we bind to INADDR_ANY, probably not wise.
# Enable the following to provide some degree of protection
# from the outside world.
#TCPAddr 127.0.0.1
-------------------------------------------------------

Be sure to use clamdscan. clamscan will not try to connect to a clamd
deamon.

-samuel

>
>  --- Samuel Benzaquen <[EMAIL PROTECTED]> schrieb: >
> > >
> > [mailto:[EMAIL PROTECTED]
> > nombre de Jo Mills
> > > Enviado el: Jueves, 27 de Mayo de 2004 07:33 a.m.
> > >
> > >
> > > On Thu, May 27, 2004 at 01:06:01PM +0200, Pippi
> > Langstrumpf wrote:
> > > > Hi,
> > > >
> > > > how can i configure clamd in a local network?
> > has
> > > > anybody some documentation (more detailed than
> > the the
> > > > normal clamav docs..)
> > > >
> > > > Situation:
> > > > PC 1: installed clamd, clamav, clamav-base,
> > > > clamav-daemon, clamav-freshclam, libclamav1
> > > > --> has internet connection (sometimes)
> > > >
> > > > PC2: installed clamav, clamav-base,
> > clamav-freshclam,
> > > > libclamav1
> > > > --> just local network
> > > >
> > > > PC1: db-update via internet
> > > > PC2: tries to connect to PC1 for db update with
> > > > freshclam
> > > > --> errormessage:
> > > > ClamAV update process started at Wed May 26
> > 13:59:43
> > > > 2004
> > > > ERROR: Can't connect to port 80 of host 10.1.0.6
> > > > (10.1.0.6)
> > > > ERROR: Connection with 10.1.0.6 (IP: 10.1.0.6)
> > failed.
> > > >
> > > > some help?
> > > >
> > > Just a thought, but why do you run freshclam on
> > PC2?  If you ran
> > > freshclam via cron on PC1, then once PC1 has
> > updated it's database(s)
> > > OK (check the return codes from Freshclam in the
> > documentation) you
> > > could, as part of the same cron job, use scp (see
> > SSH documentation if
> > > you're not familiar with scp) to copy the new
> > database(s) to PC2 (and
> > > as many other PC's as you wish).
> > >
> > > Perhaps you could use NFS to "share" the directory
> > on PC1 with other
> > > PC's?  I guess it depends a bit on your security
> > considerations and on
> > > what it is your trying to do.
> > >
> > > Jo.
> > >
> >
> > If I understand what you're saying, PC2 does NOT run
> > clamd, it uses the
> > clamd daemon on PC1.
> > In that case, you don't need freshclam, scp or any
> > other utility.
> >
> > -Samuel
> > -------------
> > Don't fix it if it's not broken.
> > But if u still want to fix it, call me. I'll break
> > it for u.
> >
> >
> >
> >
> -------------------------------------------------------
> > This SF.Net email is sponsored by: Oracle 10g
> > Get certified on the hottest thing ever to hit the
> > market... Oracle 10g.
> > Take an Oracle 10g class now, and we'll give you the
> > exam FREE.
> >
> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> > _______________________________________________
> > Clamav-users mailing list
> > [EMAIL PROTECTED]
> >
> https://lists.sourceforge.net/lists/listinfo/clamav-users
>
>
>
>
>
>
> Mit schönen Grüßen von Yahoo! Mail - http://mail.yahoo.de
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle 10g.
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> _______________________________________________
> Clamav-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/clamav-users



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id66&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to