From: "Hassan Sultan" <hsultan@thefroid.net>
To: netfilter@vger.kernel.org
Subject: Intercepting connection creation/close with libnetfilter_conntrack
Date: Tue, 16 Dec 2014 16:06:58 -0800 [thread overview]
Message-ID: <op.xqzjxwt51jp0b1@win8mac> (raw)
Hi,
I am trying to write a simple app, that will intercept all connection
creation/close (any TCP connection and hopefully also any UDP
reception/emission).
I tried simply copying examples (I'm on Ubuntu 14.04 x64 with a 3.13-032
kernel) like this one :
https://git.netfilter.org/libnetfilter_conntrack/plain/utils/conntrack_events.c
However, when I launch it (using sudo so it's as root) and then create a
tcp connection (to localhost using telnet, confirming the connection was
created), nothing shows up.
What am I missing ? Do I need to enable auditing in the kernel/iptables
somehow ?
Thanks,
Hassan
reply other threads:[~2014-12-17 0:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=op.xqzjxwt51jp0b1@win8mac \
--to=hsultan@thefroid.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox