summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtp_session.c
AgeCommit message (Expand)Author
2022-10-20Display the correct recipient in a Received: header with one recipient.Todd C. Miller
2021-07-01remove useless and confusing log message when client has no certificateEric Faurot
2021-06-14add required headers for smtpd.h and remove unnecessary ones in other files.Eric Faurot
2021-05-20Call tls_accept_socket() and tls_connect_socket() immediatly instead ofEric Faurot
2021-03-05Start porting smtpd to libtls.Eric Faurot
2020-12-21Use NI_NUMERICSERV. We don't use the result and it's faster and is aMartijn van Duren
2020-11-20partially revert revision 1.423 which went a bit too farJoerg Jung
2020-04-24strip trailing CRs at smtp level rather than io levelEric Faurot
2020-03-15Add missing casts to unsigned char when using ctype(3).Todd C. Miller
2020-02-03ORCPT addresses are prefixed with an address type, the stricter check causeGilles Chehade
2020-02-01be much stricter about ORCPT, it isn't in the code path of local deliveryGilles Chehade
2020-01-28Fix a security vulnerability discovered by Qualys which can lead to aGilles Chehade
2020-01-08reorder reporting events so they are triggered _after_ protocol-serverGilles Chehade
2020-01-07fix reporting of tx-mail and tx-rcpt for smtp-outGilles Chehade
2020-01-03upon return of authentication we log the username and generate an smtp-inGilles Chehade
2019-12-21do not pass rdns, fcrdns, ss_src and ss_dest with IMSG_FILTER_SMTP_BEGIN,Gilles Chehade
2019-12-21do not generate smtp reports for unfiltered sessions, the events will beGilles Chehade
2019-11-25store smtp session username in envelope and allow ruleset to match specificGilles Chehade
2019-10-04remove strict \r check, the downside overweights the advantages, we'llGilles Chehade
2019-10-03we should never hit the smtp reports with an s->tx set to NULL but betterGilles Chehade
2019-10-03fix possible use-after-free in error code pathGilles Chehade
2019-09-21remove dead assignmentSebastien Marie
2019-09-19second attempt at fixing how we display inet6 addresses in smtpd. this diffGilles Chehade
2019-09-11Sprinkle around some __attribute__((__format__ (printf(...))).Martijn van Duren
2019-09-04introduce the 'junk' builtin filter action which marks a session orGilles Chehade
2019-08-28Add a link-greeting report. This allows us to get the active domain nameMartijn van Duren
2019-08-14revert the inet6 format diff, regression observed by florian@Gilles Chehade
2019-08-13use proper format to display inet6 addresses in logs as well as to store inGilles Chehade
2019-08-11fix rewrite action on filtering of MAIL FROM phaseGilles Chehade
2019-08-10this introduces experimental proxy v2 support which is fairly isolated to aGilles Chehade
2019-08-01smtpd can crash on excessively large input, causing a denial of service.Gilles Chehade
2019-07-26even though RSET can be issued outside a tx, RFC states it's noop outside aGilles Chehade
2019-07-24Two problems:Gilles Chehade
2019-07-11introduce link-auth to the smtp reporting stream so that filters may knowGilles Chehade
2019-07-11modify link-identify so it reports if HELO or EHLO was usedGilles Chehade
2019-07-11introduce link-reset to let smtpd report resets happening in a sessionGilles Chehade
2019-07-11there are three ways to authenticate 'AUTH PLAIN', 'AUTH PLAIN <creds>' andGilles Chehade
2019-07-10obfuscate auth parameters in smtp reportingGilles Chehade
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-27Move the check wether line is NULL above further accesses of it.Matthias Kilian
2019-06-26reject DATA containing <CR> that's not part of <CRLF> line terminatorsGilles Chehade
2019-06-12change "ssl" to "tls" in various identifiers.Eric Faurot
2019-05-15do not use CRLF when passing data lines to filters.Eric Faurot
2019-02-20fix a regression in the 'hostnames' mapping to select hostname based on theGilles Chehade
2019-02-06in SMTP status, display rcpt address in errors happening at RCPT levelGilles Chehade
2019-01-05introduce smtp 'timeout' reporting event to notify filters that a timeoutGilles Chehade
2019-01-05move the DATA bytes accounting a bit earlier so that we don't have to dealGilles Chehade
2019-01-03be less verbose on resolver "errors", only log_warnx() real errors and notGilles Chehade
2019-01-03do not strip dot-escaping when sending to filters, dot-escape is removed onGilles Chehade