]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: ctnetlink: dump conntrack ID in event messages
authorEric Leblond <eric@inl.fr>
Wed, 14 May 2008 06:27:11 +0000 (23:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 May 2008 06:27:11 +0000 (23:27 -0700)
commit030bb06281edcfc80e6a680cad7feaa63d51b504
tree5eb8c64c352cbf4e231c12f1617f95217b926a49
parentbae03e197094d8dbaa49e75c14a80e287a440ab3
netfilter: ctnetlink: dump conntrack ID in event messages

Conntrack ID is not put (anymore ?) in event messages. This causes
current ulogd2 code to fail because it uses the ID to build a hash in
userspace. This hash is used to be able to output the starting time of
a connection.

Conntrack ID can be used in userspace application to maintain an easy
match between kernel connections list and userspace one. It may worth
to add it if there is no performance related issue.

[ Patrick: it was never included in events, but really should be ]

Signed-off-by: Eric Leblond <eric@inl.fr>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_conntrack_netlink.c