From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: Where is DROP target implemented {Virus Scanned} Date: Fri, 16 Apr 2004 18:39:31 +0200 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <40800C43.9040105@trash.net> References: <200404161525.i3GFP2Fq012438@localhost.localdomain> 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: Qiang In-Reply-To: <200404161525.i3GFP2Fq012438@localhost.localdomain> 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 Qiang wrote: > I am trying to read the Netfilter kernel, can't find where is the DROP > Target implemented? Any hints which file to look at ? thanks! > Interesting question, I didn't know either until just now ;) DROP/ACCEPT/RETURN (and I think QUEUE) are handled by ipt_standard_target (net/ipv4/netfilter/ip_tables.c). Regards Patrick