Fix some more disordering, as well as the description string for the
net.inet.tcp.drop_synfin sysctl, which for some mysterious reason said "Drop TCP packets with FIN+ACK set" (instead of "...with SYN+FIN set")
This commit is contained in:
parent
7dde7bbd34
commit
f861330504
@ -228,8 +228,8 @@ PPP_FILTER opt_ppp.h
|
||||
SLIP_IFF_OPTS opt_slip.h
|
||||
TCP_COMPAT_42 opt_compat.h
|
||||
TCPDEBUG
|
||||
TCP_RESTRICT_RST opt_tcp_input.h
|
||||
TCP_DROP_SYNFIN opt_tcp_input.h
|
||||
TCP_RESTRICT_RST opt_tcp_input.h
|
||||
|
||||
# ATM (HARP version)
|
||||
ATM_CORE opt_atm.h
|
||||
|
@ -94,18 +94,18 @@ SYSCTL_INT(_net_inet_tcp, OID_AUTO, delayed_ack, CTLFLAG_RW,
|
||||
&tcp_delack_enabled, 0,
|
||||
"Delay ACK to try and piggyback it onto a data packet");
|
||||
|
||||
#ifdef TCP_DROP_SYNFIN
|
||||
static int drop_synfin = 0;
|
||||
SYSCTL_INT(_net_inet_tcp, OID_AUTO, drop_synfin, CTLFLAG_RW,
|
||||
&drop_synfin, 0, "Drop TCP packets with SYN+FIN set");
|
||||
#endif
|
||||
|
||||
#ifdef TCP_RESTRICT_RST
|
||||
static int restrict_rst = 0;
|
||||
SYSCTL_INT(_net_inet_tcp, OID_AUTO, restrict_rst, CTLFLAG_RW,
|
||||
&restrict_rst, 0, "Restrict RST emission");
|
||||
#endif
|
||||
|
||||
#ifdef TCP_DROP_SYNFIN
|
||||
static int drop_synfin = 0;
|
||||
SYSCTL_INT(_net_inet_tcp, OID_AUTO, drop_synfin, CTLFLAG_RW,
|
||||
&drop_synfin, 0, "Drop TCP packets with FIN+ACK set");
|
||||
#endif
|
||||
|
||||
struct inpcbhead tcb;
|
||||
struct inpcbinfo tcbinfo;
|
||||
|
||||
|
@ -94,18 +94,18 @@ SYSCTL_INT(_net_inet_tcp, OID_AUTO, delayed_ack, CTLFLAG_RW,
|
||||
&tcp_delack_enabled, 0,
|
||||
"Delay ACK to try and piggyback it onto a data packet");
|
||||
|
||||
#ifdef TCP_DROP_SYNFIN
|
||||
static int drop_synfin = 0;
|
||||
SYSCTL_INT(_net_inet_tcp, OID_AUTO, drop_synfin, CTLFLAG_RW,
|
||||
&drop_synfin, 0, "Drop TCP packets with SYN+FIN set");
|
||||
#endif
|
||||
|
||||
#ifdef TCP_RESTRICT_RST
|
||||
static int restrict_rst = 0;
|
||||
SYSCTL_INT(_net_inet_tcp, OID_AUTO, restrict_rst, CTLFLAG_RW,
|
||||
&restrict_rst, 0, "Restrict RST emission");
|
||||
#endif
|
||||
|
||||
#ifdef TCP_DROP_SYNFIN
|
||||
static int drop_synfin = 0;
|
||||
SYSCTL_INT(_net_inet_tcp, OID_AUTO, drop_synfin, CTLFLAG_RW,
|
||||
&drop_synfin, 0, "Drop TCP packets with FIN+ACK set");
|
||||
#endif
|
||||
|
||||
struct inpcbhead tcb;
|
||||
struct inpcbinfo tcbinfo;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user