From owner-freebsd-net@freebsd.org Mon May 16 07:03:48 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6709BB3DF68 for ; Mon, 16 May 2016 07:03:48 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (unknown [IPv6:2602:304:b010:ef20::f2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gw.catspoiler.org", Issuer "gw.catspoiler.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 348941692 for ; Mon, 16 May 2016 07:03:48 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.15.2/8.15.2) with ESMTP id u4G73fmW070195 for ; Mon, 16 May 2016 00:03:45 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <201605160703.u4G73fmW070195@gw.catspoiler.org> Date: Mon, 16 May 2016 00:03:41 -0700 (PDT) From: Don Lewis Subject: changing net.inet.tcp.ecn.enable=1 to a three-way knob To: freebsd-net@FreeBSD.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 07:03:48 -0000 I posted a patch here: to change net.inet.tcp.ecn.enable from a binary off/on knob to a three way knob that adds a setting allow incoming TCP connections to negotiate ECN while outgoing connections don't request ECN. Always requesting ECN on outgoing connections can be troublesome because of the number of broken middle-boxes that block ECN connections (though we do have a fallback to turning off ECN if the initial connection request fails). I'd like to get this into HEAD before the code slush.