diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2010-10-26 15:04:38 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2010-10-26 15:04:38 +0000 |
commit | 3a5642b9d63b126cd1777adf6a2703b1dd584b30 (patch) | |
tree | 8bccd615d357588c33524e8d18dee9065ac62102 /usr.sbin/relayd/relayd.h | |
parent | 1bdbf24ed9482dd43cb746e6323d6127ab04701f (diff) |
redirects are loaded as "pass in quick ... rdr-to" pf rules by default. In
some cases it is desired to load the rules as "match in" without "quick"
to allow additional filtering or applying additional rule/state options,
eg. to add an overload table for DOS mitigation. Add the optional "match"
keyword for the redirect "tag" option to change the pf rule type accordingly.
ok jsg@ mikeb@
Diffstat (limited to 'usr.sbin/relayd/relayd.h')
-rw-r--r-- | usr.sbin/relayd/relayd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/relayd/relayd.h b/usr.sbin/relayd/relayd.h index 1194cf69c3c..d2d2369324a 100644 --- a/usr.sbin/relayd/relayd.h +++ b/usr.sbin/relayd/relayd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: relayd.h,v 1.137 2010/08/01 22:18:35 sthen Exp $ */ +/* $OpenBSD: relayd.h,v 1.138 2010/10/26 15:04:37 reyk Exp $ */ /* * Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -246,6 +246,7 @@ TAILQ_HEAD(addresslist, address); #define F_PORT 0x00100000 #define F_SSLCLIENT 0x00200000 #define F_NEEDRT 0x00400000 +#define F_MATCH 0x00800000 enum forwardmode { FWD_NORMAL = 0, |