summaryrefslogtreecommitdiff
path: root/sys/net/pfvar.h
diff options
context:
space:
mode:
authorJoel Knight <joel@cvs.openbsd.org>2005-08-11 05:09:31 +0000
committerJoel Knight <joel@cvs.openbsd.org>2005-08-11 05:09:31 +0000
commite905b550c263d54bb85997afb6286a06d1ec3722 (patch)
tree20422c923b64dedb5352423c6b5d9669cd9e2dec /sys/net/pfvar.h
parent421f4ee9d25312f7ce5c7ecafa854b169634f1be (diff)
Only decrement the max-src-conn counter for tcp connections that reached
"established" state. Requires recompiling pfctl, etc. ok dhartmei@
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r--sys/net/pfvar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index 0ed3b1ae83d..73bbc1610ef 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfvar.h,v 1.227 2005/08/02 12:40:42 pascoe Exp $ */
+/* $OpenBSD: pfvar.h,v 1.228 2005/08/11 05:09:30 joel Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -666,7 +666,9 @@ struct pf_state_peer {
u_int8_t state; /* active state level */
u_int8_t wscale; /* window scaling factor */
u_int16_t mss; /* Maximum segment size option */
+ u_int8_t tcp_est; /* Did we reach TCPS_ESTABLISHED */
struct pf_state_scrub *scrub; /* state is scrubbed */
+ u_int8_t pad[3];
};
TAILQ_HEAD(pf_state_queue, pf_state);