summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMike Frantzen <frantzen@cvs.openbsd.org>2001-09-23 04:07:08 +0000
committerMike Frantzen <frantzen@cvs.openbsd.org>2001-09-23 04:07:08 +0000
commit6d10a0978b765f60c9fdd3903adb29247b423430 (patch)
treef4f94dc0b6a668cc01abd4bc17f33668d5f35821 /sys
parent9565e8b14defcff247a4ffeec36547004c5613c1 (diff)
Bump up the tcp half closed timeout (single FIN) to an hour
Diffstat (limited to 'sys')
-rw-r--r--sys/net/pf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index 38aac55650e..6cc5d175536 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.155 2001/09/21 07:18:49 dhartmei Exp $ */
+/* $OpenBSD: pf.c,v 1.156 2001/09/23 04:07:07 frantzen Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -138,7 +138,7 @@ struct pf_port_list pf_udp_ports;
int pftm_tcp_first_packet = 60; /* First TCP packet */
int pftm_tcp_opening = 30; /* No response yet */
int pftm_tcp_established = 24*60*60; /* established */
-int pftm_tcp_closing = 5 * 60; /* Got a FIN */
+int pftm_tcp_closing = 60 * 60; /* Half closed */
int pftm_tcp_fin_wait = 2 * 60; /* Got both FINs */
int pftm_tcp_closed = 1 * 60; /* Got a RST */