[PATCH 13/18] Netfilter: Multiport revision with port ranges
(replaces "mport")
Rusty Russell
rusty at rustcorp.com.au
Mon Jan 10 03:24:11 CET 2005
On Sun, 2005-01-09 at 23:34 +0100, Pablo Neira wrote:
> bonjour,
>
> Herve Eychenne wrote:
>
> >>(note: didn't update manpage, but then again, wasn't updated with previous
> >>changes)
> >>
> >>
> >
> >Maybe because no one stated what the manpage policy regarding the
> >new revision system would be?...
> >When adding every successive revision documentation of every
> >match/target to the manpage, wouldn't it become severly bloated in the
> >end?
You should add the new feature to the manpage. The extension should
then fail with an appropriate message if the version of the kernel does
not support the option used.
eg. libipt_MARK.c's "parse_v0" accepts --and-mark (introduced in rev1)
like so:
case '2':
exit_error(PARAMETER_PROBLEM,
"MARK target: kernel too old for --and-mark");
Cheers,
Rusty.
--
A bad analogy is like a leaky screwdriver -- Richard Braakman
More information about the netfilter-devel
mailing list