ctnetlink oidentd patch (was: Re: Connection track logging)
Martin Josefsson
gandalf@wlug.westbo.se
11 Apr 2002 19:08:11 +0200
Hi everyone,
I've put up my patch for oidentd to use ctnetlink for lookups instead of
using /proc/net/ip_conntrack which is very slow when yo have many
tracked connections. I'm using it in a production NAT-router here
without any problems, works beutifully.
http://gandalf.hjorten.nu/oidentd-2.0.1-ctnetlink.diff
this requires that you have compiled libctnetlink, it's part of ctrace.
you will need to change the libctnetlink path in Makefile.in and in
src/linux.c
you will probably be required to change at least list.h from the kernel
includes to allow you to include it from userspace... there's a
possiblilty that more changes are required, it's been a while since I
compiled it.
Good luck, you may need it :)
--
/Martin
Never argue with an idiot. They drag you down to their level, then beat
you with experience.