From: Adam Rosi-Kessel Subject: Re: Why would certain packets not reach nat PREROUTING chain? Date: Thu, 24 Nov 2005 08:36:32 -0500 Message-ID: <20051124133632.GA3251@bostoncoop.net> References: <4379E61F.5000807@rosi-kessel.org> <20051115235319.GA1727@bostoncoop.net> <20051118015254.GA21128@bostoncoop.net> <437EA014.1060908@rosi-kessel.org> <4380B04C.3090204@rosi-kessel.org> Mime-Version: 1.0 Return-path: Content-Disposition: inline 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" Content-Transfer-Encoding: 7bit To: Jozsef Kadlecsik Cc: netfilter@lists.netfilter.org On Thu, Nov 24, 2005 at 12:00:17PM +0100, Jozsef Kadlecsik wrote: > > >> So are there no diagnostics, absent rebuilding with netfilters debugging on, > > >> for tracing a packet in between mangle PREROUTING and nat PREROUTING? > > > Without further aid, no. > > Okay, so I've rebuilt 2.6.8 with NETFILTER_DEBUG=Y. What would be the next > > step? From what I can tell, NETFILTER_DEBUG isn't something turned on and > > off in /proc/net or /proc/sys/net, it just is "on," but I'm not quite sure > > what sort of debug messages we should be trying to get and how. > You should get debug messages logged with the 'kernel' syslog facility. > Look at /var/log/kern.log. Strangely, all that is appearing in /var/log/kern.log are my LOG targets, in other words, exactly what I was getting with NETFILTER_DEBUG=N. # grep NETFILTER_DEBUG /boot/config-`uname -r` CONFIG_NETFILTER_DEBUG=y # grep -v EEE /var/log/kern.log (where EEE is part of my prefix in --log-prefix for the LOG target). > I'm going to try to emulate your problem with nfsim using your setup and > the tcpdump results. Probably that can help. That would be great. Thanks-- -- Adam Rosi-Kessel http://adam.rosi-kessel.org