NAME

File::VirusScan::Engine::Daemon::FPROT::V4 - File::VirusScan backend for scanning with F-PROT daemon, version 4

SYNOPSIS

    use File::VirusScan;
    my $s = File::VirusScan->new({
        engines => {
                '-Daemon::FPROT::V4' => {
                        host      => '127.0.0.1',
                        base_port => 10200,
                },
                ...
        },
        ...
}

DESCRIPTION

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.

CLASS METHODS

new ( $conf )

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

host

Required.

Host name or IP address of F-PROT daemon. Probably will not work for anything other than localhost or 127.0.0.1.

base_port

Optional. Defaults to 10200.

Port at which we start looking for an F-PROT daemon. We will try this port, and four more above it.

INSTANCE METHODS

scan ( $pathname )

Scan the path provided using the daemon on a the configured host.

Returns an File::VirusScan::Result object.

DEPENDENCIES

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

SEE ALSO

http://www.f-prot.com/

AUTHOR

Dianne Skoll (dfs@roaringpenguin.com)

Dave O'Neill (dmo@roaringpenguin.com)

Steffen Kaiser

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.