summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtp_session.c
AgeCommit message (Expand)Author
2024-08-12implement the report response for proc-filters tooOmar Polo
2024-03-20fix ORCPT handlingOmar Polo
2024-01-28allow escaping inside quotesOmar Polo
2024-01-20Use imsg_get_fd() to access the fd passed via imsgs.Claudio Jeker
2024-01-03relax ORCPT syntax validationOmar Polo
2023-12-23remove trailing whitespacesOmar Polo
2023-11-03cast tv_usec to long for *printfOmar Polo
2023-10-09Add Message-Id as needed for messages received on the submission port.Todd C. Miller
2023-06-23smtpd: allow arguments on NOOPOmar Polo
2023-05-31add missing include of time.hOmar Polo
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