From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: Re: NFULNL_CFG_F_CONNTRACK and IPv6 Date: Wed, 13 Jan 2021 18:50:54 +0100 Message-ID: <20210113175054.GA10377@salvia> References: <57c4adaf-69c0-4135-a89c-095ed4785d22@www.fastmail.com> <20210112165713.GE19605@breakpoint.cc> <20210112174158.GF19605@breakpoint.cc> <329975d1-91a4-4db9-aa6b-ff1244b08e26@www.fastmail.com> <20210112183603.GG19605@breakpoint.cc> <836936e3-b1ba-4605-a405-89152edfd7e2@www.fastmail.com> <20210112192650.GH19605@breakpoint.cc> <9d1e1f00-9198-4632-897f-dabb22d6e4d4@www.fastmail.com> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <9d1e1f00-9198-4632-897f-dabb22d6e4d4@www.fastmail.com> List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Rafael David Tinoco Cc: Florian Westphal , netfilter@vger.kernel.org, Ken-ichirou MATSUZAWA On Wed, Jan 13, 2021 at 10:25:23AM -0300, Rafael David Tinoco wrote: > On Tue, Jan 12, 2021, at 6:33 PM, Rafael David Tinoco wrote: > > > > which kernel are you running Florian? > > > > > > 5.10.5 stable. I can check Fedora tomorrow, I don't have classic > > > iptables there at the moment. > > > > > > > NM Florian, > > > > My code was returning -1 on a callback function, disabling the polling > > for the netlink socket file descriptor. I had it fixed: > > > > TCPv6 [ 0] src = fe80::5054:ff:fecc:767d (port=1024) to dst = > > fe80::5054:ff:fecc:767d (port=22) (confirmed) > > table: raw, chain: PREROUTING, type: rule, position: 1 > > > > and it is working fine now. > > > > Too soon, *definitely* conntrack data tied to trace ulog netlink is intermittent. Trying to discover... I'll probably have to trace kernel to figure out why its not being included... > > log received (prefix="TRACE: raw:OUTPUT:policy:3 " hw=0x86dd hook=3 mark=0) > 2050141312021TRACE: raw:OUTPUT:policy:3 386dd12 (ret=229) > log received (prefix="TRACE: raw:OUTPUT:policy:3 " hw=0x86dd hook=3 mark=0) > 2050141312021TRACE: raw:OUTPUT:policy:3 386dd12 (ret=229) > log received (prefix="TRACE: raw:OUTPUT:policy:3 " hw=0x86dd hook=3 mark=0) > 2050141312021TRACE: raw:OUTPUT:policy:3 386dd12 (ret=229) There is no conntrack information yet in the raw table.