From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: Re: Attaching nfct timeout policy Date: Thu, 15 Dec 2016 21:53:15 +0100 Message-ID: <20161215205315.GA3768@salvia> References: Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: zrm Cc: "netfilter@vger.kernel.org" On Thu, Dec 15, 2016 at 01:46:46PM -0500, zrm wrote: > The nfct command allows creating a custom timeout policy. The man page > describes how to attach the timeout policy using iptables. > > How do you attach it when the flow is created using the conntrack API with > NFCT_Q_CREATE, or attach to a flow that already exists? You have to use libnetfilter_cttimeout.