Skip to contentSkip to conversation

Doc on writing conntrack module?

DISCUSSION Ian Pilcher 2 participants 3 messages Feb 5, 2012 netfilter

lore
Share & tools
lore
#0 lore raw

I would like to write a conntrack module for the Simple Service Discovery Protocol (SSDP):

http://en.wikipedia.org/wiki/Simple_Service_Discovery_Protocol

This certainly seems like it should be reasonably straightforward, but I'm having trouble relating the documentation in the Hacking HOWTO to what I see in the actual kernel (in nf_conntrack_snmp.c, for example). Hardly surprising, given the age of the HOWTO.

Is there any more recent documentation?

If not (i.e. there's only the kernel source), pointers to the particular headers, functions, and macros on which I should be focusing would be much appreciated.

Thanks!

Signature · 4 lines
========================================================================
Ian Pilcher                                         [email protected]
"If you're going to shift my paradigm ... at least buy me dinner first."
========================================================================
#1 lore raw
Quoted 11 lines · Ian Pilcher

I would like to write a conntrack module for the Simple Service Discovery Protocol (SSDP):

http://en.wikipedia.org/wiki/Simple_Service_Discovery_Protocol

This certainly seems like it should be reasonably straightforward, but I'm having trouble relating the documentation in the Hacking HOWTO to what I see in the actual kernel (in nf_conntrack_snmp.c, for example). Hardly surprising, given the age of the HOWTO.

Is there any more recent documentation?

"Writing Netfilter Modules" PDF, though arguably the conntrack sections are thin.

#2 lore raw
Quoted 2 lines · Jan Engelhardt

"Writing Netfilter Modules" PDF, though arguably the conntrack sections are thin.

Checking it out now. Thanks!

Signature · 4 lines
========================================================================
Ian Pilcher                                         [email protected]
"If you're going to shift my paradigm ... at least buy me dinner first."
========================================================================