summaryrefslogtreecommitdiff
path: root/libexec
AgeCommit message (Collapse)Author
2009-09-17merge/update the spamlogd rules into spamd - there were some subtleJason 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-09Change the way memory is allocated to reduce memory footprint. Loading theClaudio 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-09-07the example pf rules should be "pass in", not just "pass"; ok henningJason McIntyre
2009-09-01match samples here with pf.conf(5) sample ruleset following recent pf changesTodd T. Fries
ok henning@
2009-09-01Adjust example pf rules to take nat-to/rdr-to into account.Stuart Henderson
2009-09-01adapt to new pf, ok henning@Stuart Henderson
2009-08-19In ldconfig the dewey field of shlib_list was only partially filledAlexander Bluhm
as bcopy used the number of elements instead of the array's size. As a consequence, the wrong version of a library could be selected if the library had many minor numbers. from Christian Rusch; ok otto@
2009-08-16Do not have multiple va_end(). Ok miod@ + many more.Anders Magnusson
2009-07-30Remove unused add_nat() function, ok jcs@Stuart Henderson
2009-07-02add a missing full stop; noticed by frantisek holop <minusf at obiit dot org>Ingo Schwarze
while here, add a missing comma and a missing word, too; ok jmc@
2009-06-04...and now try again with a commit from the right tree. doh!Stuart Henderson
ftp uses its own ugly "sockunion" to hold addresses, but with CMD_BIND the monitor treats it as if it were a sockaddr. this is fine for v4 but fails for v6, so active connections break. problem reported and diff tested by Maurice Janssen. looks sensible to deraadt@.
2009-06-04ftp uses its own ugly "sockunion" to hold addresses, but with CMD_BINDStuart Henderson
the monitor treats it as if it were a sockaddr. this is fine for v4 but fails for v6, so active connections break. problem reported and diff tested by Maurice Janssen. looks sensible to deraadt@.
2009-06-02Protect errno.Ray Lai
OK millert
2009-06-02comment spelling fix: ARSGUSED -> ARGSUSEDjmeltzer
2009-05-30Airplane work, undefined weak variables not getting resolved is not an error.Dale Rahn
Delete an unused manpage, remove some unused variables.
2009-05-20Do not fall back to using nobody if _user is missing, butThordur 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-05-18Add buffer mechanism internal ld.so printing code. makes ktrace more readable.Dale Rahn
nudge nudge deraadt@
2009-05-18make _dl_wrstderr() not call write per-character; ok drahnTheo de Raadt
2009-04-20tweak previous;Jason McIntyre
2009-04-20When receiving a new connection, log the remote IP numberIngo Schwarze
in addition to the remote hostname. Feature requested by Mark Bucciarelli mkbucc at gmail dot com on misc@. "seems OK" millert@
2009-04-20PR 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-03-02ldd(1) accepts more than one program as argument; while here,Igor Sobrado
synchronize synopsis and usage.
2009-02-25fix slow memory leak, spotted by Max Laier and Artis CauneBob Beck
ok deraadt@, oga@, otto@
2009-02-19correct description of spamdb-setup blacklist only mode;Jason McIntyre
fixes documentation/6083; original diff and pr from Kami Petersen ok sthen
2009-02-17clarification for the MX stuff; requested by Stephan A. RickauerJason McIntyre
ok beck
2009-02-16Fix passing of ps_strings, cleanup and obj_main values to _start() in crt0.Kurt Miller
looks correct kettenis@
2009-02-04Tag ld.so as an OpenBSD binary/library.Mark Kettenis
ok kurt@, drahn@, miod@
2009-01-19replace standardized text concerning the exit values of applicationsIgor Sobrado
with the right mdoc macros.
2009-01-14context could be used after being freed by krb5_free_context; ok millert@Jacek Masiulaniec
2008-12-07time_t is signed, so use INT_MAX rather than UINT_MAX when parsing a time_tChad Loder
with strtonum
2008-11-14LOG_INFO is a level not a facility; input and ok jmc@Kevin Steves
2008-11-09typo fixed (overriden -> overridden)Tobias Stoeckmann
ok espie, jmc
2008-10-22Mention that "secure" on the console entry means, thatMarco Pfatschbacher
no password will be needed for single-user. It's already noted in init(8), but having it here to cannot hurt. s/login/log in/ + corrections from jmc. OK jmc@
2008-10-22man page for Makefile.yp, and associated bits; from Ingo SchwarzeJason McIntyre
ok deraadt
2008-10-16sub-system -> subsystem, for consistency withour other pages;Jason McIntyre
2008-10-03beef up the description of -D a little, and don;t imply theJason McIntyre
option somehow terrorises spamd-setup;
2008-10-03-D before -d;Jason McIntyre
2008-10-03New option -D to daemonize spamd-setup for early bootup use. This avoidsTheo 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
2008-10-02Fix mmap() error checking to be correct 64-bit addresses. ConsistentlyKurt Miller
use _dl_mmap_error() to check for mmap() errors. Adjust datatypes of some local vars for 64-bit safety. okay millert@ drahn@
2008-10-01Mention how lockspool is expected to be used.Todd C. Miller
2008-10-01Use poll() to determine when stdin is readable and throw away inputTodd C. Miller
until we hit EOF. OK deraadt@
2008-10-01Use the real uid instead of getlogin() to determine the identityTodd C. Miller
of the invoking user. OK deraadt@
2008-09-30Always say "User %s access denied", in all cases, to avoid some stupidTheo de Raadt
spinny things which parse those messages. Do not close the connection as requested by Josh Grosse, since a 530 is not supposed to do that. ok millert
2008-09-20document spamd log entry format; requested by Stephan A. RickauerJason McIntyre
ok beck
2008-09-13Fix minor bug in the previous commit, which could hang theMoritz Jodeit
current session, when the last character of an overly long line was a newline character. Additionally reply with 500 "Command too long" for commands, which are too large. Issue found and proposed fix by Luke Mewburn <lukem@NetBSD.org>. ok millert@
2008-09-12Don't split large commands into multiple commands on a 512-byteMoritz Jodeit
boundary but just fail on them. This prevents CSRF-like attacks, when a web browser is used to access an ftp server. Reported by Maksymilian Arciemowicz <cxib@securityreason.com>. ok millert@ martynas@
2008-09-01Install files in the correct directory even with NOMAN set.Dale Rahn
Theo made a number of suggestions/enhancements to get to this final version.
2008-08-26Fix an if (); typo. ok beck@Jonathan Gray
2008-08-24prepends, not overrides default search path. with/ok kurt@Martynas Venckus
2008-08-11some 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