Skip to contentSkip to conversation

Ctnetlink?

DISCUSSION Paul Albert 2 participants 2 messages Nov 3, 2003 – Nov 4, 2003 netfilter

lore
Share & tools
lore
#0 lore raw
Quoted 6 lines
Quoted 4 lines

Will this provide me a command-line interface to remove connections from ip_conntrack?

no, but you can easily write one that sends the respective netlink

messages to the

Quoted 1 line

ctnetlink core.

That is quite attractive. Thanks for writing such a piece of code!

Quoted 3 lines
Quoted 1 line

Is there more documentation on this?

no.

Is the only way to learn more about this to apply it through the POM and check out some of the code? I would like to learn more, but I'm not sure how to go about this ...

Much thanks,
Paul

#1 lore raw
Quoted 8 lines · Paul Albert

Is the only way to learn more about this to apply it through the POM and check out some of the code? I would like to learn more, but I'm not sure how to go about this ...

Much thanks,
Paul

You can find some incomplete but partial working code at
http://trash.net/~kaber/ctnetlink (ct.tar.gz I believe). It's a command-line tool I used for testing ctnetlink. It also includes a ctnetlink monitor. It's probably enough for a start but beware that ctnetlink interface is not stable at all and may change any minute ;) Most stuff that is currently in place will probably stay, but you never know ..

Best regards,
Patrick