nf/ctnetlink and notify
Hi,
I'd have a question regarding the nfnetlink/ctnetlink patch in the
'extra' suite of POM. In this version of nfnetlink, the notify callback API is missing (ip_conntrack_notify_register() and friends), while in the old version in the oldnat directory it is part of the ctnetlink patch. Why was this left out of the patch? What are the main concerns with the _notify() code in the old patch?
As I can see some kind of such notification service will be required to
complete the nfnetlink patch, because in its current state it's totally uncapable of sending messages on conntrack state changes. (And one possible typo in the patch: in nfnetlink_conntrack.c ctnetlink_create is not commented out, but there is no use of this function.)
Signature · 1 line
Kovács Krisztián
Quoted 8 lines · Kovacs Krisztian
Hi,
I'd have a question regarding the nfnetlink/ctnetlink patch in the
'extra' suite of POM. In this version of nfnetlink, the notify callback API is missing (ip_conntrack_notify_register()and friends), while in the old version in the oldnat directory it is part of the ctnetlink patch. Why was this left out of the patch?
because I wanted to have a minimum subset of the functionality first. A subset that doesn't require adding any API to the conntrack core. As you may have noticed, with recent newnat-enabled kernels, nfnetlink is totally self-contained.
Quoted 1 line
What are the main concerns with the
_notify()code in the old patch?
It's quite some time ago. I don't even remember what the case was. But there was something (sorry...)
Quoted 3 lines
As I can see some kind of such notification service will be required to
complete the nfnetlink patch, because in its current state it's totally uncapable of sending messages on conntrack state changes.
True. This is one of the first issues on my TODO after iptables-1.2.8 is released and some of the bugzilla bugs are closed.
Quoted 3 lines
(And one possible typo in the patch: in
nfnetlink_conntrack.cctnetlink_createis not commented out, but there is no use of this function.)
I'm aware of that, thanks.
Quoted 1 line
Kovács Krisztián
Signature · 4 lines
- Harald Welte / [email protected] http://www.gnumonks.org/ ============================================================================ "If this were a dictatorship, it'd be a heck of a lot easier, just so long as I'm the dictator." -- George W. Bush Dec 18, 2000