[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netfilter-devel
Subject:    Re: [PATCH] nft_flow_offload: Fix the peer route get from wrong daddr
From:       Pablo Neira Ayuso <pablo () netfilter ! org>
Date:       2018-12-29 12:42:17
Message-ID: 20181229124217.b6wbizgjozvexhpj () salvia
[Download RAW message or body]

On Fri, Dec 28, 2018 at 02:14:58PM +0800, wenxu@ucloud.cn wrote:
> From: wenxu <wenxu@ucloud.cn>
> 
> For nat example:
> client 1.1.1.7 ---> 2.2.2.7 which dnat to 10.0.0.7 server
> 
> When syn_rcv pkt from server it get the peer(client->server) route
> through daddr = ct->tuplehash[!dir].tuple.dst.u3.ip, the value 2.2.2.7
> is not correct in this situation. it should be 10.0.0.7
> ct->tuplehash[dir].tuple.src.u3.ip

Please, Cc netfilter-devel@vger.kernel.org for your netfilter patches.

Thanks.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic