OpenBSD CVS

CVS log for src/usr.sbin/smtpd/report_smtp.c


[BACK] Up to [local] / src / usr.sbin / smtpd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.12 / (download) - annotate - [select for diffs], Mon Jun 14 17:58:16 2021 UTC (2 years, 11 months ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, HEAD
Changes since 1.11: +1 -26 lines
Diff to previous 1.11 (colored)

add required headers for smtpd.h and remove unnecessary ones in other files.

ok jung@

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jan 7 23:03:37 2020 UTC (4 years, 4 months ago) by gilles
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.10: +3 -21 lines
Diff to previous 1.10 (colored)

fix reporting of tx-mail and tx-rcpt for smtp-out

Revision 1.10 / (download) - annotate - [select for diffs], Thu Sep 19 14:40:53 2019 UTC (4 years, 8 months ago) by gilles
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.9: +21 -3 lines
Diff to previous 1.9 (colored)

in tx-mail / tx-rcpt reports, do not pass the brackets <> and remove any
of the MAIL FROM / RCPT TO options. filters use the mail-from and rcpt-to
hooks to retrieve these should they need it.

fixes bogus tx-mail / tc-rcpt reports

Revision 1.9 / (download) - annotate - [select for diffs], Wed Aug 28 15:50:36 2019 UTC (4 years, 9 months ago) by martijn
Branch: MAIN
Changes since 1.8: +17 -1 lines
Diff to previous 1.8 (colored)

Add a link-greeting report. This allows us to get the active domain name
in use for the current request.

OK gilles@

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jul 26 06:30:13 2019 UTC (4 years, 10 months ago) by gilles
Branch: MAIN
Changes since 1.7: +8 -7 lines
Diff to previous 1.7 (colored)

even though RSET can be issued outside a tx, RFC states it's noop outside a
transaction so rename link-reset to tx-reset and only issue the smtp report
when a reset _actually_ has a side-effect.

note that rset is implicit on a message commit or rollback, so tx-reset get
issued even though there was no explicit RSET. the filters are MUCH simpler
to write when you don't need to track every event that can reset a tx :-)

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jul 11 21:40:03 2019 UTC (4 years, 10 months ago) by gilles
Branch: MAIN
Changes since 1.6: +17 -1 lines
Diff to previous 1.6 (colored)

introduce link-auth to the smtp reporting stream so that filters may know
if a link has been authenticated successfully or not and for which user

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jul 11 21:04:59 2019 UTC (4 years, 10 months ago) by gilles
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

modify link-identify so it reports if HELO or EHLO was used

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jul 11 20:58:54 2019 UTC (4 years, 10 months ago) by gilles
Branch: MAIN
Changes since 1.4: +15 -1 lines
Diff to previous 1.4 (colored)

introduce link-reset to let smtpd report resets happening in a session

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jan 5 09:43:39 2019 UTC (5 years, 4 months ago) by gilles
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.3: +15 -1 lines
Diff to previous 1.3 (colored)

introduce smtp 'timeout' reporting event to notify filters that a timeout
occured during the smtp session

Revision 1.3 / (download) - annotate - [select for diffs], Thu Dec 13 17:08:10 2018 UTC (5 years, 5 months ago) by gilles
Branch: MAIN
Changes since 1.2: +71 -15 lines
Diff to previous 1.2 (colored)

in event reports, use a struct timeval instead of time_t since we want more
than second precision

discussed with eric@

Revision 1.2 / (download) - annotate - [select for diffs], Wed Dec 12 21:27:49 2018 UTC (5 years, 5 months ago) by gilles
Branch: MAIN
Changes since 1.1: +13 -1 lines
Diff to previous 1.1 (colored)

add tx-data reporting event

Revision 1.1 / (download) - annotate - [select for diffs], Tue Dec 11 13:29:52 2018 UTC (5 years, 5 months ago) by gilles
Branch: MAIN

factor smtp-in and smtp-out reporting code

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.