From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [PATCH 2.4] fix ipt_REJECT when used in OUTPUT Date: Mon, 22 Sep 2003 13:08:30 +0200 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <3F6ED82E.5060606@trash.net> References: <20030921144013.GA22223@sunbeam.de.gnumonks.org> <3F6EAFF2.9080303@isfera.ru> <20030922085326.GF31401@sunbeam.de.gnumonks.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Diadon , David Miller , Netfilter Development Mailinglist , linux-kernel@vger.kernel.org Return-path: To: Harald Welte In-Reply-To: <20030922085326.GF31401@sunbeam.de.gnumonks.org> 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 Harald Welte wrote: >David, pleas defer applying that patch until further testing is done. > >Sorry for the confusion. > My bad, I missed that we cannot pass the packet to ip_finish_output2 since it was routed as local input and is missing a neighbour. The correct fix is to use ip_route_output for packets generated in LOCAL_OUT with key.saddr set to 0 (the first one I sent to Diadon). Best regards, Patrick