summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtp_session.c
AgeCommit message (Expand)Author
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
2018-12-28rename smtp_session's hostname field to rdns, to make it clear what itGilles Chehade
2018-12-28move the smtp_mailaddr() calls _before_ filters indirection as filters MUSTGilles Chehade
2018-12-26when passing message to filters, do not worry yet about handling DATAGilles Chehade
2018-12-23remove dead codeEric Faurot
2018-12-21start simplifying log lines, they're no longer intended to be parseable, weGilles Chehade
2018-12-21bring in new grammar for filters, allowing filter chains and plugging ofGilles Chehade
2018-12-20the ciphers part of tls log lines doesn't need to be quoted, mta_session.cGilles Chehade
2018-12-20call smtp_check_noparam() on RSET, DATA, NOOP, QUIT, WIZGilles Chehade
2018-12-14use new cert helpers for incoming smtp sessionsEric Faurot
2018-12-12add tx-data reporting eventGilles Chehade
2018-12-12upon MAIL or RCPT errors, only trigger report_smtp_tx_{mail,rcpt} events ifGilles Chehade
2018-12-11do some imsg renaming to make them more clearGilles Chehade
2018-12-11factor smtp-in and smtp-out reporting codeGilles Chehade
2018-12-11report filter responses to smtpGilles Chehade
2018-12-11fix previousEric Faurot
2018-12-11generate an event when a helo name identifies a linkGilles Chehade
2018-12-11remove unnecessary calls to getsockname()Eric Faurot
2018-12-09no longer pass rdns in all filtering requests, they can be retrieved fromGilles Chehade
2018-12-09unbreak builtin filters after last simplification in smtp_sessionGilles Chehade
2018-12-09add client and listener address, as well as client rDNS and FCrDNS lookupGilles Chehade
2018-12-09when doing the rDNS lookup, require getnameinfo to return a hostname not anGilles Chehade
2018-12-07properly handle EAI_NODATA and EAI_NONAME in fc-rdns lookupsGilles Chehade
2018-12-06link-connect event report had an empty fcrdns field, but now that eric@ hasGilles Chehade
2018-12-06introduce tx-mail and tx-rcpt report eventsGilles Chehade
2018-12-06allow passing data lines to proc filtersGilles Chehade
2018-12-06bring the first bits of DATA filtering plumbing but bypass it for nowGilles Chehade
2018-12-03Perform forward-confirmed reverse DNS verification on incoming connections.Eric Faurot
2018-11-30prepare for smtp-out reporting and while at it, make a few changes to theGilles Chehade
2018-11-29introduce FILTER_COMMIT which will allow taking a decision at DATA commitGilles Chehade
2018-11-29simplifyEric Faurot