From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Heinz Subject: Re: [Fwd: ACCEPT/DROP] Date: Wed, 25 Dec 2002 12:48:41 +0100 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <3E099B19.50705@hipac.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: netfilter-devel@lists.netfilter.org Return-path: To: Patrick McHardy Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org Hi Patrick You wrote: > This may be true for code, but iptables rules describe sets of packets This is true for the basic cases only. In general the matches of a rule must be considered to be arbitrary packet action (ACCEPT, DROP, CONTINUE) returning functions that may even return different actions for the same packet. The only constraint for matches is that they should work read-only on the packet content, i.e. not modify it. Of course your statement is correct in the context of the classical packet classification problem. Thomas