summaryrefslogtreecommitdiff
path: root/libexec
AgeCommit message (Collapse)Author
2005-03-23Code reorganization, move copied code in library.c and library_mquery.cDale Rahn
into its own file. no functional change.
2005-03-22fix PR3944 on i386 (ugh), from library.cDale Rahn
-- Fix some problems related to LD_LIBRARY_PATH parsing where it would not correctly deal with current directory searches specified by "::", ":foo" or "foo:" -- ok mickey@
2005-03-15better handling of cases where getnameinfo() returns non-zero.Niall O'Higgins
upon failure, don't try to print the contents of the char buffers we passed it. ok & feedback henning@, moritz@ (thanks!)
2005-03-12asprintf in place of strdup really is kind of lameBob Beck
ok millert@
2005-03-11"Greytrapping" for spamd - allow for spamd greylisting to maintainBob Beck
a list of spamtrap destination addresses in the spamd database. When a spamtrap address gets an attempted greylist delivery, blacklist the offending host for a day. Does not affect hosts already whitelisted. ok deraadt@, jmc@, dhartmei@ to get it in so it can be whacked on
2005-03-10Bind to the correct outgoing interface by using the IP_RECVDSTADDR setsockopt.Claudio Jeker
This is a fix for PR4121. OK henning@ "I'm happy with" otto@
2005-03-08Sweeping the tree for printf(s) where printf("%s",s) should be used.Chad Loder
OK millert
2005-03-08Do not shadow a parameter with a local variable. also add a debug statementDale Rahn
to print dependandant libraries loaded by dlopen ok kurt@
2005-03-07Fix bug not calling callback for the main executable object.Mark Kettenis
ok drahn@, espie@
2005-03-06don't use invokinguser if its emptyBjorn Sandell
sync man page with reality spelling corrected by jmc@, ok beck@
2005-03-05Check snprintf return value for failure. Also fix a dumb error message.Chad Loder
OK otto, henning, hshoexer, krw. Some input from Moritz which I have chosen not to heed because I think the code is easier to read my way.
2005-03-05Check snprintf return value for -1.Chad Loder
OK otto, henning, hshoexer, krw, beck
2005-03-05bit of clean-up, cosmetic, style, comments.Marc Espie
2005-03-04Typos in comments from Niall O'Higgins <niallo at netsoc dot ucd dot ie>Otto Moerbeek
2005-03-02More network randomness. PIDs on my machine are none of anyone else'sChad Loder
business. Submitted by Bruno Rohee. OK cloder@ millert@
2005-03-02process the last line of an address list even if it's not terminatedDaniel Hartmeier
by newline. found by Rod Whitworth. ok beck@
2005-02-26fix {send,recv}data so they don't add -1 to pos in theMoritz Jodeit
EINTR/EAGAIN case as found by otto@. also make them more quiet as requested by deraadt@. ok millert@ otto@ henning@
2005-02-24const correctness, string literals are const char *, no functional changeDaniel Hartmeier
from Joerg Sonnenberger joerg(at)britannica(dot)bec(dot)de
2005-02-22get timezone right before chroot() by calling tzset()Otto Moerbeek
ok henning@
2005-02-17Remove extra return (0); call. otto@, henning@ okAaron Campbell
2005-01-19Fix -S flag for non-root; from Ewen McNeill (closes PR 4066)Todd C. Miller
OK dhartmei@ and hshoexer@
2005-01-19clarification; ok beckTheo de Raadt
2005-01-13handleMarc Espie
.if n .if t sequences (see jadetex.1) okay jmc@
2005-01-09set %dp before any constructors get to run; found and debugged w/ niklas@Michael Shalayeff
2005-01-04add some snprintf sanity checks.Moritz Jodeit
ok millert@, henning@
2005-01-04add some more snprintf sanity checks and fix two previously added checks.Moritz Jodeit
ok millert@, henning@
2004-12-24streamline parser loops, now we've got a simple loop with flags, insteadMarc Espie
of involved loops. Makes it MUCH easier to have uniform treatment of various constructs. okay millert@
2004-12-22some -Wimplicit-function-declaration cleaning; ok millert@David Krause
2004-12-20change mail addressMoritz Jodeit
ok henning@
2004-12-11make syscalls in the monitor restartable when signals occur, as wasMoritz Jodeit
the case before privsep and only wait() for our slave processes. with help from millert@ ok millert@ henning@
2004-12-06seperate reply_r, like earlier change but safer; moritz okTheo de Raadt
2004-12-06make signal blocking a lot easier.Moritz Jodeit
ok millert@, henning@
2004-12-04reply() used to play a lot with stdout, expecially fflush(stdout).Theo de Raadt
The recent change is to avoid stdio. That's good, except there are nearly 130 calls to this function, yet what if one of them depended on fflush() or something else in this code? The semantic change was never checked. That is not how we do development -- back this out until we know that checking work has been done.
2004-12-04fix a signal race which could kill unrelated processes.Moritz Jodeit
signal handler could be interrupted by another instance of itself because it was used for multiple signals and only one signal was blocked. ok beck@ henning@
2004-12-03make reply() reentrant. fixes a signal race.Moritz Jodeit
ok henning@
2004-12-01fix dlsym(RTLD_NEXT,...) when called from the last shared objectKurt Miller
loaded. ok drahn@
2004-11-29fix nasty signal races by blocking signals in signal handlers.Henning Brauer
with moritz jodeit and theo, ok theo
2004-11-28logging fixes:Henning Brauer
-don't prefix ftpd: in syslog(), it does that for us -replace a bad (too late) err() by syslog + exit from moritz
2004-11-28use gettimeofday() instead of time() in functions called from signal ↵Theo de Raadt
handlers; henning ok
2004-11-28slave_pid -1 by default, not 0, and reset to -1 when it goes away, with theoHenning Brauer
2004-11-28bump versionHenning Brauer
2004-11-28remove no longer appropriate bugs sectionHenning Brauer
2004-11-28fix ttyline setting, fixes proctitle.Henning Brauer
notice independently by theo and pval, fix from moritz jodeit
2004-11-28privilege seperate ftpdHenning Brauer
handle the pre-authentication phase (minus a tiny tiny tiny amount of code after accept()) in an unprivileged process, asking the privileged monitor for help where needed. work by Moritz Jodeit <moritz@jodeit.org> with help from theo and me tests theo ian@ matthieu@ ben@networkinsanity.com a.schlichting@lemarit.com
2004-11-24Enable krb5 authentication (from Gabriel Kihlman) and encryptionBjorn Sandell
"go for it" deraadt@
2004-11-22.{N,O}x fixes;Jason McIntyre
2004-11-22More sensible error when both the -n and -A flags are used. Text OK jmc@Todd C. Miller
2004-11-21clarify -A option;Jason McIntyre
from a discussion on misc@
2004-11-19options sort and sync usage();Jason McIntyre
from wiz@netbsd
2004-11-17- \r\n fix for QUIT commandBob Beck
- Implement RSET in spamd - some virus scanning products (notably symantec's viruswall) spew a RSET into the smtp stream before every attempted delivery. (noticed by reitenba@fh-brandenburg.de and some others). This ensures such things can successfully talk to a spamd greylister. ok millert@ henning@