summaryrefslogtreecommitdiff
path: root/libexec
AgeCommit message (Collapse)Author
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@
2004-11-17remove NI_WITHSCOPEID (which is not standard)Jun-ichiro itojun Hagino
2004-11-10use ${STATIC} rather than -static. ok miodDale Rahn
2004-11-09Avoid use after free(), slight optimization. From Patrick Latifi.Otto Moerbeek
ok tom@ deraadt@
2004-11-04some delint, grudging ok from otto, because it is messy stuffTheo de Raadt
2004-10-17Fix some problems related to LD_LIBRARY_PATH parsing where it would notDale Rahn
correctly deal with current directory searches specified by "::", ":foo" or "foo:"
2004-10-14Add dl_iterate_phdr() support.Mark Kettenis
ok drahn@, millert@
2004-10-05Change the default passtime to 25 minutes,Bob Beck
MTA's with a quadratic retry schedule have a retry after 26 minutes, and then again after an hour, so this probably makes a lot more sense than the old 30 minute default. ok henning@
2004-10-05change default to 451 for greylisting, thanks to a number ofBob Beck
people on misc, and some observations by Evan harris on the greylisting mailing list that a number of clustered mailers like aol behave better (and retry from the same IP) when they see a 451, but do not when they see a 450 (traditionally used for mailbox lock failure) 450 was the original for spamd, as the default for the tarpit is to encourage quick retries to punish blacklisted smtp servers more. This got carried over to the greylisting implementation, and isnt' really optimal for that case. ok millert@, henning@, todd@
2004-10-01Fix GOT reloc which had flaws in reloc processing.Per Fogelstrom
Big thanks to Mark Kettenis for finding the problem!