tech-net archive

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

Re: ipf group/head (and quick)



On Thu, Jun 09, 2016 at 06:49:24PM +0200, Edgar Fuß wrote:
> In the meantime, I managed to answer some of my question myself.
> 
> First, it looks that "head" indeed is sort of a subroutine call (to the 
> corresponding group's rules) and not a branch. The question remains whether 
> these calls can be nested.

they can

> 
> EF> What if a rule belonging to a non-default group has a "quick" attribute? 
> EF> Will this stop processing of the group or the whole ruleset?
> I now guess it will stop the whole ruleset, i.e., it's "exit" rather that 
> "return".

It depends on how the head of the ruleset is defined.
If it has a quick, a quick in this group will act as a exit.
If the head doens't have a quick, a quick in the group will act as a
return.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index