Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-03-26 | strdup() returns NULL if out of memory, we should check it. | Gleydson Soares | |
OK beck@ | |||
2013-11-27 | unsigned char for ctype | Theo de Raadt | |
ok okan kettenis | |||
2013-11-19 | add a bunch of missing prototypes | Theo de Raadt | |
ok beck phessler | |||
2013-11-19 | repair format strings for time_t, and some missing protos | Theo de Raadt | |
ok beck phessler | |||
2013-11-19 | the time being handled here is strictly unsigned 32 bit | Theo de Raadt | |
ok beck phessler | |||
2013-08-21 | Remove the use of time_t in the greylist db file and use int64_t instead | Todd C. Miller | |
with backwards compatibility for records with 32-bit times. OK deraadt@ beck@ | |||
2012-12-04 | rather than a mishmash of headers, this only needs <stdint.h> | Theo de Raadt | |
with guenther | |||
2012-10-02 | while it's of little harm, it's also been 5.5 years (and 8 releases), | Okan Demirmen | |
remove the db conversion from BTREE to HASH. ok beck@ | |||
2012-09-27 | remove some history details which have been around for long enough | Jason McIntyre | |
to no longer be relevant; ok beck | |||
2012-06-19 | use warn() instead of perror(), like the rest of the code does | Theo de Raadt | |
from Liam J. Foy | |||
2012-04-19 | rate-limit accept(); small tweaks and such along the way from gilles, | Theo de Raadt | |
millert, camield.. | |||
2012-04-18 | merge some whitespace changes before bigger changes | Theo de Raadt | |
2012-04-13 | Don't assume that the new conffd is a unset in the fd_set, it could be a | Theo de Raadt | |
recyle of a fd which is still set. ok claudio | |||
2011-03-19 | fix rdr-to example (requires direction); from James Turner | Okan Demirmen | |
ok jmc@ | |||
2011-03-03 | repair arguments passed to pfctl; PR 6142, ok beck | Theo de Raadt | |
2010-10-06 | do not pass GREY entries to pf's spamd-white table if already TRAPPED. | Stephan A. Rickauer | |
Fixes pr/6467. (from boudewijn at indes dot com) - ok beck@ | |||
2010-01-14 | drop connections to confused clients who do repeated command failures - | Bob Beck | |
typically when a client just flings commands at us without looking for responses and then gets confused. ok jsing@ | |||
2010-01-11 | KNF | Bob Beck | |
2010-01-11 | KNF | Bob Beck | |
2009-11-12 | malloc() after line length check, to avoid memory leak; ok tedu | Theo de Raadt | |
2009-09-17 | merge/update the spamlogd rules into spamd - there were some subtle | Jason McIntyre | |
problems because of the recent pf nat changes that caused problems; i've fleshed out the example in spamd and just added a pointer to it from spamlogd; ok beck | |||
2009-09-07 | the example pf rules should be "pass in", not just "pass"; ok henning | Jason McIntyre | |
2009-09-01 | match samples here with pf.conf(5) sample ruleset following recent pf changes | Todd T. Fries | |
ok henning@ | |||
2009-05-20 | Do not fall back to using nobody if _user is missing, but | Thordur I. Bjornsson | |
error out. Add a new user _rwalld for rpc.rwalld, and use that instead of nobody, also unconditionally drop to _rwalld not only if rpc.rwalld was started with euid 0 (as root). ok deraadt@ | |||
2009-04-20 | tweak previous; | Jason McIntyre | |
2009-04-20 | PR 6090 - from Olli Hauer <ohauer@gmx.de> | Bob Beck | |
A number of small improvements: - patch for empty lines and comments in alloweddomains_file - remove some whitespaces at end of line. - document comment and empty line handling - Remove unused parameter 'r' from getopt in spamd.c, it is removed in the 'switch statement' but not in getopt. http://www.openbsd.org/cgi-bin/cvsweb/src/libexec/spamd/spamd.c.diff?r1=1.94;r2=1.95;f=h - replace atoi with strtonum - make debug output more usefull, display only what will be synced and not a second message which prints always "sync trapped %s" - some cosemtic and whitespace fixes. | |||
2009-02-25 | fix slow memory leak, spotted by Max Laier and Artis Caune | Bob Beck | |
ok deraadt@, oga@, otto@ | |||
2009-02-17 | clarification for the MX stuff; requested by Stephan A. Rickauer | Jason McIntyre | |
ok beck | |||
2008-12-07 | time_t is signed, so use INT_MAX rather than UINT_MAX when parsing a time_t | Chad Loder | |
with strtonum | |||
2008-09-20 | document spamd log entry format; requested by Stephan A. Rickauer | Jason McIntyre | |
ok beck | |||
2008-08-26 | Fix an if (); typo. ok beck@ | Jonathan Gray | |
2008-08-11 | some documentation updates for spamd synchronisation: | Jason McIntyre | |
- whitelisted entries are not synced - entries added manually (using spamdb) are not synced suggested by Stephan A. Rickauer; ok reyk | |||
2008-07-11 | shut off an annoying gcc warning. | Reyk Floeter | |
ok beck@ | |||
2008-07-11 | write a syslog debug message when a new GREY or TRAPPED entry is added | Reyk Floeter | |
to the database. ok beck@ | |||
2008-07-11 | greyreader() shouldn't return, so tell us if it does | Peter Hessler | |
ok beck@, reyk@ | |||
2008-05-22 | version 2 of spamd sync protocol for two reasons: | Theo de Raadt | |
1) ip addresses were accidentally being sent in host-byte order, which caused compatibility problems (spotted by jbg) 2) the sub-headers in the frame were not natively aligned, thus timeout values were incorrectly sent by 64-bit machines ok beck | |||
2008-05-09 | As was done in dhcpd, insert pad blocks after sub-messages to keep the | Theo de Raadt | |
structures aligned to 16 byte boundaries for maximum portability (somewhat similar to CMSG's). Old spamd's and new spamd's can still communicate with this change. It would be nice if someone tested spamd on 64-bit unaligned architectures (with and without this change) ok beck | |||
2008-05-07 | check if the received buffer of a sync element is even big enough to | Reyk Floeter | |
hold the header with length field. ok deraadt@ beck@ | |||
2008-03-28 | typo, ok beck@ | Alexander von Gernler | |
2008-01-08 | simplify the suggested pf ruleset; ok beck | Jason McIntyre | |
2007-12-27 | Add a missing length check of received spamd sync packet headers. | Reyk Floeter | |
From Diego Giagio (dgiagio at gmail) with input from tedu@ | |||
2007-11-03 | PR 5621 - spamd doesn't clear the last entry from an empty TRAP list, | Bob Beck | |
noticed and patch from Piotr Sikora <piotr@sikora.nu> | |||
2007-09-02 | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | Theo de Raadt | |
2007-08-16 | - Don't fill spamd debug with bogus config errors if there are no | Ray Lai | |
traps. - Change count to size_t to avoid a size_t -> int conversion. - Since configure_spamd always returns 0, change to void. - Since configure_spamd now returns void, remove unreachable logging statement. OK ckuethe and deraadt, initial diff from fgsch@ and OKed by beck. | |||
2007-08-11 | tweak previous: | Jason McIntyre | |
- this document talks about "default mode", not "greylisting mode" - kill trailing whitespace | |||
2007-08-11 | Add note to the effect that the spamd pf table is no | Jonathan Gray | |
longer used in greylisting mode. ok ckuethe@ | |||
2007-07-07 | document maximum values for -S and -s; | Jason McIntyre | |
from Saint Aardvark the Carpeted, documentation/5535; | |||
2007-06-25 | s/is is/it is/. From Jim Razmus, jim (at) bonetruck (dot) org; thanks. | Tom Cosgrove | |
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-26 | remove a redundant paragraph; ok beck | Jason McIntyre | |
also, this section is blacklist-only, so tweak .Sh |