[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <487a3378-da1b-8c7e-4e86-6ac82aa418ac@ucloud.cn>
Date: Tue, 15 Jan 2019 23:19:23 +0800
From: wenxu <wenxu@...oud.cn>
To: Florian Westphal <fw@...len.de>
Cc: pablo@...filter.org, dsahern@...il.com,
netfilter-devel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] netfilter: nft_meta: Add NFT_META_L3MASTER meta type
On 2019/1/15 下午7:17, Florian Westphal wrote:
> wenxu@...oud.cn <wenxu@...oud.cn> wrote:
>> From: wenxu <wenxu@...oud.cn>
>> so with this patch userspace can add the 'don't re-do entire ruleset for vrf' policy
>> itself like the following
>>
>> nft add rule firewall rules-all meta l3master true counter accept
> I wonder if we need to support this also for output interface, and if
> this should be specific to vrf or not.
>
> Example:
>
> meta iifl3master exists accept
> meta oifl3master exists accept
> or
> meta iifkind "vrf" accept
> meta oifkind "vrf" accept
>
> (the latter could e.g. place rtnl_op ".kind" in the register)
>
> Not sure if that would ever be useful beyond vrf.
>
yes, iifkind type mus useful for most other cases.
Powered by blists - more mailing lists