Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2008 23:18:19 GMT
From:      Tom Karpik <tom@tomkarpik.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/123881: Turning on TCP blackholing causes slow localhost connections
Message-ID:  <200805212318.m4LNIJVn045652@www.freebsd.org>
Resent-Message-ID: <200805212320.m4LNK1Ao090538@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         123881
>Category:       kern
>Synopsis:       Turning on TCP blackholing causes slow localhost connections
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 21 23:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Tom Karpik
>Release:        7.0-RELEASE
>Organization:
>Environment:
FreeBSD OsirisBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Turning on TCP blackholing (sysctl net.inet.tcp.blackhole=2) seems to make connecting to some local services very slow.

Example: telnet localhost 25 (default local Sendmail daemon after fresh installation of FreeBSD)

Sendmail responds with its greeting string right away if blackholing is off. If it's turned on, it takes about 8-12 seconds for the greeting to show up.
>How-To-Repeat:
sysctl net.inet.tcp.blackhole=2 (or 1)
telnet localhost 25
>Fix:
sysctl net.inet.tcp.blackhole=0

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805212318.m4LNIJVn045652>