* Intercepting connection creation/close with libnetfilter_conntrack
@ 2014-12-17 0:06 Hassan Sultan
0 siblings, 0 replies; only message in thread
From: Hassan Sultan @ 2014-12-17 0:06 UTC (permalink / raw)
To: netfilter
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-12-17 0:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-17 0:06 Intercepting connection creation/close with libnetfilter_conntrack Hassan Sultan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox