Linux Netfilter discussions
 help / color / mirror / Atom feed
From: fuzzy_4711 <fuzzy_4711@gmx.de>
To: TEJAS <tsevak@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: debug iptables rules
Date: Mon, 22 Aug 2011 22:53:31 +0200	[thread overview]
Message-ID: <4E52C1CB.5060104@gmx.de> (raw)
In-Reply-To: <CA+b04XnQ-cKfU9KUu9j_Tf0vp0jtadnNu69_Gob1mPAXVkytMw@mail.gmail.com>



-------- Original - Text --------

> But i want to
> debug these rules in live motion.I want to see what happening with
> packets while they traverse from iptables rules.
> 
>  Is there any method or any tool or anything to see what happening in
> snat rule and what happening in others iptables rules.
> 

Hi Tejas.

This may be exactly what you are looking for (tutorial included):
http://backreference.org/2010/06/11/iptables-debugging/

Take it easy.
-fuz

      parent reply	other threads:[~2011-08-22 20:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CA+b04XnYFUcukqbmQXiKbY4VjUaFs3red56Jfnzm4pj+z6ndRw@mail.gmail.com>
2011-08-22 15:10 ` debug iptables rules TEJAS
2011-08-22 15:30   ` Rob Sterenborg (Lists)
2011-08-22 15:53     ` TEJAS
2011-08-22 16:13       ` Rob Sterenborg (Lists)
2011-08-22 18:04         ` TEJAS
2011-08-23  9:08           ` Rob Sterenborg (Lists)
2011-08-23 14:35             ` TEJAS
2011-08-23 18:44               ` Rob Sterenborg (Lists)
2011-08-25 16:16                 ` Amos Jeffries
2011-08-23  8:18         ` Erik Schorr
2011-08-23 10:29           ` Jan Engelhardt
2011-08-22 20:53   ` fuzzy_4711 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E52C1CB.5060104@gmx.de \
    --to=fuzzy_4711@gmx.de \
    --cc=netfilter@vger.kernel.org \
    --cc=tsevak@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox