From modulus@h24-82-193-81.wp.shawcable.net  Tue Dec 31 07:47:49 2002
Return-Path: <modulus@h24-82-193-81.wp.shawcable.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4E8AF37B405
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 31 Dec 2002 07:47:49 -0800 (PST)
Received: from h24-82-193-81.wp.shawcable.net (h24-82-193-81.wp.shawcable.net [24.82.193.81])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 277F643ED4
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 31 Dec 2002 07:47:48 -0800 (PST)
	(envelope-from modulus@h24-82-193-81.wp.shawcable.net)
Received: from h24-82-193-81.wp.shawcable.net (modulus@localhost [127.0.0.1])
	by h24-82-193-81.wp.shawcable.net (8.12.6/8.12.6) with ESMTP id gBVFmiE0096872
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 31 Dec 2002 09:48:44 -0600 (CST)
	(envelope-from modulus@h24-82-193-81.wp.shawcable.net)
Received: (from modulus@localhost)
	by h24-82-193-81.wp.shawcable.net (8.12.6/8.12.6/Submit) id gBVFmhSc096871;
	Tue, 31 Dec 2002 09:48:43 -0600 (CST)
Message-Id: <200212311548.gBVFmhSc096871@h24-82-193-81.wp.shawcable.net>
Date: Tue, 31 Dec 2002 09:48:43 -0600 (CST)
From: "Christian S.J. Peron" <maneo@bsdpro.com>
Reply-To: "Christian S.J. Peron" <maneo@bsdpro.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] blackhole(4) gives false information	
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         46654
>Category:       docs
>Synopsis:       [patch] blackhole(4) gives false information
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 31 07:50:00 PST 2002
>Closed-Date:    Tue Dec 31 08:30:20 PST 2002
>Last-Modified:  Tue Dec 31 08:30:20 PST 2002
>Originator:     Christian S.J. Peron
>Release:        FreeBSD 4.7-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD h24-82-193-81 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #1: Fri Dec 6 00:00:31 CST 2002 modulus@h24-82-193-81:/usr/src/sys/compile/opcode i386


	
>Description:
	When blackhole(4) describes the "normal behaviour" of TCP,
	it states "when a TCP SYN segment is received on a port where
	there is no socket accepting connections, is for the system to return a
	RST segment, and drop the connection. The connecting system will see
	this as a "Connection reset by peer".".

	The functional description is accurate, however the connecting
	system will report the failure as "Connection refused" (ECONNREFUSED)
	rather then "Connection reset by peer" (ECONNRESET).


	
>How-To-Repeat:
	N/A
	
>Fix:

--- /usr/src/share/man/man4/blackhole.4.wrong	Mon Dec 30 23:13:15 2002
+++ /usr/src/share/man/man4/blackhole.4	Mon Dec 30 23:13:52 2002
@@ -34,7 +34,7 @@
 Normal behaviour, when a TCP SYN segment is received on a port where
 there is no socket accepting connections, is for the system to return
 a RST segment, and drop the connection.  The connecting system will
-see this as a "Connection reset by peer".  By setting the TCP blackhole
+see this as a "Connection refused".  By setting the TCP blackhole
 MIB to a numeric value of one, the incoming SYN segment
 is merely dropped, and no RST is sent, making the system appear
 as a blackhole.  By setting the MIB value to two, any segment arriving
	


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: chris 
State-Changed-When: Tue Dec 31 08:29:33 PST 2002 
State-Changed-Why:  
Corrected in revision 1.10 of blackhole.4.  Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=46654 
>Unformatted:
