diff options
author | 2009-10-19 20:48:13 +0000 | |
---|---|---|
committer | 2009-10-19 20:48:13 +0000 | |
commit | 0d08412780ae09a3400bcb4756fb9588ea893baf (patch) | |
tree | f23c3abe1da490242b56dcc050e6163b3e3c3045 /lib/libc | |
parent | sync to 1.9.7: compatibility fix; from joerg at netbsd dot org (diff) | |
download | wireguard-openbsd-0d08412780ae09a3400bcb4756fb9588ea893baf.tar.xz wireguard-openbsd-0d08412780ae09a3400bcb4756fb9588ea893baf.zip |
currently, smtpd is capable of having multiple listeners with different
options but they will all share the same ruleset. this means that there
is no way to have a rule apply to a session established on one listener
but not applied on another.
this commit brings initial support for tagging listeners and having the
rules able to match these specific listeners. The following will define
a rule which will only apply to interfaces tagged as "mynet":
listen on lo0 # implicit lo0 tag
listen on fxp0 tag mynet
listen on fxp1 tag mynet
accept on mynet for domain "example.org" deliver to mbox
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions