File::VirusScan::Engine::Daemon::FPROT::V6 - File::VirusScan backend for scanning with F-PROT daemon, version 4
use File::VirusScan; my $s = File::VirusScan->new({ engines => { '-Daemon::FPROT::V6' => { host => '127.0.0.1', port => 10200, }, ... }, ... }
File::VirusScan backend for scanning using F-PROT's scanner daemon
This class inherits from, and follows the conventions of, File::VirusScan::Engine::Daemon. See the documentation of that module for more information.
Creates a new scanner object. $conf is a hashref containing:
Optional. Defaults to 127.0.0.1
Host name or IP address of F-PROT daemon. Will not work for anything other than localhost or 127.0.0.1, as we perform local path scanning rather than transmission of the file over the socket.
Optional. Defaults to 10200.
In seconds. Optional. Defaults to 10.
Timeout on connection to the F-PROT socket.
In seconds. Optional. Defaults to 60.
Timeout for reading response from F-PROT.
Reference to array of commandline-style options to be given to SCAN command.
Optional. Defaults to:
[ '--scanlevel=2', '--archive=2', '--heurlevel=2', '--adware', '--applications', ]
Scan the path provided using the daemon on a the configured host.
Returns an File::VirusScan::Result object.
IO::Socket::INET, Cwd, File::VirusScan::Result
http://www.f-prot.com/
Dave O'Neill (dmo@roaringpenguin.com)
Steffen Kaiser
Copyright (c) 2007 Roaring Penguin Software, Inc.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, or (at your option) any later version.
To install File::VirusScan, copy and paste the appropriate command in to your terminal.
cpanm
cpanm File::VirusScan
CPAN shell
perl -MCPAN -e shell install File::VirusScan
For more information on module installation, please visit the detailed CPAN module installation guide.