Updating the virus signature files on a regular basis is essential to protect your computer against new viruses.
F-Prot Antivirus Updater is a perl script, which checks for virus signature updates over the Internet. If new virus signature files are available it will download and install them.
You can set F-Prot Antivirus to update automatically by using it with a cronjob.
Here is an example of a crontab entry which runs the check-updates.pl script twice a day: 04:27 and 16:27:
27 4,16 * * * /usr/local/f-prot/tools/check-updates.pl -cron
Here is the same example with proxy authentication included:
27 4,16 * * * /usr/local/f-prot/tools/check-updates.pl -cron -proxy-server=http://localhost:3128 -proxy-username=myusername -proxy-password=mypassword
.SH REQUIREMENTS
This script was written for perl 5.8 and it is dependant on the
following perl modules:
NET::FTP
IO::File
HTTP::Request
HTTP::Response
LWP::UserAgent
and one external program: 'unzip' (the directory of the unzip binary needs to be in the $PATH environment variable.
To install the required modules, you can use the following from the CPAN shell:
To enter the CPAN shell:
perl -MCPAN -e shell
To install modules:
cpan> install Bundle::libnet
cpan> install Bundle::LWP
cpan> install IO
cpan> quit
More detailed information regarding CPAN can be found at http://www.perl.com/CPAN/.
Back to Index Next