Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp500631imm; Fri, 28 Sep 2018 02:01:47 -0700 (PDT) X-Google-Smtp-Source: ACcGV61eFs4O4/I6u3ztxm7Cs1731zP4tGvNiwH1zXaIqlJm02givws8mC2Cd2V/ge1SK+tetL92 X-Received: by 2002:a63:b95e:: with SMTP id v30-v6mr13899822pgo.221.1538125307623; Fri, 28 Sep 2018 02:01:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538125307; cv=none; d=google.com; s=arc-20160816; b=fRnQwkwyrY9BkQuLTdbO6352mUCXXRC2fYLr4FcDbctuVRIfvUYmkjdwFenvsLfc9E BHrzaF3AisCxxLzRM3j8sAbzqhNR0MIZ4zGclei7/0cwijyomW2TLNSrXitddi260eQ3 7hI9CWC85viWbc6st+gtYrZlcn/wlzI09J6NEffE/kNwbDqUjFn3gJWxc020uctXxHj2 WFXf8It+CSm9kovXHhNyhccn6ZaqyqJLC43mUOFSNeXgoal8/tEVG3C/NYjLpBc4fzr6 8NSkkAFHsLwtE4mOKztVzUXkyzoPMg5t0lzw99E8tj71y8QDXHlvpMeWdN7b/UAFejm8 QP7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=7ZM6Jbm7sg3FhQJ1N8fWIgx/rMQA4ouxuuvdFWrSPEI=; b=ymwWVcudT9QbHEFJWps5PFp/3WBsGeQVmKzhMhwWMUXw9vdr172ORYHSKYRnpHQwVa bp1FbApu4e9Z9q3o0+0+b6PdefbuBvXPf4PqK37b6KcWH0foHqYd5oNKZVwnkjO9RApE D4+eLcPdJuDhxquc2tdar0O5+cyQRyekK+rYmfW7KNMWWYoluy532scqTDXNY1IcaNVC 8H1/dTFTq2ieyCPnEhBRbFC4eqz+7G+Ak12NLumbi93mz9a+ocB16pbjAR9O0aRxoKg+ v2iMfIxv3U7u/QAGspmmRDVD1MjBn1DknbHG7f3exw96ayIZYhAJeDK9wbQyhomTd7Mp 6cXw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w4-v6si4222116pgj.566.2018.09.28.02.01.31; Fri, 28 Sep 2018 02:01:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729254AbeI1PYC (ORCPT + 99 others); Fri, 28 Sep 2018 11:24:02 -0400 Received: from mail.us.es ([193.147.175.20]:53418 "EHLO mail.us.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726440AbeI1PYB (ORCPT ); Fri, 28 Sep 2018 11:24:01 -0400 Received: from antivirus1-rhel7.int (unknown [192.168.2.11]) by mail.us.es (Postfix) with ESMTP id 22DE447C48 for ; Fri, 28 Sep 2018 11:01:14 +0200 (CEST) Received: from antivirus1-rhel7.int (localhost [127.0.0.1]) by antivirus1-rhel7.int (Postfix) with ESMTP id F19F5DA8FD for ; Fri, 28 Sep 2018 11:01:13 +0200 (CEST) Received: by antivirus1-rhel7.int (Postfix, from userid 99) id DFA7ADA87F; Fri, 28 Sep 2018 11:01:13 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on antivirus1-rhel7.int X-Spam-Level: X-Spam-Status: No, score=-108.2 required=7.5 tests=ALL_TRUSTED,BAYES_50, SMTPAUTH_US2,USER_IN_WHITELIST autolearn=disabled version=3.4.1 Received: from antivirus1-rhel7.int (localhost [127.0.0.1]) by antivirus1-rhel7.int (Postfix) with ESMTP id B0D8DDA796; Fri, 28 Sep 2018 11:01:11 +0200 (CEST) Received: from 192.168.1.97 (192.168.1.97) by antivirus1-rhel7.int (F-Secure/fsigk_smtp/550/antivirus1-rhel7.int); Fri, 28 Sep 2018 11:01:11 +0200 (CEST) X-Virus-Status: clean(F-Secure/fsigk_smtp/550/antivirus1-rhel7.int) Received: from us.es (sys.soleta.eu [212.170.55.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 1984lsi) by entrada.int (Postfix) with ESMTPSA id 61F634265A31; Fri, 28 Sep 2018 11:01:11 +0200 (CEST) Date: Fri, 28 Sep 2018 11:01:11 +0200 X-SMTPAUTHUS: auth mail.us.es From: Pablo Neira Ayuso To: Christian =?iso-8859-1?Q?G=F6ttsche?= Cc: kadlec@blackhole.kfki.hu, fw@strlen.de, davem@davemloft.net, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, paul@paul-moore.com, sds@tycho.nsa.gov, eparis@parisplace.org, jmorris@namei.org, serge@hallyn.com, selinux@tycho.nsa.gov, linux-security-module@vger.kernel.org Subject: Re: [PATCH v3 1/2] netfilter: nf_tables: add SECMARK support Message-ID: <20180928090111.7h2rj5vbf5l2dzcy@salvia> References: <20180923182616.11398-1-cgzones@googlemail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180923182616.11398-1-cgzones@googlemail.com> User-Agent: NeoMutt/20170113 (1.7.2) X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 23, 2018 at 08:26:15PM +0200, Christian G?ttsche wrote: > Add the ability to set the security context of packets within the nf_tables framework. > Add a nft_object for holding security contexts in the kernel and manipulating packets on the wire. > > Convert the security context strings at rule addition time to security identifiers. > This is the same behavior like in xt_SECMARK and offers better performance than computing it per packet. > > Set the maximum security context length to 256. Applied, thanks Christian.