Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Joel Newkirk <netfilter@newkirk.us>
To: netfilter@lists.netfilter.org
Subject: Packet chain traversals
Date: Sun, 27 Oct 2002 13:03:57 -0500	[thread overview]
Message-ID: <200210271303.57379.netfilter@newkirk.us> (raw)

I've been working on a chain traversal diagram (primarily for my own reasons, 
but if anybody likes it they are welcome to use it non-commercially) and have 
a few questions.

First, the current form of the diagram is (temporarily) at 
http://newkirk.no-ip.org:83/Traversal-sm.png
and the basic rule is that a packet cannot cross a black line.  The choices of 
colors are meaningless, except to differentiate chains.

I know that the 'latest' form of netfilter has mangle AND filter chains for 
forward and input, and mangle, nat, and filter chains for output.  (Yeah, the 
diagram would be even more confusingly complicated with that detailed :^)

Can someone offer some examples of uses for mangle-forward, mangle-input, 
mangle-output, and nat-output?  I can't see much use for them, but my use of 
iptables has been fairly simple so far, and most of my comprehension is based 
on the previous version of the tutorial. (and absorbing the gobs of 
information embedded in messages here :^)

Also, I wanted to ask for clarification on a point in the latest 
iptables-tutorial "Traversing of tables and chains" section:  At one point it 
seems that packets pass through mangle-forward THEN filter-forward, (diagram) 
yet elsewhere it seems to be the reverse. (table 1)  Which is correct?

Thanks for any input, examples, diagram criticism (artistic or logical) etc.  
If your response seems to you to be useless to the list in general then 
please just send it to me directly.

j

-- 
"The problem with the French is that they don't have a word for entrepreneur." 
--George W. Bush


             reply	other threads:[~2002-10-27 18:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-27 18:03 Joel Newkirk [this message]
2002-10-27 18:50 ` Packet chain traversals Oskar Andreasson
2002-10-27 19:21   ` Joel Newkirk
2002-10-27 21:23     ` Oskar Andreasson
2002-10-28  5:48       ` Joel Newkirk
2002-10-28  6:41         ` Problem With NAT to NAT with IPTABLES hare ram
2002-10-27 18:52 ` Packet chain traversals Oskar Andreasson
2002-10-28  8:32   ` Antony Stone
2002-10-28 21:18     ` Oskar Andreasson
2002-10-28 21:37       ` Antony Stone
2002-10-30 16:11         ` Matthew G. Marsh
2002-10-30 17:22           ` Antony Stone
2002-10-31 16:55             ` Matthew G. Marsh
2002-11-01 22:48             ` Joel Newkirk

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=200210271303.57379.netfilter@newkirk.us \
    --to=netfilter@newkirk.us \
    --cc=netfilter@lists.netfilter.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox