From: Mauro Santos <registo.mailling@gmail.com>
To: netfilter@vger.kernel.org
Subject: Help/guidance with automatic CT helper assignment
Date: Mon, 10 Apr 2017 22:22:25 +0100 [thread overview]
Message-ID: <4be4e306-a7e4-4aa9-feae-ec00de07b463@gmail.com> (raw)
Hello,
I'm running linux 4.10.8 and I am aware that automatic connection
tracker loading has been disabled by default for security reasons.
I'm currently seeing:
nf_conntrack: default automatic helper assignment has been turned off
for security reasons and CT-based firewall rule not found. Use the
iptables CT target to attach helpers instead.
in my kernel logs, which is to be expected to some degree I suppose.
What I would like some help/guidance with is finding out what is causing
this, that is, finding out which program would cause an automatic helper
to be loaded if automatic loading was enabled.
I have currently setup two helpers, one for ftp and one for pptp (which
pulls the gre helper if I'm not mistaken). These two helpers have been
added with:
iptables -t raw -A OUTPUT -p tcp --dport 21 -j CT --helper ftp
iptables -t raw -A OUTPUT -p tcp --dport 1723 -j CT --helper pptp
I have tried monitoring incoming and outgoing connections with source
and destination ports that the other helpers should work with (I've
taken the list from here http://www.shorewall.net/Helpers.html) but the
timestamps of the messages (ports log and nf_conntrack message) are too
far for me to believe I'm catching what is causing this.
Short of logging everything in bulk, is there anything else I can try to
catch the culprit? I'd like to avoid logging in bulk because I have not
found a way to trigger this on demand and sometimes I see the
nf_conntrack message several hours after boot, which would make for huge
logs with normal machine usage (youtube, video calls, etc).
--
Mauro Santos
next reply other threads:[~2017-04-10 21:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-10 21:22 Mauro Santos [this message]
2017-04-11 10:31 ` Help/guidance with automatic CT helper assignment Noel Kuntze
2017-04-11 12:56 ` Mauro Santos
2017-04-11 20:14 ` Mauro Santos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4be4e306-a7e4-4aa9-feae-ec00de07b463@gmail.com \
--to=registo.mailling@gmail.com \
--cc=netfilter@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.