All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Re: iptables diagram (ex: ipchains + mark in output chain ?)
@ 2002-06-18 10:34 Julian Anastasov
  2002-06-20  0:19 ` Leonardo Balliache
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Julian Anastasov @ 2002-06-18 10:34 UTC (permalink / raw)
  To: lartc


	Hello,

On Tue, 18 Jun 2002, Ciprian Niculescu wrote:

> so you say that are 3 routing decision:
> - after nat prerouting
> - after local_process, and before mangle output
> - before nat postrouting

	Basicly, there are 2 routing decisions, for the others
I like the name rerouting:

1. Input Routing: after prerouting, kernel performs source
validation and nexthop decision, result: local_deliver/forwarding

2. Output Routing: local_process selects source address, creates
connected route or selects route for each packet. The resolved
route is attached to the packet and is used later. The Netfilter's
LOCAL_OUT chain detects complete packet which is obviously loaded with
some addresses. Which ones do you think if routing _decision_ is
not performed? :)

3. Output Rerouting: netfilter at LOCAL_OUT changes the already
selected output route if any of the routing keys are changed:
addresses, tos, nfmark, etc. The intention is the packet to change
its attached route and probably to go in another direction.
The connected sockets do not notice this change, they remain
connected to the initial route.

> what is the use of the routing decision after local process???

see 2.

	Note also that after FORWARD there is no routing
decision :)))

	I'll not iterate this issue anymore. We already disturb
the LARTC subscribers :)

Regards

--
Julian Anastasov <ja@ssi.bg>

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-06-25 18:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-18 10:34 [LARTC] Re: iptables diagram (ex: ipchains + mark in output chain ?) Julian Anastasov
2002-06-20  0:19 ` Leonardo Balliache
2002-06-20  8:35 ` Julian Anastasov
2002-06-20 20:32 ` [LARTC] Re: iptables diagram (ex: ipchains + mark in output King Yung Tong
2002-06-25 14:34 ` [LARTC] Re: iptables diagram (ex: ipchains + mark in output chain ?) Jan Coppens
2002-06-25 15:47 ` John Telford
2002-06-25 18:16 ` [LARTC] Re: iptables diagram (ex: ipchains + mark in output chain Michael T. Babcock
2002-06-25 18:47 ` [LARTC] Re: iptables diagram (ex: ipchains + mark in output chain ?) Stef Coene

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.