lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Wed, 27 Oct 2010 20:18:15 -0700
From:	"B. James Phillippe" <bryanp35@...cast.net>
To:	linux-kernel@...r.kernel.org
Subject: Confusion on change from Jun '09, to remove connection-tracking notifier

Hello,

First let me thank you for reading my message.  I was a LKML subscriber and Linux hacker many years ago but made the switch over to the dark side (NetBSD, then OS X) and am just coming back to Linux.

I have a kernel module (GPL) I'm trying to update from 2.6.2x to 2.6.3x.  This module uses the old ip_conntrack_register_notifier() API to make use of conntrack events from netfilter.  This API was refactored in Jun '09 to become nf_conntrack_register_notifier() through commit e34d5c1a4f9919a81b4ea4591d7383245f35cb8e.  In its new form, it is a mutually-exclusive interface.  NETLINK is the only kernel-based user of this API that I can find.  Because it is now mutually-exclusive, for my module to use it, it would have to do so at the expense of NETLINK.

I'm trying to understand what the appropriate interface now is for me to get access to conntrack events in harmony with NETLINK.  It looks like I should be using NETLINK, which is fine, but I cannot find a clean example of how to do that from within the kernel.  The NETLINK socket interface (and corresponding library) for doing fancy things with NETLINK from userspace is certainly clear, but I don't think I should need to go through that much complexity.

Specifically, all I want to be able to do with my module is add additional tracking for creation/deletion of conntrack entries.  What is the intended (hopefully simple) mechanism that I should use for this purpose in 2.6.3x kernel?

Thanks again for reading,
--
-bp


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ