OpenBSD CVS

CVS log for src/usr.sbin/smtpd/Attic/lka_proc.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.14, Fri Dec 13 12:48:04 2019 UTC (4 years, 5 months ago) by gilles
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +1 -1 lines
FILE REMOVED

file no longer exists

Revision 1.13 / (download) - annotate - [select for diffs], Thu Dec 12 22:10:47 2019 UTC (4 years, 5 months ago) by gilles
Branch: MAIN
Changes since 1.12: +6 -2 lines
Diff to previous 1.12 (colored)

filter protocol has an initial handshake within which smtpd tells filters
about a few global configuration informations. this makes smtpd tell proc
filters for which subsystem they are registered allowing them to register
only events that are relevant.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Sep 30 13:27:12 2019 UTC (4 years, 8 months ago) by gilles
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

add smtpd-version config key in filters handshake

Revision 1.11 / (download) - annotate - [select for diffs], Fri Sep 6 08:23:56 2019 UTC (4 years, 9 months ago) by martijn
Branch: MAIN
Changes since 1.10: +3 -1 lines
Diff to previous 1.10 (colored)

Add support for filter-reports. These allow filters to send freetext
reports to other filters/report handlers.
Builtin filters work via the new "report" keyword.
Proc filters can send reports via:
"report|<seconds.<microseconds>|smtp-in|<reqid>|<message>"
Subscribing to these reports can be done via the the "filter-report"
keyword.
The reports themselves contain the usual elements followed by:
<type>|<name>|<message>
Type can be builtin or proc.
Name is the process name for type proc and the filter name for type builtin.

OK gilles@

Revision 1.10 / (download) - annotate - [select for diffs], Thu Aug 29 09:24:30 2019 UTC (4 years, 9 months ago) by gilles
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

the latest commit introduced a regression in DATA filters

ok martijn@

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

Make filters more developer-friendly by giving more feedback on why a
message was rejected.

Feedback semarie@
OK gilles@

Revision 1.8 / (download) - annotate - [select for diffs], Sat Aug 10 14:50:58 2019 UTC (4 years, 10 months ago) by gilles
Branch: MAIN
Changes since 1.7: +10 -1 lines
Diff to previous 1.7 (colored)

let smtpd tell filters about configuration keys before they register hooks.
the set of configuration keys is not yet finalized but the mechanism is all
we need for now to be able to release 6.6 with a stable api.

discussed with eric months ago

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jun 27 05:14:49 2019 UTC (4 years, 11 months ago) by martijn
Branch: MAIN
Changes since 1.6: +31 -1 lines
Diff to previous 1.6 (colored)

Allow filters to log information through stderr. This simplifies and
unifies the way filters need to get their logging to the right location.

Log-messages are read line by line and are logged at LOG_ERR level via
the lookup process.

OK gilles@

Revision 1.6 / (download) - annotate - [select for diffs], Fri Dec 21 19:07:47 2018 UTC (5 years, 5 months ago) by gilles
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.5: +4 -1 lines
Diff to previous 1.5 (colored)

- make the proc filter fd non-blocking
- client sessions may disappear while filter is streaming data, dont panic

Revision 1.5 / (download) - annotate - [select for diffs], Fri Dec 21 14:33:52 2018 UTC (5 years, 5 months ago) by gilles
Branch: MAIN
Changes since 1.4: +41 -3 lines
Diff to previous 1.4 (colored)

bring in new grammar for filters, allowing filter chains and plugging of
different filters & chains on different interfaces.

in this diff, proc filters are still disabled as they're missing on very
important piece of logic.

ok eric@

Revision 1.4 / (download) - annotate - [select for diffs], Thu Dec 6 13:57:06 2018 UTC (5 years, 6 months ago) by gilles
Branch: MAIN
Changes since 1.3: +11 -64 lines
Diff to previous 1.3 (colored)

allow passing data lines to proc filters

ok eric@

Revision 1.3 / (download) - annotate - [select for diffs], Sat Nov 3 13:47:46 2018 UTC (5 years, 7 months ago) by gilles
Branch: MAIN
Changes since 1.2: +57 -1 lines
Diff to previous 1.2 (colored)

bring plumbing for proc filters

ok millert@, eric@, jung@

Revision 1.2 / (download) - annotate - [select for diffs], Thu Nov 1 14:48:49 2018 UTC (5 years, 7 months ago) by gilles
Branch: MAIN
Changes since 1.1: +7 -0 lines
Diff to previous 1.1 (colored)

teach smtp process how to report smtp events to lka and teach lka how to
report these events to a proc

ok millert@

Revision 1.1 / (download) - annotate - [select for diffs], Thu Nov 1 10:13:25 2018 UTC (5 years, 7 months ago) by gilles
Branch: MAIN

allow smtpd to fork processes at startup and maintain a socketpair with
them.

ok jung@, eric@

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.