summaryrefslogtreecommitdiff
path: root/libexec
AgeCommit message (Collapse)Author
2007-11-03PR 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-26From Tamas TEVESZ:Ray Lai
- Use strcspn to strip \r and \n. OK chl.
2007-09-26From Tamas TEVESZ:Ray Lai
- atoi -> strtonum with proper bounds check - Use vfprintf and vsyslog in the appropriate places. OK millert.
2007-09-25- sort options and sync usage()Jason McIntyre
- kill some .Tn whilst here
2007-09-25more accurate description of -U; from Tamas TEVESZJason McIntyre
ok millert
2007-09-25better wording; from Tamas TEVESZJason McIntyre
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-08-26Fix some error messages and comments, from Brad.Ray Lai
OK otto.
2007-08-22err msg looks better with a \nMarc Espie
2007-08-16- Don't fill spamd debug with bogus config errors if there are noRay 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-11tweak previous:Jason McIntyre
- this document talks about "default mode", not "greylisting mode" - kill trailing whitespace
2007-08-11Add note to the effect that the spamd pf table is noJonathan Gray
longer used in greylisting mode. ok ckuethe@
2007-08-08on NOPIC architectures, do not build and install ld.so. this is inTheo de Raadt
particular for landisk (sh) where ld.so does not yet 100% work, but was still being installed. libtool cares. modified from matthieu patch; ok drahn
2007-07-31From Gilles Chehade:Ray Lai
- Use strtonum instead of atoi. - Improve strtol error checking. - Change strchr calls to strcspn and eliminating some unused variables as a result. OK moritz
2007-07-27Fix potential memory leak, when snprintf(3) returns an empty buffer.Moritz Jodeit
OK ray@
2007-07-26Remove the space after "Password:" in password prompts where echo isTodd C. Miller
turned off. This is consistent with historic UNIX behavior.
2007-07-07document maximum values for -S and -s;Jason McIntyre
from Saint Aardvark the Carpeted, documentation/5535;
2007-06-28Add a SIGCHLD handler for background mode instead of doing waitpid()Todd C. Miller
at a single point in the event loop (which would always leave a single zombie around after the first connection). Also use daemon() instead of doing it by hand. OK deraadt@ beck@
2007-06-25s/is is/it is/. From Jim Razmus, jim (at) bonetruck (dot) org; thanks.Tom Cosgrove
2007-06-23default rule.flags and rule.flagset to 0 instead of nulljoshua stein
from max laier
2007-06-21Adjust spacing, combine malloc + strlcpy + strlcat into a singleRay Lai
asprintf call. OK moritz
2007-06-19Make sure perror_reply() is only called when errno is set. WhenRay Lai
changing perror_reply() -> reply(), increase error message detail for ftp client. Move free() statement to prevent errno clobbering. OK moritz
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-29based on a diff from Matt Provost: allow printing of ldd informationJason Wright
on libraries themselves. Works by setting up the debugging flags then calling dlopen() to do the heavy lifting. ok drahn
2007-05-27document differences between LD_TRACE_LOADED_OBJECTS_FMT1 andJason McIntyre
LD_TRACE_LOADED_OBJECTS_FMT2; based on a diff from Michel Lavondes; help/ok drahn
2007-05-26remove a redundant paragraph; ok beckJason McIntyre
also, this section is blacklist-only, so tweak .Sh
2007-05-25"interupt" -> "interrupt" in various comments. Mostly from Diego Casati.Kenneth R Westerback
2007-05-19spamd-setup needs -b for blacklist-only mode; from Nick TempletonJason McIntyre
2007-05-18prettier MakefilesTheo de Raadt
2007-05-05Provide hook so that rthreads can provide a spinlock to protect from racesDale Rahn
in lazy binding. ok art@, kurt@
2007-04-13fix helo to error out if no domain is providedBob Beck
ok millert@
2007-04-13rename h_name to sh_name. hname gets redefined in netdb.h to a zeroOtto Moerbeek
sized array, so memory corruption occurs when writing the field. problem encountered by Jeremy C. Reed. ok reyk@
2007-04-05Remove lint comment, which does not apply anymore.Moritz Jodeit
2007-04-04only do the SO_REUSEADDR/SO_REUSEPORT if we are going to bind; pointed out ↵Theo de Raadt
by millert
2007-04-04properly escape "%O"; ok jasonJason McIntyre
2007-04-03s/library/object for the format string stuffJason Wright
2007-04-03add support for LD_TRACE_LOADED_OBJECTS_{FMT1/FMT2/PROGNAME}. FunctionalityJason Wright
matches and expands on the old a.out ld.so formatting. ok drahn
2007-04-02be more forgiving about tftp requests that come from the 255.255.255.255,Theo de Raadt
as is of particular concern with the sun v215; tested by kettenis, no regressions spotted by pyr
2007-04-02Since the kernel allows argv[0] == NULL, dont core in ld.soDale Rahn
diff from Matthew Dempsky, with reminder from theo.
2007-03-29I relinquish any copyright claim I have on this fileKjell Wooding
2007-03-26Do not log when the slave gets killed because of read()Moritz Jodeit
returning 0. This is normal behavior and should not spam the logs. Noticed by henning@ OK henning@ millert@
2007-03-26kill trailing whitespace...shame on me if i sent bob a diff w/Jason McIntyre
whitespace at eol
2007-03-26use new license. ok kjell@, who also wanted his name removed, but he needsBob Beck
to remember how to commit to do that.
2007-03-26use new license, ok deraadt@Bob Beck
2007-03-26use new license.Bob Beck
2007-03-26Copyright - I should share the blame.Bob Beck
2007-03-26A couple of spamd improvementsBob Beck
1) Implement the NOOP command, which now seems necessary for certain windows mail wrappers and sender verification schemes. Tested by me and sidcarter@symonds.net, who noticed the problem on his site. ok millert@ 2) Change the behaviour of the maxblack parameter, instead of hanging up immediately on new blacklisted connections when the maxblack parameter is reached, we instead make spamd not stutter at them, so the connection is instead completed quickly. This seems to handle peaks and spikes much better than the old way of doing this. ok deraadt@, with some man page changes by jmc@
2007-03-22Do not advertise version in the ftp banner, because there is no reason to.Chad Loder
OK mbalmer@, xsa@, henning@, idea prompted by deraadt
2007-03-21remove extra *p tests, from charles longeauTed Unangst
ok deraadt millert
2007-03-18Be sure to exit if the db_open of the second db for conversion fails.Bob Beck