All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Beverley <andy@andybev.com>
To: Giuseppe Longo <giuseppelng@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: how the packet is traversed
Date: Tue, 02 Oct 2012 21:54:39 +0100	[thread overview]
Message-ID: <1349211279.4663.310.camel@andrew-desktop> (raw)
In-Reply-To: <CAFpD06STVTqteasiBmH+ahw2O1Ad2PNPuWePfzgx9xPHZbG41w@mail.gmail.com>

On Tue, 2012-10-02 at 22:20 +0200, Giuseppe Longo wrote:
> Hello,
> i'm a student of computer science, working on a project using iptables.
> I'm confused how the packet is treated when it's arrived in the iptables.
> 
> Someone can explain me this process?

Well there are various tutorials, none of which I can find right now,
but a picture paints a thousand words...

This diagram is a good place to start as it's simple, although probably
out of date:

http://www.docum.org/docum.org/kptd/

Once you've got your head around that, this is the fully comprehensive
one, but tougher for beginners:

http://upload.wikimedia.org/wikipedia/commons/3/37/Netfilter-packet-flow.svg

If you've got any specific questions, then please ask!

Andy



  parent reply	other threads:[~2012-10-02 20:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-02 20:20 how the packet is traversed Giuseppe Longo
2012-10-02 20:52 ` 叶雨飞
2012-10-02 20:54 ` Andrew Beverley [this message]
2012-10-02 20:59 ` Marco Padovan
2012-10-02 21:03 ` Neal Murphy
2012-10-03  4:51 ` Vigneswaran R
2012-10-03 16:36 ` Csordás Csaba Ifj.

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=1349211279.4663.310.camel@andrew-desktop \
    --to=andy@andybev.com \
    --cc=giuseppelng@gmail.com \
    --cc=netfilter@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.