Revision history for Perl extension Mail::SpamCannibal
0.49 Sat Oct 16 16:16:55 PDT 2004
added missing file in contrib directory that should have
been in rev 0.47
dnsbl_stats.shtml
nav.incl
robots.txt
update sc_mailfilter.pl v1.07 to optionally count files processed
update sample sc_mailfilter.conf.sample to include SPAMCOUNT for above
0.48 Wed Oct 6 11:08:38 PDT 2004
updated docs
0.47 Sat Oct 2 13:46:36 PDT 2004
update $ipattern in contrib/mimedefang-filter
correct BUG in DNSBLserver/zonefile.c that did not propagate
IP address to the TXT record while dumping a zone file
DNSBLserver/data.c, minor document update
0.46 Sat Sep 18 12:33:59 PDT 2004
Corrected description of "sub rfheaders" in ParseMessage.pm v0.07
Change SMTPsend v0.04 to use the Net::Cmd datasend, dataend calls instead
of $smtp->data(). This allows the passing of an optional filehandle
to SMTPsend that will be spooled to completion.
Add abuse_host to ScriptSupport v0.28
This subroutine supports abuse_host.pl + documentation
Add Quick Start documentation to document tree.
Thanks to "Jonathan Baker-Bates" <jonathan@bakerbates.com>
for the addition.
Update the SpamCannibal "home" page and add configurable
site blacklist reason.
Add configurable 'reason' to sc_web.conf
This allows the site user to customize the text at the end of the
SpamCannibal home page so that it is specific for the local site.
Change public_html/cannibal.cgi v1.23 to support 'reason' in config file
Add dnsbl_stats.shtml to contrib directory. This page is from the
SpamCannibal web site and demonstrates how to include dynamic
statistics files from rc.sc_BLcheck, mimedefang-filter, and
Net::DNSBL::MultiDaemon
Add mimedefang-filter to contrib directory. This filter is
configured to support spamassassin and SpamCannibal
Add nav.incl file from the SpamCannibal web site demonstrating the
addition of extra menu items
Add robots.txt file from the SpamCannibal web site
0.45 Wed Sep 1 17:49:29 PDT 2004
Oops! left out reference to
Net::DNS::Codes qw(
T_PTR
T_ANY
);
Net::DNS::ToolKit qw(
get16
);
when moving subroutines out of ScriptSupport.
These are needed by runtime scripts that remain.
Update to ScriptSupport v0.27
0.44 Wed Sep 1 15:35:37 PDT 2004
moved from ScriptSupport v0.26 to Net::DNS::ToolKit::Utilities v0.20
id
question
revIP
query
dns_udpsend
dns_udpresp
dns_ans
dns_ns
dns_ptr
rlook_send
rlook_rcv
modified cannible.cgi v1.22 to use Net::DNS::ToolKit::Utilities
0.43 not released
in BDBaccess(v0.18)/CTest.xs and DNSBLserver(v0.30)/CTest.xs,
update CTest.xs to eliminate use of "putchar" which conflicts
with buffered/unbuffered use of IO in testing
Tune DNAT documentation.
Tune IPTABLES QUEUE documentation.
Tune spam_report.cgi.example summary screen comments.
Add additional test in cannibal.cgi v1.21 to detect
undefined $query{query}.
Add missing 'document.name' qualifier to submit() function
(failed in Firefox 0.92 without the qualifier).
Add init file 'rc_debian_spamcannibal' to contrib
Update ScriptSupport::BLcheck v0.25 to count STATs for
WhiteList, BlackList and Passed
0.42 Sun Jun 27 14:01:44 PDT 2004
updated the documentation to include bastion host DNAT
instructions for setting up a tarpit connection where
the server is behind the bastion host
0.41 Sun Jun 27 09:04:56 PDT 2004
DNSBLserver 0.29
Added 'stop' variable for testing in main.c to intercept
processing of the -T flag and stop STDOUT
# Something in perl 5.8 does not allow the redirection of
# STDOUT in an eval to a C program. The workaround is
# simply to abort the call to 'main' just prior to issuing
# the print statements since this is all tested elsewhere
#
DNSBLserver 0.28 - unreleased
added time tag to zone file dump in dnsbls::zonefile.c
changed test for zone dump so that it just checks for the
presence of a "zone_request" instead of no other activity + zone_request
0.40 Sat Jun 26 12:09:14 PDT 2004
Update INSTALL document about BIND zone forward method
0.39 Thu Jun 24 11:35:08 PDT 2004
oops! Fixed PGP code in ScriptSupport::mailcheck v0.24
that had been commented out for debugging
0.38 not released to CPAN, but was on the web site for awhile
minor (annoying) bug fixes... my bad :-(
commented out several "use diagnostics" inadvertently remaining
corrected test at line 1624 of ScriptSupport.pm v0.23 which failed
on undefined value, reversed order of test to detect undefined first
0.37 Wed Jun 23 19:42:20 PDT 2004
Minor updates to the INSTALL document re: dnsbl installation
corrected major typo in sc_session.pl v1.08 that pointed to the dbhome
directory. The recent upgrade of IPTables... uncovered a missing
variable in the SiteConfig hash that was duplicated in IPTables
and did not (should not) exist in SpamCannibal SiteConfig.
added test in cannibal.cgi v1.20 to detect missing query and ignore.
0.36 Wed Jun 23 13:10:52 PDT 2004
updated the documentation in ./config/sc_Blacklist.conf
to clarify problems with the timeouts in sendmail when using
Net::DNSBL::MultiDaemon
removed duplicate use [module] qw(inet_aton inet_ntoa);
in cannibal.cgi. Also, line 826
=~ spamlst...
should be =~ /^spamlst/...
Thanks to "Jonathan Baker-Bates" <jonathan@bakerbates.com>
for spotting those two mistakes.
Changes to DNSBLserver 0.26
fixed bug in ns.c that prevented 127.xx.xx.xx response TXT strings
inserted by rc.dnsbls from being reported
added zonefile.c and zonedump.c so that dnsbls can
dump a zonefile to the dbhome directory on receipt
of a SIG_USR2
add script 'sc_zoneload' to load a BIND or 'dig' zone file
into the database.
0.35 NOT RELEASED -- distributed for testing, changes included above
0.34 Tue Jun 8 16:29:39 PDT 2004
updated rc.bdbaccess v0.06 and rc.dnsbls v0.10 to fix bug for
perl v5.8.3 where unshift does not work properly for default @_
update sc_recoverdb.pl v1.01 to remove environment on an update
0.33 NOT RELEASED
updated SMTPsend.pm v0.03 to properly include To: and From: headers
instead of depending on the MTA to provide them. This is necessary
so that spamassassian does not flag messages as spam. and... I
overlooked it.
updated ScriptSupport.pm v0.22 to check mode, uid, gid of one of
the db files to use for restoring db environment files.
added utility sc_recoverdb.pl + documentation
0.32 Wed May 26 12:21:37 PDT 2004
corrected a code typo in ScriptSupport.pm v0.21 that returned an undef
instead of the value expected -- not noticed because the expected
return was "false"
updated internal call in ParseMessage.pm v0.06 sub _host2ip, to return
255.255.255.255 for hosts where the gethostbyname lookup fails.
This allows this forces all unknown hosts to fail certain test
instead of matching a ''.
0.31 Sat May 22 10:45:37 PDT 2004
updated DNSBLserver and BDBaccess packages to remove
compiler dependent bug when extracting the C version
from the primary *.PM file
0.30 Mon May 10 19:34:54 PDT 2004
update ScriptSupport v0.20 'BLpreen' to check the
age of each tarpit entry and not bother to check
blcontrib entries that are older than 5x the CRON interval
for the BLpreen job. Last preen time is stored in the
mandatory 127.0.0.2 entry in the 'tarpit' database
Add the entry 'FORCE_PREEN' to the sc_BLacklist.conf file
to force the old behavior.
DNSBLserver v0.24, modified rc.dnsbls so that tarpit records
forceably added from the config file (such at 127.0.0.2,
127.0.0.3, etc...) are tested first for existence and NOT
added if they already exist. This preserves the data (time tag)
on these records so that they can be used by other routines --
noteably, 127.0.0.2 which should always be present is used by
sc_BLpreen.pl to determine it's own cron interval
0.29 Sat May 1 15:37:43 PDT 2004
Moved Mail::SpamCannibal::PidUtil to Proc::PidUtil
PidUtil remains but imports all its functions from
the new module
correct documentation error in ScripSupport.pm
correct documentation error in WhoisIP.pm
add favicon.ico update top.incl
add warning popup to cannibal.cgi for
admin login session expiration
altered the comments at the beginning of BDBaccess.pm
v0.15 and DNSBLserver.pm v0.23
0.28 Sat Feb 21 11:42:10 PST 2004
add db write cacheing to BLpreen in ScriptSupport v0.18
to reduce disk thrashing and speed preening process
correct cannibal.cgi v1.18 to display truncated character
after hotlink for IP address in secondary db display
0.27 Mon Feb 9 16:20:27 PST 2004
Re-write 'restart' routines for:
DNSBLserver/rc.dnsbls v0.8
BDBaccess/rc.bdbaccess v0.5
scripts/rc.sc_lbdaemon v1.04
Change wording in cannibal.cgi v1.17 for LOOKUP warning to:
Automated lookups not allowed, click SUBMIT to continue.
Add 'lookup' link to 'Whois' page in
cannibal.cgi v1.16, whois.incl v1.02
Add script sc_country_origin.pl to analyze the number
of IP's from a particular country in the tarpit
0.26 Wed Feb 4 17:36:21 PST 2004
Oops! -- left debug statement
"print STDERR"
in cannibal.cgi -- removed and bumped rev number
commented out SPEWS dnsbl from the
sc_blacklist.config.sample config file
0.25 Fri Jan 30 18:04:25 PST 2004
uploaded defective distribution containing
a typo in ScriptSupport which resulted in no
change from version 0.23
0.24 Fri Jan 30 17:03:37 PST 2004
add in-addr.arpa CNAME -> PTR capability
in the ScriptSupport dns_ptr subroutine
for cannibal.cgi
0.23 Fri Jan 30 13:31:07 PST 2004
update sc_Blacklist.conf.sample to include
completewhois.com
modify cannibal.cgi to not allow automated lookups
of the form http://www.myhost.com/?....
modify cannibal.cgi to pop a window
for IP lookups in the View DB page
0.22 Thu Jan 15 11:18:33 PST 2004
Add domain name lookup to whois cannibal.cgi page
ScriptSupport.pm
add dns_udpsend
add dns_udpresp
0.21 Wed Jan 7 11:52:56 PST 2004
Fixed typo in howitworks.pod 'in-definite-ly', thanks to Graham Barr
gbarr@pobox.com for spotting it.
Added "focus" to web pages for LOOKUP, WHOIS, UPDPASSWD, SPAMADD, BLKADD
Removed easynet.nl from the sample sc_Blacklist.conf file,
they went out of service 12-1-03
Removed dsbl.org from sample sc_Blacklist.conf file, this
was an erroneous entry.
Update sc_Blacklist.conf to track Net::DNSBL::MultiDaemon
0.20 Fri Dec 5 17:12:31 PST 2003
Require version 0.23 if IPTables::IPv4::DBtarpit which has
the workaround in tarpit.c for the memory leak in libnet.
Add 'tests' for NetAddr operation to ScriptSupport, update missing
variable test in ScriptSupport::matchNetAddr
Move NetAddr and config file routines to
Net::DNSBL::Utilities
Add BLOCK, BlockByCountry, and no reverse DNS checking
to ScriptSupport.pm for sc_BLcheck.pl and sc_BLpreen.pl
Update sc_BlackList.conf.sample to support above
0.19 Sat Nov 8 18:45:03 PST 2003
update public_html/cannibal.cgi so that javascript will
insert the IP address into automated attempts for whois
and lookup page request actions.
Add support to Whois and Lookup for country code and flag
display if the optional Geo::xxx modules are installed
0.18 Mon Oct 30 11:21:40 PDT 2003
changed syslog call in rc.sc_dbwatch to match prototype
update spamlst.incl, sc_session.pl, sc_remote.pl, cannibal.cgi
to include admin capability to add CIDR/24 -31 blocks of addresses
update public_html/index.html to behave better with robots
add sort logic to ScriptSupport::BLcheck to check DNSBL's in
the order of max hits to min hits and to optionally save
a statistics file.
update the documentation for ScriptSupport::zone_def to
describe 'timeout'
fix PidUtil to print on STDERR instead of STDOUT and add error
messages if the pid write path is not found or not writable
update DNSBLserver 0.21
correct logic in ns.c to report 127.x.x.x codes in zone transfers.
add logic to main.c and ns.c to append the text of the IP address
to standard TXT responses if the error message is default and
contains the character ? as in http://xxx.com?abc=
0.17 Sat Oct 11 08:28:02 PDT 2003
squash a test bug in DNSBLserver
modifiy sc_session.pl to access database directly for CIDR/24
related IP lookups rather than have cannibal.cgi use BDBclient.
The lookup time for 255 addresses over the remote link was
much too long.
add remote commands to sc_remote.pl to support insEBLK, getC24 delBLK
0.16 Fri Oct 10 13:46:42 PDT 2003
This release contains many bug fixes as well as some new features
in the admin interfac.
The following modules should be updated when installing this
release:
IPTables::IPv4::DBTarpit verion 0.22
Net::DNS::Codes 0.08
Net::DNS::ToolKit 0.14
and the optional
LaBrea::Tarpit version 1.20
---------------------------------------------------------------
add "add CIDR/24 and delete CIDR24" functions to admin tools
corrected bad use of 'clean' function in sc_session.pl
on non-strings such as netaddrs, addresses which end in '0'
like 1.2.3.10 are truncated by 'clean'. This function SHOULD always
be called on real strings or numbers, not string like objects such
as netaddrs.
add -x expires option to sc_cleanup.pl
add dbjob_xxx utilities to ScriptSupport.pm 0.10 for db watcher
add missing PidUtil qw(get_script_name) to sc_mailfilter.pl
update test suites to accomodate libdbtarpit change
add support for DB watcher to all daemons and scripts.
each daemon and script creates a PID file in the db environment
directory and NOW removes the file on clean exit. The watcher script
periodically checks whether the files described by the pid's are
actually running and will signal the remaining jobs to exit,
remove and recreate the environment and restart the jobs.
add administrative screen shots to document package
correct sc_web.conf.example for missing entry to
support admin change password
change nav.incl a href for 'docs' to 'docs/' to
for the web robots. This is comsmetic since the
href is not used anyway, but the robots see it.
in cannibal.cgi, modify 'whois' and 'lookup' to insert the
IP address into the text box when the web interface is used.
Correct typo *gt should be >
update DNSBL list in sc_BlackList.conf
0.15 Tue Sep 30 10:01:08 PDT 2003
modify spam_report.cgi to do a better job of extracting
URL information from the DNSBL TXT records
add onUnLoad function to spam_report.cgi to
close popup window in multi-site environment.
Requires LaBrea::Tarpit::Report v 1.09
0.14 Mon Sep 29 17:18:57 PDT 2003
Changes are to these files ONLY
deleted public/html/whois.cgi
Makefile.PL
public_html/spam_report.cgi.example
(needs LaBrea::Tarpit::Report v 1.08)
(found in LaBrea::Tarpit 1.18)
Makefile.PL
fixed install for $(SPAMCANNIBAL_HOME)/public_html/tmp
to remove directory contents after chowning so that
web daemon does not hang after a re-installation
spam_report.cgi.example
corrected variable name 'usr' should be 'url' in
public_html/spam_report.cgi
correct the name of the 'dbtarpit' daemon displayed
by 'spam_report.cgi'
eliminate 'whois.cgi' as it does not work with MSIE in
the pop-up window. Add workaround in LaBrea::Tarpit::Report
which must be used with this version for all to work well.
0.13 Sat Sep 27 03:57:27 PDT 2003
oops! left SpamCannibal.html out of the doc package
FIRST BETA RELEASE
0.12 Thu Sep 25 17:21:24 PDT 2003
add fixup script to do POD2HTML conversions for versions
of perl newer than 5.6 where this has been removed.
0.11 Wed Sep 24 14:57:49 PDT 2003
modify BDBaccess and DNSBLserver to have 32/64 bit
platform independent code. See Changes in those
subdirectories for additional information on
OS independent modifications. No functional changes.
0.10 Sat Sep 20 12:01:08 PDT 2003
upgrade to DNSBLserver 0.15
0.09 Mon Sep 15 11:50:06 PDT 2003
missing file public_html/whois.cgi
added to archive
0.08 Tue Sep 9 18:00:28 PDT 2003
DNSBLserver version 0.12
improve database use efficiency
DNSBLserver version 0.11
main.c -- modified the child network socket loop to fix a timing
problem when interrogating the dnsbls from the local host via bind.
modify rc.dnsbls so that record 127.0.0.2 is
forceably added without user intervention.
add conditional @fqdn to "to" address in SMTPsend version 0.02
fix LaBreaDaemon.pm to properly open the unix domain interface
to dbtarpit.
set LaBreaDaemon ps-string to script name
add report scripts for site statistics
correct verbose Exceptions reporting for
mailcheck in ScriptSupport.pm
0.07 Sun Sep 7 19:38:28 PDT 2003
ScriptSupport 0.05 -- correct flaw in BLpreen check which did not
remove IP from tarpit when the blacklist host no longer has record.
sc_initdb.pl chown environment directory to
spamcannibal user,group
add UtilPid.pm for checking and managing PID files, etc...
add pid checking to sc_BLcheck.pl and sc_BLpreen.pl
add LaBreaDaemon.pm to support data collection and display
add sc_cleanup.pl to remove spurious records
add pods/recover.pod
updated cannibal.cgi to unmask html in the evidence record
0.06 Wed Sep 3 16:35:13 PDT 2003
update prerequisite list and home page documentation
permissions on sc_web.conf.sample instead of sc_web.conf
dnsbls version 0.10
Add -N option for naming the localhost DNS object
Correct error in mungemacros.c where buffer size constraint
was MSGsize instead of IP_MAXPACKET
Add lookup in the evidence file to ns.c. Evidence must be
consulted before blcontrib to prevent non-reporting of
127.0.0.2 'A' records if they appear in both blcontrib and evidence.
0.05 Fri Aug 29 14:55:27 PDT 2003
updates from first beta install including documentation corrections
modify usage for INADDR_NONE in cannibal.cgi
set submit false for ViewDB in cannibal.cgi to prevent
POSTs to index.html
modify Session.pm to support modperl across 'fork' operation
correct failure to skip tarpit operation for ignored hosts in
sc_BLcheck.pl (ScriptSupport::BLcheck).
set real to effective uid in sc_mailfilter.pl to accomodate
the suid from the local mail delivery agent
correct WebService to properly return query string elements
that contain '='
0.04 Sat Aug 23 12:22:28 PDT 2003
added web support for users and admins
0.03 Sat Aug 2 19:44:13 PDT 2003
updates
0.02 Tue Jul 29 19:29:58 PDT 2003
move GoodPrivacy and ParseMessage
into lib/
add scrpits/sc_initdb.pl
scripts/sc_addspam.pl
config/sc_addspam.conf.sample
0.01 Thu Jul 23 15:13:03 PDT 2003
alpha release