summaryrefslogtreecommitdiff
path: root/libexec/spamlogd
AgeCommit message (Collapse)Author
2007-03-05nuke annoying debug logBob Beck
ok henning@
2007-03-05Make spamlogd log inbound/outbound like it did before.Bob Beck
ok henning@
2007-03-04tweaks;Jason McIntyre
2007-03-04cleanup usageTheo de Raadt
2007-03-04Database synchronizaton for spamd/spamlogdBob Beck
This adds an HMAC protected synchronization protocol for use by spamd and spamlogd. - spamd can receive updates from other hosts for GREY, WHITE, and TRAPPED db entries, and will update the local /var/db/spamd accordingly. - spamd can send updates when it makes changes to the GREY or TRAPPED entries in the db to other hosts running spamd. (Note it does not send WHITE entries because the other spamd will see the GREY changes and have complete information to make appropritate decisions) - spamlogd can send updates for WHITE db entries that it performs on the local db to other hosts running spamd, which will then apply them on remote hosts. note that while this diff provides synchronization for changes made to the spamd db by the daemons, it does *not* provide for sychonizing changes to the spamd db made manually with the spamdb command. Synchronization protocol and most of the work by reyk@, with a bunch of the spamd, and spamlogd stuff by me. testing mostly at the U of A, running happily there under big load. ok reyk@ jmc@
2007-02-27sync slightly w/ spamd(8);Jason McIntyre
2007-01-04 Using DB_BTREE for spamd is wrong, order is never requiredBob Beck
and the rebalancing really slags big databases. Make spamd use DB_HASH instead, and convert if the old type is noticed on startup. Testing by me, djm, ian, others ok deraadt@, millert@, djm@
2006-11-26repair missing DPADD requestsTheo de Raadt
2006-11-04remove misplaced -l stuff; henning needs more caffeine...Jason McIntyre
2006-11-03donot for tcpdump, use libpcap directly.Henning Brauer
joint work with Berk D. Demir, ok beck deraadt
2006-10-26- sort optionsJason McIntyre
- sync usage()
2006-10-25allow spamlogd to use an alternate pflog interfaceHenning Brauer
spamlogd was the #1 reason for me to implement the multiple pflog thing, so now you can finally have a nice seperation between logging and spamlogd tracking smtp connections joint work with djm, ok djm bob and kinda "Berk D. Demir" <bdd@mindcast.org>
2006-10-23no need to use "keep state" and "flags S/SA" in pf rules,Jason McIntyre
now that it is the default; ok henning mcbride camield (ftp-proxy bits) deraadt
2005-05-24Remove -ansi as that means expose only C89 interfaces.Todd C. Miller
2004-09-18fix pr 3914, spamd doesn't log only incoming with -I,Bob Beck
and change to look only at S/SA so people logging all crud don't get slaughtered by entries. again from mike@tric.tomsk.gov.ru ok henning@
2004-09-16remove unused variablesTheo de Raadt
2004-08-10Variable size arrays are not ANSI C. Replace by malloc/free.Otto Moerbeek
ok deraadt@ henning@
2004-07-14- new sentence, new lineJason McIntyre
- .Sx a section reference - punctuation - uppercase smtp - bigger offset for display - clarifying logging - syslog stuff to SEE ALSO
2004-07-14sync usage() w/ SYNOPSIS;Jason McIntyre
from Andrey Matveev;
2004-03-11Remove sync() calls that immediately precede databse close(). SinceTodd C. Miller
close() calls sync() itself the standalone sync() is a no-op. OK beck@
2004-03-10spacesTheo de Raadt
2004-03-07remove some unused variables and includes; KNFOtto Moerbeek
ok beck@
2004-03-01uset inet_pton(3) instead of home grown address validator; some other cleanupOtto Moerbeek
ok beck@
2004-02-28Fix macro definition if pf.conf example. Ok beck@Matthieu Herrb
2004-02-27fix CFLAGS -IDavid Krause
ok deraadt@
2004-02-27make spamlogd watch the destination of outbound smtp connections,Bob Beck
so that replies to mail sent out do not get greylisting delays. ok millert@
2004-02-26paranoia; beck okTheo de Raadt
2004-02-26Add -g option for greylisting support for spamd. The greylisting techinqueBob Beck
originates from a paper by Evan Harris which can be found at http://projects.puremagic.com/greylisting/. This implementation makes spamd allow for non-blacklisted addresses to be treated as "greylisted". where they are tracked in a db file, and whitelisted by addition to a pf table when the same envelope from and to are retried from the same source IP address. Testing by many, ok deraadt@