From owner-freebsd-current@freebsd.org Fri May 20 12:54:05 2016 Return-Path: Delivered-To: freebsd-current@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 A79C2B42DD3 for ; Fri, 20 May 2016 12:54:05 +0000 (UTC) (envelope-from zakharov.vv@gmail.com) Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com [IPv6:2a00:1450:4010:c07::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 26D8A1C9D for ; Fri, 20 May 2016 12:54:05 +0000 (UTC) (envelope-from zakharov.vv@gmail.com) Received: by mail-lf0-x229.google.com with SMTP id e131so806637lfb.0 for ; Fri, 20 May 2016 05:54:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=HEO4VxxLZeVp0IurQ0Ew35lt5ohlCdHNCWH3tY1q+ZI=; b=Kbkxfe0TL0wGI8kqBg4hrcf9YFWONhHuskU+CrXJviq/RRotx2M6yf8unh8shz1ZjC 6opgFxVEFw0u+WQPohtFhCYH63xW4zuMpynV8FuPaHdkEJVFWM7hd5lVUlGZlyRd7RE5 QyUx6CybLtRmBri7w+J9+qjRZ46Y8HFaBYMjdPvSOiqI8KU4P6/2E1Gm1m5N2s9DsAlN CPjO2Md14anghswbEu09tktnk0tHR8neb288oiizjVBbUPgma7ftkDeCxfeWVdJv7J2W lzFMP76kjA29PDmHWUQW4PhGoANbJctY6QKsYkhqbI5+yOsvtS+ZzAyEl0t/IcgLUvfs n0jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=HEO4VxxLZeVp0IurQ0Ew35lt5ohlCdHNCWH3tY1q+ZI=; b=QU8ajDtWAVs74bgYM6rzIzUQzr9TBzfJ2uUvAPHc/iVdRwWmg0Dt+/Y+f15gbooxNo bfL0wFUZnvduoXLgWAp0hDJKuKU5Y5kkNuITf1ITs3lyer7XXBTHN9vgBH8cYuhyHBnE xfZ0UiINKcUjcBTrSXa+b1cex02VymAEMWi2gQ3Ji7OfmgAIeKAgC2B+BSHeJyCeSGzn ICVYlLLUVTPemcOuQcFpO+7sYf+sySVZo6gTtqDrH8EnowZasppmngmy20tgEblHChmH 6Tob/guDSNyV039D8ZVlARtVMm/Kla6rVAvmPlpC2cSurU2ZH8ZvFtpkHuL5pN4LSGMY Xmfg== X-Gm-Message-State: AOPr4FVJjzIpbJgH9+fhAm3pRLNI9QIUFjHM5fKisiL2t3m/LDjMOSK85TpJ90wSEk9azw== X-Received: by 10.25.24.65 with SMTP id o62mr458736lfi.23.1463748843281; Fri, 20 May 2016 05:54:03 -0700 (PDT) Received: from localhost ([81.19.73.103]) by smtp.gmail.com with ESMTPSA id a76sm3360981lfa.11.2016.05.20.05.54.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 May 2016 05:54:02 -0700 (PDT) Date: Fri, 20 May 2016 15:54:01 +0300 From: Vladimir Zakharov To: "O. Hartmann" Cc: FreeBSD CURRENT Subject: Re: CURRENT: ipfw: problems with timeouts and worse network performance Message-ID: <20160520125401.GC2371@vzakharov> References: <20160520140152.3ab6fe44@hermann> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20160520140152.3ab6fe44@hermann> X-Operating-System: FreeBSD 11.0-CURRENT amd64 User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2016 12:54:05 -0000 Hello On Fri, May 20, 2016, O. Hartmann wrote: > I reported earlier about broken pipes in ssh sessions to remote hosts, > which occur on an erratic basis. i'm investigating this problem now and > it seems that it is also ipfw-related, but I'm not sure. This problem > is present since a couple of weeks now. Maybe this could help... I've also experienced problems with broken pipes in ssh sessions some time ago. Setting in sysctl.conf net.inet.ip.fw.dyn_ack_lifetime=3600 fixed problem for me. I didn't experiment with the value though. So, possibly, changing default value (300s) to 1 hour is overkill :). -- Regards, | "In theory there is no difference between theory Vladimir Zakharov | and practice. In practice there is."- Yogi Berra