From matt@epsilon.lucida.qc.ca  Thu Apr 20 19:48:38 2000
Return-Path: <matt@epsilon.lucida.qc.ca>
Received: from epsilon.lucida.qc.ca (epsilon.lucida.qc.ca [216.95.146.6])
	by hub.freebsd.org (Postfix) with SMTP id BA1F037B7C1
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 20 Apr 2000 19:48:36 -0700 (PDT)
	(envelope-from matt@epsilon.lucida.qc.ca)
Received: (qmail 73416 invoked by uid 1000); 21 Apr 2000 02:48:35 -0000
Message-Id: <20000421024835.73415.qmail@epsilon.lucida.qc.ca>
Date: 21 Apr 2000 02:48:35 -0000
From: matt@arpa.mail.net
Sender: matt@epsilon.lucida.qc.ca
Reply-To: matt@arpa.mail.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: small patch to defaults/rc.conf to prevent confusion.
X-Send-Pr-Version: 3.2

>Number:         18124
>Category:       conf
>Synopsis:       defaults/rc.conf is unclear about tcp_drop_synfyn and tcp_restrict_rst
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 20 19:50:01 PDT 2000
>Closed-Date:    Sat May 27 11:08:09 PDT 2000
>Last-Modified:  Sat May 27 11:08:55 PDT 2000
>Originator:     Matt Heckaman
>Release:        FreeBSD 4.0-STABLE i386 and FreeBSD 3.4-STABLE i386
>Organization:
Lucida Communications
>Environment:

FreeBSD 4.0 and FreeBSD 3.4, as well as all others that support the options
tcp_drop_synfyn and tcp_restrict_rst.

>Description:

To enable tcp_drop_synfyn and tcp_resrict_rst, you must have the options
TCP_DROP_SYNFIN and TCP_RESTRICT_RST set in your kernel. Since I am not the
only one who was confused about this matter, I felt it might be a good idea
to submit a change request on the rc.conf file.

>How-To-Repeat:

N/A

>Fix:

This is a diff against 4.0-STABLE Apr 19, but the idea is the same across
the entire board.

--- rc.conf.orig        Thu Apr 20 22:38:14 2000
+++ rc.conf     Thu Apr 20 22:41:09 2000
@@ -14,6 +14,7 @@
 #
 # All arguments must be in double or single quotes.
 #
+# $FreeBSD$
 # $FreeBSD: src/etc/defaults/rc.conf,v 1.53.2.3 2000/04/15 11:02:40 iwasaki Exp $
 
 ##############################################################
@@ -55,6 +56,9 @@
 tcp_extensions="NO"            # Set to YES to turn on RFC1323 extensions.
 log_in_vain="NO"               # YES to log connects to ports w/o listeners.
 tcp_keepalive="YES"            # Enable stale TCP connection timeout (or NO).
+#
+# For the following two options, you need to have TCP_DROP_SYNFIN and
+# TCP_RESTRICT_RST set in your kernel. Please refer to LINT for details.
 tcp_drop_synfin="NO"           # Set to YES to drop TCP packets with SYN+FIN
                                # NOTE: this breaks rfc1644 extensions (T/TCP)
 tcp_restrict_rst="NO"          # Set to YES to restrict emission of RST

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: wilko 
State-Changed-When: Sat May 27 11:08:09 PDT 2000 
State-Changed-Why:  
Suggested comment added to rc.conf for 4.x and -current 
>Unformatted:
