diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2018-12-21 17:04:47 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2018-12-21 17:04:47 +0000 |
commit | 737aaa76d2dcfa5576adadadb19f27c7a3898b12 (patch) | |
tree | 29a81a413fe12b43ef4b575393917e92255c1e65 /usr.sbin/smtpd/smtpd.h | |
parent | 7928109223463f24bfe9976dc7a663ec40d4f32f (diff) |
implement some additional builtin filters:
check-src-{table,regex}, check-rdns-{table,regex}
make sure that these builtins may be used at all phases
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r-- | usr.sbin/smtpd/smtpd.h | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h index 143859c3ca2..070979a7f23 100644 --- a/usr.sbin/smtpd/smtpd.h +++ b/usr.sbin/smtpd/smtpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.h,v 1.595 2018/12/21 14:33:52 gilles Exp $ */ +/* $OpenBSD: smtpd.h,v 1.596 2018/12/21 17:04:46 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org> @@ -1058,17 +1058,24 @@ struct filter_config { size_t chain_size; struct dict chain_procs; - int8_t not_table; - struct table *table; - - int8_t not_regex; - struct table *regex; + int8_t not_fcrdns; + int8_t fcrdns; int8_t not_rdns; int8_t rdns; - int8_t not_fcrdns; - int8_t fcrdns; + int8_t not_rdns_table; + struct table *rdns_table; + + int8_t not_rdns_regex; + struct table *rdns_regex; + + int8_t not_src_table; + struct table *src_table; + + int8_t not_src_regex; + struct table *src_regex; + }; enum filter_status { |