Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1254070pxb; Fri, 1 Apr 2022 08:28:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYOpDrwOL8+3uHQuRPn5JluOVPnhHdWBmaFUdt47iLNDi4Ic5z0stkRnj1+Sya9LvSMzBY X-Received: by 2002:a05:6402:909:b0:415:cdbf:4748 with SMTP id g9-20020a056402090900b00415cdbf4748mr21398673edz.395.1648826922789; Fri, 01 Apr 2022 08:28:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648826922; cv=none; d=google.com; s=arc-20160816; b=DjG5v3hlJ7ACy3ZE+qGTrJNQNB4DXYyuVJYODqz1dnRtcsGa62k65ejJSkjYXSEk4c QJb0e8d4+Rrucv4D3EnkCOPMwgb3939YY2yPqh6sVw3FvzuM9bfdpB3RJkw5XWN8WMDc mwmHRzIY6U6q0s/cu/j5Pt7tPWImYiOa8bjLos6UM499LorwJ18rBUfVSMURsN5Lv8U1 znl2UFMSFVikY3M6ZYl8tf8HyQcnO9BoFdaWQSsMwCtbpsgoPM8zCrOwMtCQCsVNpxZF 6jf4z0uLhs5TZRfVKpjTPV4W8vrkkxhgS5/9t8oAPIBz5zS1PR8n5DOSx0gTZISUqLK5 WqmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id; bh=HjIkD31qh8niQiP47xPhIKBaiXHtQ5LtW2tKac7s//E=; b=HQ7SgnyfazKDq9AqrNLdxtXR02PpJjeHzEZcmR+P/zFnJODeScthlHzrPG/CXuTrT8 4oasAcOjgz4TDf8NM4BvVnUatmNCp2YI1dXASXeN7WXBdSBrJk9WMvvls15oZjpCxG+q 0Tt1EKnKnYWtUJSFAtiwWtdP6cWXsBki4NSpB9gfdbircbL+0X5RkD/SbMRvePZPMomv 20p0/M5ZsL8GXxw7vVZfh+87TxF9TRB55uICVK0kO6Ksv/ChKIoaiGX6BmRfdvW541Q8 GODqD+DY5e5lhB4+EwVbOL9i9GrE5OienAUARnLryOCLiaHUW6Syb/KKiQvrrJFxXjDD JQHw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=uls.co.za Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e8-20020a50bec8000000b00418c2b5bd2dsi1887372edk.15.2022.04.01.08.28.11; Fri, 01 Apr 2022 08:28:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=uls.co.za Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345663AbiDAL4c (ORCPT + 99 others); Fri, 1 Apr 2022 07:56:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239256AbiDAL4a (ORCPT ); Fri, 1 Apr 2022 07:56:30 -0400 Received: from uriel.iewc.co.za (uriel.iewc.co.za [IPv6:2c0f:f720:0:3:d6ae:52ff:feb8:f27b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E94D1D67ED; Fri, 1 Apr 2022 04:54:41 -0700 (PDT) Received: from [2c0f:f720:fe16:c400::1] (helo=tauri.local.uls.co.za) by uriel.iewc.co.za with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1naFrQ-0006sK-4N; Fri, 01 Apr 2022 13:54:36 +0200 Received: from [192.168.42.201] by tauri.local.uls.co.za with esmtp (Exim 4.94.2) (envelope-from ) id 1naFrN-0001RS-PG; Fri, 01 Apr 2022 13:54:33 +0200 Message-ID: <7d08dcfd-6ba0-f972-cee3-4fa0eff8c855@uls.co.za> Date: Fri, 1 Apr 2022 13:54:33 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: linux 5.17.1 disregarding ACK values resulting in stalled TCP connections Content-Language: en-GB To: Florian Westphal , Eric Dumazet Cc: Neal Cardwell , LKML , Netdev , Yuchung Cheng References: <10c1e561-8f01-784f-c4f4-a7c551de0644@uls.co.za> <5f1bbeb2-efe4-0b10-bc76-37eff30ea905@uls.co.za> <20220401001531.GB9545@breakpoint.cc> From: Jaco Kroon Organization: Ultimate Linux Solutions (Pty) Ltd In-Reply-To: <20220401001531.GB9545@breakpoint.cc> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 2022/04/01 02:15, Florian Westphal wrote: Incidently, I always find your initials to be interesting considering (as far as I know) you work on netfilter firewall. > Eric Dumazet wrote: >> Next step would be to attempt removing _all_ firewalls, especially not >> common setups like yours. >> >> conntrack had a bug preventing TFO deployment for a while, because >> many boxes kept buggy kernel versions for years. >> >> 356d7d88e088687b6578ca64601b0a2c9d145296 netfilter: nf_conntrack: fix >> tcp_in_window for Fast Open > Jaco could also try with > net.netfilter.nf_conntrack_tcp_be_liberal=1 > > and, if that helps, with liberal=0 and > sysctl net.netfilter.nf_conntrack_log_invalid=6 > > (check dmesg/syslog/nflog). Our core firewalls already had nf_conntrack_tcp_be_liberal for other reasons (asymmetric routing combined with conntrackd left-over if I recall), so maybe that's why it got through there ... don't exactly want to just flip that setting though, is there a way to log if it would have dropped anything, without actually dropping it (yet)? Will do this first, first need to confirm that I can reproduce in a dev environment. Kind Regards, Jaco