Updating clam antivirus in ubuntu
I tried to download the latest version of clam AV from https:// But i am not sure about, If i put this code into my live and it will not create the problem.But i don't know about how to manually update the version and i can not take any risk because it is connected with my live site.And if all works fine with new updates, we could create Clam Client object with the location of this new server, and another server could be used as a test server to test updates.Besides, as for updating live site, Azure App Service enable us to set up staging environments, you could set up and deploy app with updates in a staging deployment slot, and validate app changes in a staging deployment slot before swapping it with the production slot. Install Clam AV in Debian If you want to install clamav in debian you need to add the any one of the following source list to your /etc/file deb sarge/volatile main or deb sarge main deb-src sarge main Once you add the above souce list run the following commad # apt-get update #apt-get install clamav this will install following packages clamav clamav-base clamav-freshclam libbz2-1.0 libclamav1 libcurl3 libgmp3 libidn11 ucf at the time of installation it will prompt for the following questions Virus database update method:daemon Local Database mirror site:db.local.HTTP proxy information (leave blank for none):none Should clamd be notified after updates?yes Manually update virus databases #freshclam Clam AV update process started at Mon Sep 11 2006 is up to date (version: 40, sigs: 64138, f-level: 8, builder: tkojm) is up to date (version: 1859, sigs: 4556, f-level: 8, builder: ccordes) Auto-updating Virus Databases freshclam is the default database updater for Clam Anti Virus.It was discovered that Clam AV would incorrectly parse a UPX-packedexecutable, leading to possible inappropriate heap reads.An attackercould use this issue to cause Clam AV to crash, resulting in a denial ofservice, or possibly execute arbitrary code.
Quick test: run freshclam (as superuser) with no parameters and check the output.
(CVE-2013-2020) It was discovered that Clam AV would incorrectly parse a PDF document,potentially writing beyond the size of a static array.
An attacker coulduse this issue to cause Clam AV to crash, resulting in a denial of service,or possibly execute arbitrary code.
Filtering, coping, moving, and removing viruses are all options. To install Clam Anti-virus, open the terminal and type: Now the database will be updated.
If you do not want check whether your database is up-to-date each time you want to search for viruses, the following command will check for database updates twice a day (you can increase the times by changing the number “2”, and notice that your limit is 50).
If everything is OK you may create the log file in /var/log (owned by clamav or another user freshclam will be running as (--user) #touch /var/log/#chmod 600 /var/log/#chown clamav /var/log/Now you should edit the configuration file (or if they're merged) and configure the Update Log File directive to point to the created log file.