Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Kernel Packet Traveling Diagram
Date: Wed, 11 Sep 2002 18:11:13 +0000	[thread overview]
Message-ID: <marc-lartc-103176797805160@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102520121109677@msgid-missing>

> i tested only the POSTROUTING, and found that is before "nat
> POSTROUTING", beacouse i put:
>
> iptables -t mangle -A POSTROUTING -o eth0 -j LOG --log-prefix
> LOG_FILTER_EXT-DEF-
>
> and get in the logs this:
> Sep 11 00:18:22 www kernel: LOG_FILTER_EXT-DEF-IN= OUT=eth0
> SRC=10.0.0.100 DST=80.128.37.129 LEN=1
>
> and i have:
> Chain POSTROUTING (policy ACCEPT)
> target     prot opt source               destination
> SNAT       all  --  10.0.0.0/24          0.0.0.0/0          to:x.x.x.x
>
>
> so it's right??? if yes Stef please modify the diagram, if no, why?
>
> and probably the "mangle INPUT" is after "filter INPUT"
>
> and "mangle FORWARD" is after "filter FORWARD"
I updated the diagram.  Like Leonardo said, I putted mangle before nat.  Any 
updates/remarks are welcome.  I also added the imq device (right after mangle 
for incoming packets and after all tables for outgoing packets).

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  parent reply	other threads:[~2002-09-11 18:11 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-27 18:02 [LARTC] kernel packet traveling diagram Leonardo Balliache
2002-06-27 20:44 ` Julian Anastasov
2002-06-28  8:21 ` Stef Coene
2002-06-28 10:49 ` Jan Coppens
2002-06-30 20:48 ` Leonardo Balliache
2002-06-30 20:58 ` Leonardo Balliache
2002-09-10 22:35 ` [LARTC] Kernel Packet Traveling Diagram Ciprian Niculescu
2002-09-11 11:15 ` Leonardo Balliache
2002-09-11 18:11 ` Stef Coene [this message]
2007-07-02 10:11 ` Edouard Thuleau
2007-07-02 12:04 ` Edouard Thuleau
2007-07-02 12:11 ` nano bug
2007-07-02 12:25 ` Mark
2007-07-02 12:47 ` Frank Remetter
2007-07-02 15:08 ` nano bug
2007-07-03 11:41 ` Edouard Thuleau
2007-07-03 12:16 ` Edouard Thuleau
2007-07-04  0:51 ` Andy Furniss

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=marc-lartc-103176797805160@msgid-missing \
    --to=stef.coene@docum.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox