From 61c3e6d9a03fd4e5f77251e4d57c31251585a46e Mon Sep 17 00:00:00 2001 From: beck <> Date: Sun, 4 Mar 2007 03:19:41 +0000 Subject: [PATCH] Database synchronizaton for spamd/spamlogd 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@ --- src/etc/services | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/etc/services b/src/etc/services index 6f3eff49..f5335bee 100644 --- a/src/etc/services +++ b/src/etc/services @@ -1,4 +1,4 @@ -# $OpenBSD: services,v 1.64 2006/05/30 19:25:41 deraadt Exp $ +# $OpenBSD: services,v 1.65 2007/03/04 03:19:41 beck Exp $ # # Network services, Internet style # @@ -273,6 +273,7 @@ postgresql 5432/tcp # PostgreSQL canna 5680/tcp # Kana->Kanji server icb 7326/tcp # Internet Citizen's Band spamd 8025/tcp # spamd(8) +spamd-sync 8025/udp # spamd(8) synchronization spamd-cfg 8026/tcp # spamd(8) configuration hunt 26740/udp # hunt(6) #