Re: [PATCH] iptables: add -C to check for existing rules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dies schrieb Jan Engelhardt (jengelh@xxxxxxxxxx):

> > /*DEL_CHAIN*/ {'x','x','x','x','x',' ','x','x','x','x','x','x'},
> > /*SET_POLICY*/{'x','x','x','x','x',' ','x','x','x','x',' ','x'},
> > /*RENAME*/    {'x','x','x','x','x',' ','x','x','x','x','x','x'},
> >-/*LIST_RULES*/{'x','x','x','x','x',' ','x','x','x','x','x','x'}
> >+/*LIST_RULES*/{'x','x','x','x','x',' ','x','x','x','x','x','x'},
> >+/*CHECK*/     {'x',' ',' ',' ',' ',' ','x',' ',' ','x','x',' '}
> 
> This would make it impossible to check for a rule that used the fragment
> test.
> 
> Does --lin even make sense with -C?

I'm not sure, I simply copied the line for DELETE to mimic the interface. In
fact, -C does exactly the same thing as -D - except the actual removal of the
rule.

> Where is ip6tables support?

It will probably follow soon, just like the missing paragraph of the man page :-)
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux