ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
automatic update client when clamwin updates on server
tanzeem


Joined: 05 Feb 2016
Posts: 3
Location: india
Reply with quote
I am planning to remove kaspersky antivirus and install clamwin+clamsentinel on my server running windows 2008 R2 Enterprise.
Usually when Kaspersky gets updated automatically on the server, the client machines also gets automatic updates.
Can I do the same with clamwin + clamsentinel?
Please reply soon atleast for a work around.

Standing up for Freedom in software
thanks and regards.
View user's profileSend private message
GuitarBob


Joined: 09 Jul 2006
Posts: 4936
Location: USA
Reply with quote
Are you installing ClamWin on both server and client machines? If you are, then any machine connected to the web will get the automatic signature updates at the time specified. If the clients are not connected to the web, you will have to develop a script to copy the signature database files from the serverto the clients. ClamWin was originally developed for stand-alone use and still does not support network use to any significant extent.

You should probably use a real-time, on access antivirus program along with ClamWin/Clam Sentinel. ClamWin is only an on-demand scanner, and Clam Sentinel, while it is resident, it still does not control a file while it is scanning it, so quick-acting viruses can still do damage. They work best at scanning files that are not activated on a computer. They are both subject to more false positives than other AVs, but this can be lessened by intelligent whitelisting.

Regards,
View user's profileSend private message
Re: automatic update client when clamwin updates on server
tanzeem


Joined: 05 Feb 2016
Posts: 3
Location: india
Reply with quote
thanks GuitarBob

I am installing clamwin/clamsentinel both on client machines and server.
The clients are not connected to the web.
we have got windows xp and windows 7, windows 8 clients.

I hope the following algorithm is what that you suggested.

Code:

/*

algorithm of script
to be run in the windows 2008 server
to update
database signatures in the client pcs

*/

if main.cvd or daily.cvd is updated in the windows 2008 server
then
{
lookup all client pcs in the lan.

for all pcs in the lan do
{
check if the client is Windows xp,
  {
   if yes
    update(replace) the database signature files
   main.cvd; daily.cvd
      to
 "C:\Documents and Settings\All Users\.clamwin\db"
  }
 if Windows Vista and 7 or later
  update(replace) the database signature files
   main.cvd; daily.cvd
      in
“C:\ProgramData\.clamwin\db”
}
}
View user's profileSend private message
can I get a code for this algorithm
tanzeem


Joined: 05 Feb 2016
Posts: 3
Location: india
Reply with quote
Can I get a code for this algorithm in Perl, Java,
Windows batch file programming or Python?
View user's profileSend private message
GuitarBob


Joined: 09 Jul 2006
Posts: 4936
Location: USA
Reply with quote
I am not much of a programmer, so I can't evaluate your code/script. Does it work for you? If it does, you should be able to write something similar in any language you can.

Regards,
View user's profileSend private message
automatic update client when clamwin updates on server
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic