Skip to contentSkip to conversation

New target - how to publish?

DISCUSSION Tomasz Krzyzaniak 2 participants 2 messages Aug 26, 2003 netfilter

lore
Share & tools
lore
#0 lore raw

Hi!

I wrote brand new target, but i don't know how to publish it and add it to iptables, just to be avaiable to everyone. Any sugestions?

Best regards
Tomasz Krzyzaniak

#1 lore raw
Quoted 4 lines

Hi!

I wrote brand new target, but i don't know how to publish it and add it to iptables, just to be avaiable to everyone. Any sugestions?

Get the latest iptables source and patch-o-matic source. Add your own libipt_BRANDEWTARGET.c to userspace/extensions Add your own .BRANDNEWTARGET-test to userspace/extensions Prepare a set of files for patch-o-matic:
BRANDNEW.patch
BRANDNEW.patch.config.in BRANDNEW.patch.configure.help
BRANDNEW.patch.help
BRANDNEW.patch.makefile

Put them depending on their character to appropriate directory like: base, extra, ...

For more information read the patch-o-matic/NEWPATCHES file.

Test your version of patch-o-matic, recompile iptables and re-check if your TARGET works.

And then create a patch against an original netfilter tree like so:

# diff -Nru netfilter.orig netfilter > BRANDNEW_TARGET.diff

Recheck that diff, and send it off to netfilter-devel for inclusion to CVS. This way it'll be possible for CVS and patch-o-matic users to check that patch.

Regards,
Maciej