#
ff18143e |
| 28-Dec-2018 |
eric <eric@openbsd.org> |
remove the tag workaround for table_create() and table_find(), now that static tables handle their updates internally.
ok gilles@
|
#
016b646d |
| 23-Dec-2018 |
gilles <gilles@openbsd.org> |
when a filter chain is only used once, no need to create a named chain, it can now be inlined on listen lines: listen on all filter { foo1, foo2 }
|
#
417409c3 |
| 23-Dec-2018 |
gilles <gilles@openbsd.org> |
revive filters tracing (-T filters) to make it easier understand what is happening at filters level
|
#
1577e350 |
| 22-Dec-2018 |
gilles <gilles@openbsd.org> |
introduce 'rcpt-to' builtin filter, can only be used on 'rcpt-to' hook
|
#
fc55f345 |
| 22-Dec-2018 |
gilles <gilles@openbsd.org> |
introduce 'mail-from' builtin filter, can be applied on the 'mail-from', 'rcpt-to', 'data' and 'commit' phases.
|
#
6c654ff6 |
| 22-Dec-2018 |
gilles <gilles@openbsd.org> |
introduce 'helo' builtin filter, can be used on any hook but 'connect'
|
#
7d6fe3cd |
| 22-Dec-2018 |
gilles <gilles@openbsd.org> |
reuse existing tokens for builtin filter names to avoid creating too many new keywords, 'check-rdns' & 'check-src' are not better than 'rdns' & 'src'
|
#
c229687e |
| 22-Dec-2018 |
gilles <gilles@openbsd.org> |
introduce new matching criteria 'from rdns' to match sessions based on rDNS of the client, works with literal and tables, both string and regex:
match from rdns "mx1.poolp.org" for any action blahb
introduce new matching criteria 'from rdns' to match sessions based on rDNS of the client, works with literal and tables, both string and regex:
match from rdns "mx1.poolp.org" for any action blahblah
show more ...
|
#
4614b657 |
| 21-Dec-2018 |
gilles <gilles@openbsd.org> |
since we already support regex lookups in tables for builtin filters, let's also support regex lookups in match rule criterias performing table lookups
ok millert@
|
#
1045a194 |
| 21-Dec-2018 |
gilles <gilles@openbsd.org> |
- make the proc filter fd non-blocking - client sessions may disappear while filter is streaming data, dont panic
|
#
d53cf4e2 |
| 21-Dec-2018 |
gilles <gilles@openbsd.org> |
implement some additional builtin filters: check-src-{table,regex}, check-rdns-{table,regex}
make sure that these builtins may be used at all phases
|
#
ec69ed85 |
| 21-Dec-2018 |
gilles <gilles@openbsd.org> |
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
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@
show more ...
|
#
8bfa152e |
| 13-Dec-2018 |
gilles <gilles@openbsd.org> |
only allow builtin filters to declare which hook they listen to in the conf since proc filters are going to register themselves through the protocol.
this will allow us to plug proc filters that dea
only allow builtin filters to declare which hook they listen to in the conf since proc filters are going to register themselves through the protocol.
this will allow us to plug proc filters that deal with multiple hooks w/out having to declare each and every hook, and without risking to forget one.
discussed with eric@
show more ...
|
#
26930f3a |
| 11-Dec-2018 |
gilles <gilles@openbsd.org> |
remove filter action "rewrite" can only be done from a proc filter remove "report" keyword, a proc filter gets report events
discussed with eric@
|
#
24a10ad4 |
| 09-Dec-2018 |
gilles <gilles@openbsd.org> |
allow check-rdns and check-fcrdns in connect, helo/ehlo, mail-from, rcpt-to hooks
ok eric@
|
#
15c39be5 |
| 09-Dec-2018 |
gilles <gilles@openbsd.org> |
add check-fcrdns builtin filter
ok eric@
|
#
4faa8b13 |
| 06-Dec-2018 |
gilles <gilles@openbsd.org> |
allow passing data lines to proc filters
ok eric@
|
#
b6b294a3 |
| 30-Nov-2018 |
gilles <gilles@openbsd.org> |
prepare for smtp-out reporting and while at it, make a few changes to the report format
|
#
c8094670 |
| 29-Nov-2018 |
gilles <gilles@openbsd.org> |
introduce FILTER_COMMIT which will allow taking a decision at DATA commit time, unusable yet but necessary for the upcoming serie of diffs.
ok eric@
|
#
59f98a41 |
| 08-Nov-2018 |
gilles <gilles@openbsd.org> |
introduce smtp-in keyword in grammar so we can report smtp-in and smtp-out events with less ambiguity
ok eric@
|
#
486285b1 |
| 03-Nov-2018 |
gilles <gilles@openbsd.org> |
only apply filter rules to filtered interfaces
|
#
a8ae7d4b |
| 03-Nov-2018 |
gilles <gilles@openbsd.org> |
check-rdns builtin filter, to be improved
|
#
522448a1 |
| 03-Nov-2018 |
gilles <gilles@openbsd.org> |
bring plumbing for proc filters
ok millert@, eric@, jung@
|
#
d7b0dc3b |
| 03-Nov-2018 |
gilles <gilles@openbsd.org> |
bring plumbing for builtin filters
ok millert@, eric@, jung@
|
#
ff05ba49 |
| 01-Nov-2018 |
gilles <gilles@openbsd.org> |
teach smtp process how to report smtp events to lka and teach lka how to report these events to a proc
ok millert@
|