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

use Mail::SpamCannibal::LaBreaDaemon; daemon(&hash | \%hash)

This module has one function, to interface to the LaBrea::Tarpit::daemon routine to start and run its data collection daemon.
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
};

LaBrea::Tarpit verion 1.17 or better

Copyright 2003, Michael Robinton <michael@bizsystems.com>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Michael Robinton <michael@bizsystems.com>
