[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160822090008.GB6199@breakpoint.cc>
Date: Mon, 22 Aug 2016 11:00:08 +0200
From: Florian Westphal <fw@...len.de>
To: Thomas Winter <Thomas.Winter@...iedtelesis.co.nz>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: Patch to netfilter conntrack for secondary connection logging
Thomas Winter <Thomas.Winter@...iedtelesis.co.nz> wrote:
> Hello,
>
> We are using netfilter to implement a firewall for a router and we had the problem that the ftp data connections were not being logged.
> I did some investigating and found that it is conntrack that is allowing the secondary connection by the ftp helper module.
> I created a patch to enable such logging for any conntrack helper.
> Is this a good change? Or did I miss something really obvious?
It should be possible to log the data connections via
-p tcp -m conntrack --ctstate RELATED -m helper --helper ftp -j (NF)LOG
Powered by blists - more mailing lists