Ok but it's interesting to know as the refresh is scheduled from your client to your repository as configured on flaschclam conf file. Can u get more information about the warning? How the update script works? It perform finally a scp wget ftp...? Maybe freshclam is designed to work with the std clamav repository so the client need a network availability as I think that an update via freshclam tool is attempted with a wget. A solution should be perform a script that directly get the updates files from your internal repository, eg via ftp or scp. U should schedule it on clamav user crontab file.
PS: Check iptables too in both your server. -----Messaggio originale----- Da: clamav-users [mailto:clamav-users-boun...@lists.clamav.net] Per conto di stef stef Inviato: lunedì 26 gennaio 2015 10.52 A: ClamAV users ML Oggetto: Re: [clamav-users] R: Need help to use a local server for updating Sorry for my bad english. My server : 192.168.0.200 (Debian)My client : 192.168.0.10 (Ubuntu)No VLAn, on the same network. My client can access on clamAV repository with url http://192.168.0.200/my_repository and it can download with "wget http://192.168.0.200/my_repository/main.cvd". On my serveur, on this directory I've "main.cvd, daily.cvd, bytecode.cvd, mirrors.dat". I get these files with freshclam and I updated these files with clamdownloader.pl. These actions work fine. The problem is on my client : when I do a freshclam with DatabaseMirror http://192.168.0.200/SOS/TPs/clamAv on my freshclam.conf, It doesn't work. It seems that freshclam doesn't know It had to use a local network. When I do freshclam and a tcpdump on my client, there's no trafic in direction to my server. I think It's DNSDatabaseInfo that it's not the right value but I don't know what I've to put in...Do I have to configure a DNS server on my web server ? De : Del Monte Paolo <paolo.delmo...@eng.it> À : ClamAV users ML <clamav-users@lists.clamav.net> Envoyé le : Lundi 26 janvier 2015 10h30 Objet : [clamav-users] R: Need help to use a local server for updating It's not clear to me if u attempled a wget on your mirror server. Secondary why do u configure as a prmary mirror a server in your vlan? Can u check pls how the clamdownloader.pl script works? E.g. it perform a ftp a scp .... U should simply put a debugger "set -x" in the head of your downloader script in order to verify where the flux is wrong. It should be a fw issue too. -----Messaggio originale----- Da: clamav-users [mailto:clamav-users-boun...@lists.clamav.net] Per conto di stef stef Inviato: lunedì 26 gennaio 2015 10.20 A: ClamAV users ML; alvarn...@mac.com Oggetto: Re: [clamav-users] Need help to use a local server for updating Yes, I use this documentation to use the clamdownloader.pl script (and it works)On this documentation, it's just specify "DatabaseMirror machine1.mylan" And with my server URL (http://IP/my_repository) on my client freshclam.conf, it don't work :( Thanks for your help De : Al Varnell <alvarn...@mac.com> À : ClamAV users ML <clamav-users@lists.clamav.net> Envoyé le : Lundi 26 janvier 2015 10h11 Objet : Re: [clamav-users] Need help to use a local server for updating Have you gone through all the documentation on Private Mirrors <http://www.clamav.net/doc/mirrors-private>? -Al- On Mon, Jan 26, 2015 at 12:43AM, stef stef wrote: > > Hi, > I need help to configure freeshclam.conf on a client with a local server. > On my local server, i use clamdownloader.pl by Frederic Vanden Poel > I've downloaded the clamAV update in my webserver Repository and the script >works fine. I can see the *.cvd file with url : http://IP/my_repository > > On my client, I've changed my freesclam.conf with :DatabaseMirror > http://IP/my_repository > > But when I launch freshclam I've an error :WARNING: Can't download main.cvd > from http://IP/my_repository > > I've tried without http://, without DNSDatabaseInfo (how to configure this > value ?). > I've tried to change user on repository IP/my_repository with www.data and > with clamav. > Here's my freshclam.conf : > # Automatically created by the clamav-freshclam postinst# Comments will get > lost when you reconfigure the clamav-freshclam package > DatabaseOwner clamavUpdateLogFile /var/log/clamav/freshclam.logLogVerbose > falseLogSyslog falseLogFacility LOG_LOCAL6LogFileMaxSize 0LogRotate > trueLogTime trueForeground falseDebug falseMaxAttempts 5DatabaseDirectory > /var/lib/clamav#DNSDatabaseInfo current.cvd.clamav.net#DNSDatabaseInfo > 192.168.0.200AllowSupplementaryGroups falsePidFile > /var/run/clamav/freshclam.pidConnectTimeout 30ReceiveTimeout 30TestDatabases > yesScriptedUpdates yes# Check for new database 24 times a dayChecks > 24DatabaseMirror http://192.168.0.200/SOS/TPs/clamAv > > Any idea to help me ?Thanks a lot ! > Stéphanie(Sorry for my bad english). _______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml _______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml _______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml _______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml _______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml