All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Lluís Batlle" <viriketo@gmail.com>
To: lartc@vger.kernel.org
Subject: [LARTC] About multihop route decision without Julian's patches
Date: Tue, 05 Jul 2005 15:39:54 +0000	[thread overview]
Message-ID: <45219fb005070508395241a389@mail.gmail.com> (raw)

As I've read in
http://gnumonks.org/papers/netfilter-lk2000/presentation.html, there's
said about the "nat" netfilter table:
"This table is different from the 'filter' table, in that only the
first packet of a new connection will traverse the table. The result
of this traversal is then applied to all future packets of the same
connection."

I imagine that the result of this traversal is stored in a kernel
table, dumpable through "/proc/net/ip_conntrack". There is no
information about the destination device of the route... When is the
route decision made? After setting all the information gathered from
ip_conntrack, or _before_ that? It isn't clear to me, if the "applying
of the result of the traversal" is applied in the PREROUTING or the
POSTROUTING nat chain.

I think I better look at the source code... but it's quite hard for me
to understand the data structures there. If not an answer about my
question, I'd agree for a link to the documentation of all net-code
data structures of the linux kernel.

Thanks :)
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

                 reply	other threads:[~2005-07-05 15:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=45219fb005070508395241a389@mail.gmail.com \
    --to=viriketo@gmail.com \
    --cc=lartc@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.