summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/mta_session.c
AgeCommit message (Expand)Author
2018-07-25Implement a generic interface to forward resolver queries to the lkaEric Faurot
2018-07-25qmail advertizes a size of 0 as "no limit on data", fix SIZE handling inGilles Chehade
2018-07-08remove 'event=' from logs it doesn't carry any informationGilles Chehade
2018-06-07use RELAY_* flags where appropriateEric Faurot
2018-06-04honor SIZE extension when advertised by peerGilles Chehade
2018-06-01when peer advertises SIZE, keep track of it in the sessionGilles Chehade
2018-05-31remove 'where' parameter from all x*() functions in utils.c, it doesn'tGilles Chehade
2017-05-24Fix a possible fatal() when smtpd is configured to *force* relaying overGilles Chehade
2017-05-17Introduce more use of freezero(). Also, remove ptr conditionals beforeTheo de Raadt
2016-11-30hide internal io flags and rename IO_PAUSE_{IN,OUT} to IO_{IN,OUT}Eric Faurot
2016-11-30make struct io opaque:Eric Faurot
2016-11-25use a specific event to defer the mta connection instead of abusingEric Faurot
2016-11-24add an io_fileno() accessorEric Faurot
2016-11-24add an io_ssl() accessorEric Faurot
2016-11-24add an io_error() accessor to avoid dereferencing the io struct directly.Eric Faurot
2016-11-24reset the io event when data is queued.Eric Faurot
2016-11-22Normalize the io input buffer internally when reinstalling the io event, soEric Faurot
2016-11-21replace calls to iobuf_*() functions with the corresponding io_*() wrappers.Eric Faurot
2016-11-20add dedicated functions to set fd and callback on a struct io.Eric Faurot
2016-11-18fix regression introduced in previous commitEric Faurot
2016-11-17remove IO_TLSVERIFIED which is not a io event, and inline necessary codeEric Faurot
2016-11-16pass the user pointer as parameter to the io callback instead of havingEric Faurot
2016-05-22start work on improving the log format, this is work in progress but it'llGilles Chehade
2015-12-12remove CA from pki and no longer allow specifying a CA with 'pki' keyword.Gilles Chehade
2015-12-12allow overriding the default cipher-suiteGilles Chehade
2015-12-12change variable nameGilles Chehade
2015-12-12when a specific CA was not requested, pass hint to lka that fallback to aGilles Chehade
2015-12-11rename field member + whitespacesGilles Chehade
2015-12-05Remove a few NULL-checks before free().mmcc
2015-12-01when peer outputs a multi-line response, concat response into a single logGilles Chehade
2015-11-30mechanical rename of some IMSG constantsGilles Chehade
2015-10-14whitespacesGilles Chehade
2015-10-09Convert fgetln(3) to getline(3).Sunil Nimmagadda
2015-10-02detect that a certificate chain will not fit in imsg calls before passingGilles Chehade
2015-01-20use <limits.h> comprehensively. For now try to push <> includes toTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-12-24Correctly fallback to PLAIN if opportunistics TLS fails during TLS handshake.Eric Faurot
2014-07-04It makes much more sense to do the loop checking on incoming mails ratherEric Faurot
2014-07-04always attempt to use tls for relaying to the primary server whenEric Faurot
2014-05-20format string cleanup: change "%i" to "%d" and fix a few typosEric Faurot
2014-05-12fix a possible double free when tls is required but not advertised byEric Faurot
2014-04-30when doing opportunistic TLS, do not only downgrade during negotiation, butGilles Chehade
2014-04-29Implement RSA privilege separation for OpenSMTPD, based on my previousReyk Floeter
2014-04-29when a session fails due to a TLS error in a smtp+tls:// connection, tryGilles Chehade
2014-04-29use explicit_bzero() instead of memset() to clear out sensitive data.Reyk Floeter
2014-04-19(void) cast snprintf() and strlcat() calls that cannot truncateGilles Chehade
2014-04-08zero-fill static buffer before use in DSN codeGilles Chehade
2014-04-04Merge the mda, mta and smtp processes into a single unprivilegedEric Faurot
2014-03-02if peer advertises DSN and we don't want to use it, make sure we don't sendGilles Chehade
2014-02-25if a specific pattern of failures/success happen, we can end up notGilles Chehade