From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Heinz Subject: Re: Loop Detection Date: Sun, 15 Dec 2002 16:04:06 +0100 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <3DFC99E6.9070901@hipac.org> References: <3DFC8933.9030607@hipac.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: netfilter-devel@lists.netfilter.org, netfilter@lists.netfilter.org I wrote: > The other definition which is tighter is: > > Def2: If a packet is matched it traverses certain chains until a > terminal target is reached. Those chains form a path. > A loop exists if and only if there exists a packet whose path > through the chains contains some chain at least twice. It must be stated that implementing a loop detection based on Def2 is not possible if general function based matches are used (like netfilter does). As we want nf-hipac to support function based matches we have in fact no choice. Our loop detection will use Def1.