The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

File::VirusScan::Engine::Daemon::Symantec::CSS - File::VirusScan backend for scanning with Symantec CarrierScan Server

SYNOPSIS

    use File::VirusScan;
    my $s = File::VirusScan->new({
        engines => {
                '-Daemon::Symantec::CSS' => {
                        host => '127.0.0.1',
                        port => 7777,
                        is_local => 1,
                },
                ...
        },
        ...
}

DESCRIPTION

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.

CLASS METHODS

new ( $conf )

Creates a new scanner object. $conf is a hashref containing:

host

Required.

Host name or IP address of CarrierScan server

port

Optional. Defaults to 7777

Port on which to connect to CarrierScan server

is_local

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.

INSTANCE METHODS

scan ( $pathname )

Scan the path provided using CarrierScan.

Returns an File::VirusScan::Result object.

DEPENDENCIES

IO::Socket::INET, Cwd, File::VirusScan::Result,

SEE ALSO

http://www.symantec.com

AUTHOR

Dianne Skoll (dfs@roaringpenguin.com)

Dave O'Neill (dmo@roaringpenguin.com)

LICENCE AND COPYRIGHT

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.