summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2009-05-05fix a couple of comment typosStuart Henderson
2009-05-05check that an IMSG_CTL_SHOW_RIB_PREFIX request has a validStuart Henderson
address family before passing it to the RDE. ok henning@ claudio@
2009-05-01initialize secret to NULL otherwise we may try to free a junk pointer whenGilles Chehade
F_AUTH is not set. i was going to look into the issue, but i have received a diff from Simon Betrang <janus@errornet.de>, thanks !
2009-04-29de-static some functions. Helps handling the monster change I'm working on.Claudio Jeker
2009-04-29+.Xr ndp 8Jason McIntyre
from Bob Van Zant, freebsd docs/134053
2009-04-28smtp auth happened to work by luck because delivery to mbox action was theGilles Chehade
first action of an enum and we allocated a struct using calloc, but we did not properly initialize the action for authenticated users. while at it, change the name of path action flags so that we know at first sight that they are path related. this diff fixes the immediate issue but still needs work. ok jacekm@, "we'll work out a long term solution"
2009-04-28fix a bug where client with unresolvable revdns is never greeted; ok gilles@Jacek Masiulaniec
2009-04-28don't use strlcpy before calling a function that uses strlcpyJacek Masiulaniec
internally anyway; ok gilles@
2009-04-28in mta, change the batch status to S_BATCH_TEMPFAILURE by default so thatGilles Chehade
we need to explicitely set success and permanent failures, this way if we hit any condition that we don't explicitely flag as permanent failure the delivery will be rescheduled later. while at it, made various checks more strict to prevent hiding bugs and a bit of knr cleanups discussed with and "reads good" jacekm@
2009-04-28make S_DATAREQUEST state similar to S_{MAIL,RCPT}REQUEST; ok gilles@Jacek Masiulaniec
2009-04-28let mta, mda, and mfa become idle - no functional change; ok gilles@Jacek Masiulaniec
2009-04-28Add the possibility to go back from merging mode to the previous menu.Antoine Jacoutot
Move unset NO_INSTALLED where it belongs, at the start of the function. Several minor cleanups. from Alexander Hall ok sthen@
2009-04-27kill 2-line session_msg_submit, used just once; ok gilles@ long ago.Jacek Masiulaniec
2009-04-27fix unlikely fd leak; ok gilles@Jacek Masiulaniec
2009-04-27session_cleanup call in MAIL FROM handler may be removed as aJacek Masiulaniec
consequence of rev. 1.70. This makes session_destroy the only caller so merge the two; ok gilles@
2009-04-27check message_id received from smtp uses valid format.Jacek Masiulaniec
2009-04-27Disable EV_READ when setting F_QUIT flag up. Malicious client mayJacek Masiulaniec
send more commands after QUIT, these must not be processed; ok gilles@
2009-04-26sync with changes in relayd, diff by reyk@ and okayd by meGilles Chehade
2009-04-26Unused defines from a time long long ago.Claudio Jeker
2009-04-26typos fixedTobias Stoeckmann
ok jmc
2009-04-26comment typos; no binary changeStuart Henderson
2009-04-24oopsMarc Espie
2009-04-24in session_pickup, do not handle S_RCPT state, it must never beJacek Masiulaniec
called in this state; ok gilles@
2009-04-24Allow UDP and/or TCP redirections instead of just TCP.Reyk Floeter
Thanks to Marek Grzybowski for feedback and testing. ok jmc@ (manpage bits)
2009-04-24don't truncate http headers when no separator is given between key andPierre-Yves Ritschard
value. ok & ``makes sense'' reyk@
2009-04-24Make aliases case-insensitive, issue reported by Daniel Ouelett; ok gilles@Jacek Masiulaniec
2009-04-24Enclose common imsg handling code in a function, which additionallyJacek Masiulaniec
does some sanity checking. Fix a bug that could lead to fatal under rare circumstances, exposed by this newly added check; ok gilles@
2009-04-24use same timeout at each session state, and make use ofJacek Masiulaniec
bufferevent_settimeout instead of rolling our own; ok gilles@
2009-04-24kill unnecessary struct message_recipient; ok gilles@Jacek Masiulaniec
2009-04-23Rework the way we handle announced networks. Instead of two freak rde_peersClaudio Jeker
use one that is less freaky. Merge bgpctl and config networks into one tree. First step of a larger change in the RDE and this goes now in to allow to move forward.
2009-04-23allow bgpctl and bgpd.conf to contain 32-bit ASN written in ASPLAINStuart Henderson
format (RFC5396). ok claudio@ henning@
2009-04-23sort "show stats" outputJacek Masiulaniec
2009-04-22fix creating packages with long names in plist; from espie@Christian Weisgerber
2009-04-22ignore replies with timestamps after 2030 to prevent time_t / tv_sec wrapsHenning Brauer
input & ok theo
2009-04-21small corrections to log_warns and fatalsJacek Masiulaniec
2009-04-21Make /usr/sbin/sendmail not fail due to smtpd being down.Jacek Masiulaniec
The approach is to save cmdline + stdin in a file under a newly added directory /var/spool/smtpd/offline (uid 0 gid 0 mode 1777). Next time daemon starts, it uses information in that directory to replay sendmail on user's behalf. ok gilles@
2009-04-21instead of calling getpid() all over the place do it once, claudio okHenning Brauer
2009-04-21correct some fatal(x) calls and error stringsEric Faurot
ok gilles@ jacekm@
2009-04-21ignore pfkey replies not for us and discard themHenning Brauer
From: Matthew Dempsky <matthew@dempsky.org> markus and hshoexer and claudio agree
2009-04-20Allow MAIL FROM only in the S_HELO state, which results in behaviourJacek Masiulaniec
dictated by rfc in "4.1.4 Order of commands". pointed out and initial diff by pea@, ok gilles@
2009-04-20fix previous, evtimer_set should be called only once, in session_init.Jacek Masiulaniec
2009-04-20Rewrite smtp session timeouts; use evtimer_* from event(3) insteadJacek Masiulaniec
of regularly walking session tree in search of idle clients. Gives the smtp process a chance to become idle. As a bonus, add smtp.sessions.timeout counter to "smtpctl show stats". ok gilles@
2009-04-20restore tagged user packages to functionality (for now)Marc Espie
2009-04-19Correct function name in log_warnx().Claudio Jeker
2009-04-19remove class FatPackageLocation. Instead make PackageLocation a hierarchyMarc Espie
so that I can handle installed packages without playing ping-pong with the PackageRepository hierarchy (mostly)
2009-04-19synch with my new style search/location changesMarc Espie
It's likely there will be some fallout, but it's getting a bit too large to keep around. This does kill a few very old oddities as well.
2009-04-19Wrap the EV_READ+EVLOCKED dance in one well documented function.Jacek Masiulaniec
Additionally, check that EVLOCKED is not already set, which would indicate an attempt to send IMSG w/o waiting for reply for some other IMSG sent earlier. ok gilles@
2009-04-19error checking for readdir(2); ok gilles@Jacek Masiulaniec
2009-04-19update protocols for s_client;s -starttls; from bradJason McIntyre
2009-04-18correct function name in fatalJacek Masiulaniec