Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp857838rwe; Thu, 1 Sep 2022 08:37:37 -0700 (PDT) X-Google-Smtp-Source: AA6agR78R2FRacGww/V8pvBaZTvLsbk0jvhIySfLojH/oC7oPXLgdVywGo1j/Zlv8DJydQVcy5fi X-Received: by 2002:a63:170d:0:b0:415:f76d:45e1 with SMTP id x13-20020a63170d000000b00415f76d45e1mr26754182pgl.171.1662046656854; Thu, 01 Sep 2022 08:37:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662046656; cv=none; d=google.com; s=arc-20160816; b=0cAOvEJ0vpLxEsQpFl+UjV00Ft/7mqM9754fRMWIEMLbh5C6VLQz5c4f2+c3QBg+He lD7TQN+/lb7D27M7RowHD/2Vk5GpLC9RCQwmmPnsp4msvB32+lcBRiY50fLmJF/uSrLl /4kB8ZsMxu5YIuWm3IJAksmsqAotXunSxYWt1kULvffVEzcY7yjW7s5MyvxL0B6hnprx bx05/9eKPXzNGxwq6nZpw2T1HgxsTTyLU3WU/OWKuIEtEW0ABGRM9wTL7ksYuGB6Rb0q TaX93SCe9dFXzcFgymqtZPARRZKlvmK6NA6munXBOMAtly8fkbsyszd+E/D/cbXxXKFU bcxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=vcK8Y9RIhCFnLAHNF1ma+eBloNnCb12iQrkaA2RWwss=; b=Gr1LX1KlhEZ5lsGU76dWOEDNuOqj+8AdR3d6f7zPGdcguUBZfo4Io/rG0ILeHw59Wg HkjmuIMbuEVoPQjOnFG5FljMxLplX9Yi0pjLJnPbF7UHhDgCs3eHeLmLfiVmbd7qFLr5 KLoOk2+p0inmrdDALpheBcQDoklWh0fZ5uUuQIeh3jUDuU/epEAh9CvCDcBNJq/uQ9UC UTkevQ8xhQUeFri99RbzyI3KYi+x5mDfUkNPTlk6xodwsOyczMiWAtTQM92FwCw/DJqx YGtDemvBK+VETpgBtboj+42nQNiEjfxbUJDB61ENf/ydawKVgoErz7QQvMcf5bTfFBoM 2X6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CLVGkKkq; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ob18-20020a17090b391200b001f2ce43f6a9si5609947pjb.100.2022.09.01.08.37.23; Thu, 01 Sep 2022 08:37:36 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CLVGkKkq; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232372AbiIAPD5 (ORCPT + 99 others); Thu, 1 Sep 2022 11:03:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234227AbiIAPDz (ORCPT ); Thu, 1 Sep 2022 11:03:55 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACF9083BE5; Thu, 1 Sep 2022 08:03:53 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id s11so22930722edd.13; Thu, 01 Sep 2022 08:03:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date; bh=vcK8Y9RIhCFnLAHNF1ma+eBloNnCb12iQrkaA2RWwss=; b=CLVGkKkq/LgD+cnFQOBUzqNyMDKzqCmneML9igIGH21aL1qaB01IR1MGTfUeaE+mkC P0Bqs5Hm2jJX4LghL1s25mvHgPqhSusaATiSomUqcmb5pyZ+Ut59gpyDQvfGacFJokdx zL46/UrTEHe1u6MiaxkzdjZZFP8bN24zSYxvcOVV+sEpteyIik5m4Ot6jLpL4O1xS1Ci 3LHN0Xuchj4i1ranV/AIN7UQR9JYaovQJ903/yHm3bEVhAwtc73gMdwiTWTITKWITJBZ clsHHPSng+BYK9GNC4JOrZb96p4jjl8m0+6QRH/+Pl4m16Qde9xKgZOqn9abEW6UOcYq Hk7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date; bh=vcK8Y9RIhCFnLAHNF1ma+eBloNnCb12iQrkaA2RWwss=; b=Q5tM1knmNpefvTpECdUpQZ14L7p4R/sGEjFsLo56ojjAmCmCJKhg+WBMiPCHoDuO2I a6zFGKyq9wr+c7Af+pP7uDgf8LzHH8UJ5JwLzMgUspWfowm20Lzc4JCh3Go7Dcwouh/H Yr0WFl+WjZrcfYECBgQQhmGkURG4yQlV/WECuoTNjSWgNrTnMalMC1AIMrBnsWSaTxyn jwDi77CbD0ayvqKHQfOpD7J9ozAxiUNQGl/0F4Mr3caHyvWpzA4c198n/rl36efi1kNS phfqxUPxPlqgvrUKsdJ7Mxy2XZTUpkC+98iBBYBYdsRtTGsNDtXSFdNtVSXl75Uqw/nP FxZQ== X-Gm-Message-State: ACgBeo2vQDtRkoBqvrow7sT/7VQHJY1orR8MU3hUg4zMBSZ14W7KtXm+ /AVBJxtCAsMG+V29hLv4ePE= X-Received: by 2002:a05:6402:268b:b0:446:381d:7b45 with SMTP id w11-20020a056402268b00b00446381d7b45mr29179355edd.372.1662044632304; Thu, 01 Sep 2022 08:03:52 -0700 (PDT) Received: from debian ([89.238.191.199]) by smtp.gmail.com with ESMTPSA id o18-20020a170906601200b007314a01766asm8545273ejj.211.2022.09.01.08.02.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Sep 2022 08:03:51 -0700 (PDT) Date: Thu, 1 Sep 2022 17:01:18 +0200 From: Richard Gobert To: Eric Dumazet Cc: David Miller , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , Hideaki YOSHIFUJI , David Ahern , Alexander Aring , Stefan Schmidt , Pablo Neira Ayuso , Jozsef Kadlecsik , Florian Westphal , Martin KaFai Lau , netdev , "open list:DOCUMENTATION" , LKML , linux-wpan@vger.kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org Subject: Re: [PATCH 3/4] net-next: frags: add inetpeer frag_mem tracking Message-ID: <20220901150115.GB31767@debian> References: <20220829114648.GA2409@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 On Mon, Aug 29, 2022 at 03:15:47PM -0700, Eric Dumazet wrote: > We tried to get rid of any dependence over inetpeer, which is not > resistant against DDOS attacks. > > So I would not add a new dependency. I see your point. What do you suggest doing differently? The inetpeer mechanism is used for IPv4 frags. If it isn't resistant against DDoS attacks, can it perhaps be improved?