Thread (2 messages) flat view 2 messages, 2 authors, 2016-08-22

Re: Patch to netfilter conntrack for secondary connection logging

From: Florian Westphal <fw@strlen.de>
Date: 2016-08-22 09:00:11

Thomas Winter [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help