Jozsef Kadlecsik wrote:

> - rewrite the IPT_CONTINUE targets as matches

I am not very fond of this.. besides the order dependency it also has the 
question on how to easily determine what will happen with the packet.. No 
obvious distinction between something that matches packets and something that 
modifies packets or internal system state (conntrack, nfmark, ippools etc..).

> - do nothing: the problem can always be solved by introducing custom
>   chains :-)

Well.. Not really. Consider for example the LOG "target" where one wants to 
use the --log-prefix option to log different cases. Would require a custom 
chain per case which is quite cumbersome. But sure, it is in theory doable 
just as having all rules duplicated in a single chain is.

> > So the question to the Netfilter core team is if it would be OK to add
> > a new option and "module class" to the userspace tools, and have the
> > existing IPT_CONTINUE targets dual-register as both a target and a
> > match. I can try to whip something together if this is seen as
>
> In my opinion the match solution would be better, cleaner.

So your current opinion is that the IPT_CONTINUE targets should be rewritten 
as matches?

Regards
Henrik


Reply via email to