Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-20 | Allocate a bit more memory to reduce the change of having to | Todd C. Miller | |
realloc() which is expensive for large blacklists. | |||
2015-01-19 | Does not need netinet/ip_ipsp.h | Theo de Raadt | |
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2015-01-14 | Replace "errx(1, "malloc failed")" with "err(1, NULL)" to get | Todd C. Miller | |
standard "Cannot allocate memory" message. | |||
2015-01-13 | Fix printing of number of whitelist entries in debug mode. | Todd C. Miller | |
2015-01-13 | Use address-family specific lists of addr/mask entries instead of | Todd C. Miller | |
a union that can store either ipv4 or ipv6. The old method used 4x as much memory as was really needed for ipv4. The spamd-setup protocol has changed from: tag;message;a/m;a/m;a/m...\n to :tag;message;af;count;a/m;a/m;a/m...[af;count;a/m;a/m;a/m]\n OK phessler@ "nice" beck@ | |||
2014-10-09 | obvious reallocarray() conversions | Theo de Raadt | |
2013-09-15 | Some missing .Pa macros in FILES sections; | Ingo Schwarze | |
from Jan Stary <hans at stare dot cz>; discussed with jmc@. | |||
2012-12-04 | remove some unnecessary sys/param.h inclusions | Theo de Raadt | |
2009-09-09 | Change the way memory is allocated to reduce memory footprint. Loading the | Claudio Jeker | |
large uatraps uses now around 8 times less memory. Other cleanup includes a fast implementation of imask() (stolen from bgpd), killing some unused code and try to estimate the memory needed in add_blacklist() to reduce the realloc() calls. Tested by many (sthen, matthieu, Stephan A. Rickauer) OK beck@, sthen@ | |||
2009-06-02 | Protect errno. | Ray Lai | |
OK millert | |||
2009-02-19 | correct description of spamdb-setup blacklist only mode; | Jason McIntyre | |
fixes documentation/6083; original diff and pr from Kami Petersen ok sthen | |||
2008-10-03 | beef up the description of -D a little, and don;t imply the | Jason McIntyre | |
option somehow terrorises spamd-setup; | |||
2008-10-03 | -D before -d; | Jason McIntyre | |
2008-10-03 | New option -D to daemonize spamd-setup for early bootup use. This avoids | Theo de Raadt | |
spamd-setup hanging if there are various (network?) issues and the system not proceeding to multiuser so that this can be debugged. We do not use & for startup in /etc/rc because this makes the spamd-setup a child of the rc scripts after bootup (that is gross) Problem reported in PR 5864, change discussed with beck, ok millert | |||
2007-09-02 | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | Theo de Raadt | |
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-03-08 | update to describe current behaviour; | Jason McIntyre | |
with some help from millert and beck | |||
2007-02-27 | spamd.conf lives in /etc/mail now; | Jason McIntyre | |
2007-02-27 | fix synopsis and order options; | Jason McIntyre | |
2007-02-27 | Flag day for spamd - | Bob Beck | |
1) config files move to /etc/mail 2) -g option goes away in spamd-setup and spamd - greylisting is now the default 3) option change to spamd, -b addr becomes -l addr. 4) -b option in spamd-setup and spamd to turn on old blacklisting mode. Man page shortly to be flensed to make this easier to explain ok deraadt@ millert@ | |||
2007-02-25 | Add usage() and error out if given bogus arguments. | Todd C. Miller | |
2007-02-24 | When greylisting we don't actually need to use the <spamd> pf table. | Todd C. Miller | |
We just do no-rdr for things in <spamd-white> and rdr the rest to spamdb. OK beck@ | |||
2007-02-14 | Fix some realloc() off-by-one errors found by ray@. | Todd C. Miller | |
Also simplify fix_quoted_colons() to avoid realloc entirely since the output buffer is at most 2x the length of the input buffer. Parts adapted from a diff from tdeval@. OK ray@, beck@ | |||
2007-02-09 | Fix off by one in blacklist memory allocation. From tdeval@ | Todd C. Miller | |
2006-05-11 | fix some type definitions | David Hill | |
ok beck | |||
2006-03-26 | Remove an extraneous prototype | Kjell Wooding | |
From Andrey Matveev | |||
2006-03-26 | More KNF. Prodding from ray@ | Kjell Wooding | |
No binary change. | |||
2006-03-26 | Get this closer to KNF (get rid of block-declared vars) | Kjell Wooding | |
ok beck@ | |||
2006-03-26 | KNF. No binary change. | Kjell Wooding | |
2006-01-17 | Include <sys/param.h> to get MAX macro | Todd C. Miller | |
2005-05-24 | Remove -ansi as that means expose only C89 interfaces. | Todd C. Miller | |
2005-03-02 | process the last line of an address list even if it's not terminated | Daniel Hartmeier | |
by newline. found by Rod Whitworth. ok beck@ | |||
2004-09-16 | clean C for a change | Theo de Raadt | |
2004-06-29 | absolutely no need to include machine/endian.h after sys/types.h and ↵ | Michael Shalayeff | |
sys/types.h after sys/param.h | |||
2004-04-28 | fd leaks; beck ok | Theo de Raadt | |
2004-02-26 | paranoia; beck ok | Theo de Raadt | |
2004-01-29 | spamd-setup(8) does not take a file arg; | Jason McIntyre | |
from Okan Demirmen (PR 3657); ok deraadt@ | |||
2004-01-21 | clean from jmc | Theo de Raadt | |
2004-01-21 | New spamd configuration method. Many people have trouble with the spam | Theo de Raadt | |
RBL sites being slow, so now we will provide the maps ourselves through our www mirrors around the world. We can also now write our own internal translators for maps that are in bad formats, and place them into the www space in the correct format. tested by beck, djm | |||
2004-01-21 | cleanup | Theo de Raadt | |
2003-08-22 | pf spelling police | David Krause | |
ok dhartmei@ jmc@ | |||
2003-07-29 | spaces | Theo de Raadt | |
2003-07-06 | bring protos into scope | Theo de Raadt | |
2003-06-11 | ansi cleanup; ok ian markus | Theo de Raadt | |
2003-06-02 | nuke clause 3 & 4 | Jason Wright | |
2003-05-16 | use inet_net_pton, and fix probelem where spamd-setup would crash on a file | Bob Beck | |
consisting only of invalid input | |||
2003-04-28 | return from main | Theo de Raadt | |
2003-04-28 | I hate -Werror | Theo de Raadt | |
2003-03-13 | make spamd-setup/spamd use/require a reserved source port for the | Bob Beck | |
configuration connection. |