File::VirusScan::Engine::Daemon::Symantec::CSS - File::VirusScan backend for scanning with Symantec CarrierScan Server
use File::VirusScan; my $s = File::VirusScan->new({ engines => { '-Daemon::Symantec::CSS' => { host => '127.0.0.1', port => 7777, is_local => 1, }, ... }, ... }
File::VirusScan backend for scanning using Symantec CarrierScan Server
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:
Required.
Host name or IP address of CarrierScan server
Optional. Defaults to 7777
Port on which to connect to CarrierScan server
Optional. Defaults to true.
If set, use AVSCANLOCAL to tell CarrierScan to scan the given path directly. If unset, use AVSCAN and transmit the file contents over the socket for scanning.
Scan the path provided using CarrierScan.
Returns an File::VirusScan::Result object.
IO::Socket::INET, Cwd, File::VirusScan::Result,
http://www.symantec.com
Dianne Skoll (dfs@roaringpenguin.com)
Dave O'Neill (dmo@roaringpenguin.com)
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.