From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Jean Subject: Re: Two links and a SMTP sever. Date: Tue, 18 Jan 2005 17:02:31 -0500 Message-ID: <41ED8777.2050604@cookinglinux.org> References: <26550.142.169.215.10.1106081679.squirrel@142.169.215.10> <28693.142.169.215.10.1106083062.squirrel@142.169.215.10> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Ulysses Almeida Cc: netfilter@lists.netfilter.org Ulysses Almeida wrote: > How can I debug, what happens after mangle PREROUTING. Can I do it > only for packets with src port set to 25? to get a "clear" output? If you are willing to debug, use TRACE target from pom. (at least 2 patches are needed). > On Tue, 18 Jan 2005 16:17:42 -0500 (EST), Samuel Jean > wrote: >>All other subsequent packet of this connection get verdict via >>the conntrack. (bypass NAT chains) >> > > So this conntrack entry is created while my syn packet is going > out.... Can something wrong happening here, and conntrack gives the > wrong veridict? As I said, did you enable this ? : CONFIG_IP_NF_NAT_LOCAL Cheers, Samuel