summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/lka_filter.c
AgeCommit message (Expand)Author
2023-05-15cast to '(long long)' instead of '(long long int)'Omar Polo
2023-05-10cast time_t to long long for printf, reduces the diff with -portableOmar Polo
2021-06-14add required headers for smtpd.h and remove unnecessary ones in other files.Eric Faurot
2021-01-23Remove unused variables found by clang. Additional unused var spotted by eric@.rob
2020-12-31Rename the pony process to dispatcher and klondike to crypto.Martijn van Duren
2020-12-23smtpd's filter state machine can prematurely release resourcesTodd C. Miller
2020-12-20Free filter_name in lka_filter_endMartijn van Duren
2020-09-16Add the admd keyword. This can be used by filters interested in theMartijn van Duren
2020-04-24strip trailing CRs at smtp level rather than io levelEric Faurot
2020-04-17switch email and result fields in mail-from/rcpt-to event reportsEric Faurot
2020-01-08allow using the session username in builtin filters when availableGilles Chehade
2020-01-08enable builtin filtering for commit phaseGilles Chehade
2020-01-08emable builtin filtering for phase DATA, no idea why we didn't earlier asGilles Chehade
2019-12-21if a filter was attached to a relay action in config, notify instance thatGilles Chehade
2019-12-21start bringing smtp-out reporting code, lacks some events stillGilles Chehade
2019-12-21do not pass rdns, fcrdns, ss_src and ss_dest with IMSG_FILTER_SMTP_BEGIN,Gilles Chehade
2019-12-14introduce a bypass keyword so that builtin filters can bypass processing ofGilles Chehade
2019-12-13lka_proc.c had common code to fork a proc filter for lka_filter.c andGilles Chehade
2019-12-12move the lka_report.c code into lka_filter.c, they were originally split asGilles Chehade
2019-12-09swap two fields in the filter response protocol to match order of fields inGilles Chehade
2019-09-11when replace tree_xget() with tree_get() ... actually use tree_get() so theGilles Chehade
2019-09-10do not use tree_xget() between filters resume as a session may legitimatelyGilles Chehade
2019-09-06Add support for filter-reports. These allow filters to send freetextMartijn van Duren
2019-09-04bump versionGilles Chehade
2019-09-04disallow proc filters from responding with junk action at commitGilles Chehade
2019-09-04introduce the 'junk' builtin filter action which marks a session orGilles Chehade
2019-08-29the builtin filters matching used to be reversed, as in "function must notGilles Chehade
2019-08-28Add a link-greeting report. This allows us to get the active domain nameMartijn van Duren
2019-08-28Make filters more developer-friendly by giving more feedback on why aMartijn van Duren
2019-08-18version field was reserved but not discussed, this is done nowGilles Chehade
2019-08-11the filtering protocol in OpenBSD 6.6 will be version 0, it has worked fineGilles Chehade
2019-08-11teach builtin filter rdns how to match a session that has or lacks rdnsGilles Chehade
2019-07-01The proceed reply doesn't have a parameter, resulting in subsequent filtersMartijn van Duren
2019-06-28switch timestamps to use timevals in filters like we do in reportingGilles Chehade
2019-05-02Give filter programmers a more friendlier error message when returning aMartijn van Duren
2019-04-08fix parsing of datalines before passing them to filters, the | splitting isGilles Chehade
2019-01-15Swap 'token' and 'id' place in filter protocol.Sunil Nimmagadda
2018-12-26introduce a table_match() function to check for a key in a tableEric Faurot
2018-12-26get rid of the unused dict argument in table lookup and fetch api.Eric Faurot
2018-12-23when passing mail-from parameter to filters, pass the '<' '>' free versionGilles Chehade
2018-12-23simplify builtinsGilles Chehade
2018-12-23revive filters tracing (-T filters) to make it easier understand what isGilles Chehade
2018-12-22introduce 'rcpt-to' builtin filter, can only be used on 'rcpt-to' hookGilles Chehade
2018-12-22introduce 'mail-from' builtin filter, can be applied on the 'mail-from',Gilles Chehade
2018-12-22introduce 'helo' builtin filter, can be used on any hook but 'connect'Gilles Chehade
2018-12-22remove lka_filter_response() which is no longer used, and reshuffle a bitGilles Chehade
2018-12-22simplify filter_protocol / filter_protocol_next by factoring codeGilles Chehade
2018-12-22simplify filter_data() and filter_data_next() by factoring logicGilles Chehade
2018-12-22tree_xget() -> tree_get()Gilles Chehade
2018-12-21do not tree_xget() sessions in filter_protocol_next(), filter_data_next() &Gilles Chehade