summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorLawrence Teo <lteo@cvs.openbsd.org>2019-05-26 02:06:56 +0000
committerLawrence Teo <lteo@cvs.openbsd.org>2019-05-26 02:06:56 +0000
commit33d96782bafb19401b398ba4f8891951191526a3 (patch)
treeb7dbc12256fc504d0bdafd3e575dac44e8d794cf /share
parentf53d69176b67c87512d0eb8b4faf13a2a778fbe1 (diff)
Sync with the latest net/pfvar.h
ok jmc@ sashan@
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/pf.411
1 files changed, 8 insertions, 3 deletions
diff --git a/share/man/man4/pf.4 b/share/man/man4/pf.4
index a30d8f6b1e7..db90604c06c 100644
--- a/share/man/man4/pf.4
+++ b/share/man/man4/pf.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pf.4,v 1.91 2019/02/18 13:11:44 bluhm Exp $
+.\" $OpenBSD: pf.4,v 1.92 2019/05/26 02:06:55 lteo Exp $
.\"
.\" Copyright (C) 2001, Kjell Wooding. All rights reserved.
.\"
@@ -26,7 +26,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: February 18 2019 $
+.Dd $Mdocdate: May 26 2019 $
.Dt PF 4
.Os
.Sh NAME
@@ -269,6 +269,7 @@ struct pf_status {
u_int64_t pcounters[2][2][3];
u_int64_t bcounters[2][2];
u_int64_t stateid;
+ u_int64_t syncookies_inflight[2]; /* unACKed SYNcookies */
time_t since;
u_int32_t running;
u_int32_t states;
@@ -277,6 +278,9 @@ struct pf_status {
u_int32_t debug;
u_int32_t hostid;
u_int32_t reass; /* reassembly */
+ u_int8_t syncookies_active;
+ u_int8_t syncookies_mode; /* never/always/adaptive */
+ u_int8_t pad[2];
char ifname[IFNAMSIZ];
u_int8_t pf_chksum[PF_MD5_DIGEST_LENGTH];
};
@@ -411,7 +415,8 @@ struct pfioc_limit {
};
enum { PF_LIMIT_STATES, PF_LIMIT_SRC_NODES, PF_LIMIT_FRAGS,
- PF_LIMIT_TABLES, PF_LIMIT_TABLE_ENTRIES, PF_LIMIT_MAX };
+ PF_LIMIT_TABLES, PF_LIMIT_TABLE_ENTRIES, PF_LIMIT_PKTDELAY_PKTS,
+ PF_LIMIT_MAX };
.Ed
.It Dv DIOCGETLIMIT Fa "struct pfioc_limit *pl"
Get the hard