Jump to content
Sign in to follow this  
Bruceleeon

F-Prot Anti Virus

Recommended Posts

Here is how to use F-Prot:

You can download it free here:

http://www.f-prot.com/download/home_user/d...ad_fplinux.html

There is an .rpm for Mandrake and SUSE . . but also a .tar.gz you can use in other distros.

Once downloaded to the /Download directory you do ( as root ):

# rpm -ihv /home/bruno/Download/fp-linux-ws.rpm
( It will automatically get the latest updated virus definitions as part of the install process ) Then to make updating the definitions simple you make a sym-link:
# ln -s  /usr/local/f-prot/tools/check-updates.pl  /usr/local/bin/f-prot-updates
This means to get the new virus definitions next time all you have to do is:
# f-prot-updates
And you will see:
*************************************** * F-Prot Antivirus Updater * *************************************** There's a new version of: "Document/Office/Macro viruses" signatures on the web. Starting to download... Download completed. There's a new version of: "Application/Script viruses and Trojans" signatures on the web. Starting to download... Download completed. Preparing to install Application/Script viruses and Trojans signatures. Application/Script viruses and Trojans signatures have successfully been installed. Preparing to install Document/Office/Macro viruses signatures. Document/Office/Macro viruses signatures have successfully been installed. ********************************** * Update completed successfully. * **********************************
Now we check if it works:
# f-prot -verno
And scan your Windows partition:
# f-prot   /mnt/win_c
Or your /home:
# f-prot  /home
Or the full "/" partition:
# f-prot  /
This will show you the following output:
Virus scanning report - 3 February 2006 @ 22:18 F-PROT ANTIVIRUS Program version: 4.6.6 Engine version: 3.16.14 VIRUS SIGNATURE FILES SIGN.DEF created 3 February 2006 SIGN2.DEF created 3 February 2006 MACRO.DEF created 3 February 2006 Search: /home Action: Report only Files: "Dumb" scan of all files Switches: -ARCHIVE -PACKED -SERVER Results of virus scanning: Files: 35411 MBRs: 0 Boot sectors: 0 Objects scanned: 42406 Time: 3:17 No viruses or suspicious files/boot sectors were found.
As you can see the command does not need an extra agrument, the default is -dumb -archive -packed -server IMPORTANT NOTE: The syntax in the old version used to be "f-prot [options] [file/dir_to_scan]" but changed in this new version to "f-prot [file/dir_to_scan] [options]" A quick way to get the updates and do the scan on the evolution directory in one go is:
# f-prot-updates && f-prot /home/bruno/.evolution/
Bruno PS: It could be a good idea to set up a cron job for the updates. Become root and do:
# crontab -e
This opens a file in Vi you simply add this line:
0 4 * * * /usr/local/f-prot/tools/check-updates.pl -cron -quiet
Now cron will get the updates at 4:00am every day ( and only notify you if there was an error getting the signature files ) Also the scan can be made into a cron job:
0 5 * * * /usr/local/bin/f-prot / -report=/root/f-prot-report.txt

And cron will do a scan of / at 5:00am every day and send a report to /root/f-prot-report.txt

--------------------------------------------------------------------------------------

info from http://www.brunolinux.com/07-Security/F-Pr..._for_Linux.html

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×