Mail::SpamCannibal::LaBreaDaemon - interface to LaBrea::Tarpit


Mail-SpamCannibal documentation  | view source Contained in the Mail-SpamCannibal distribution.

Index


NAME

Top

Mail::SpamCannibal::LaBreaDaemon - interface to LaBrea::Tarpit

SYNOPSIS

Top

  use Mail::SpamCannibal::LaBreaDaemon;

  daemon(&hash | \%hash)

DESCRIPTION

Top

This module has one function, to interface to the LaBrea::Tarpit::daemon routine to start and run its data collection daemon.

* daemon(&hash | \%hash)
 input parameters: from hash or pointer to hash
 {
  'LaBrea'      => '/usr/local/spamcannibal/bin/dbtarpit',
  'd_port'      => 8687,                # REQUIRED
  'd_host'      => 'localhost',         # defaults to ALL interfaces
                                        # NOT recommended
  'allowed'     => 'localhost,remote.com',      # default is ALL
                                        # recommend only 'localhost'
  'pid'         => '/var/run/dbtarpit/sc_lbdaemon.pid',
  'cache'       => '/var/run/dbtarpit/sc_lbdaemon.cache',
  'fifo'        => '/var/run/dbtarpit/dbtplog',
 # 'kids'       => default 5            # kids to deliver net msgs
                                        # why would you need more??
 # 'umask'      => 033,         # default 033, cache_file umask
 # 'cull'       => 600,         # default 600, seconds to keep old threads
  'scanners'    => 100,                 # keep this many dead threads
 # 'port_timer' => 86400,       # default 86400, seconds per collection period
  'port_intvls' => 30,                  # keep #nintvls of port stats
                                        # 0 or missing disables
                                        # this can take lots of memory
 };  

DEPENDENCIES

Top

	LaBrea::Tarpit verion 1.17 or better

COPYRIGHT

Top

AUTHOR

Top

Michael Robinton <michael@bizsystems.com>

SEE ALSO

Top

LaBrea::Tarpit, LaBrea::Tarpit::Report


Mail-SpamCannibal documentation  | view source Contained in the Mail-SpamCannibal distribution.