Skip to contentSkip to conversation

iptables diagram (ex: ipchains + mark in output chain ?)

LARTC Ciprian Niculescu 1 participant 1 message Jun 18, 2002

lore
Share & tools
lore
#0 lore raw

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

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

C

Quoted 37 lines · Julian Anastasov

Hello,

Quoted 2 lines · Ciprian Niculescu

aa ok, so why the subject is ipchains? :-)

I'm just replying to the proposed iptables diagram.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

http://people.unix-fu.org/andreasson/iptables-tutorial/images/tables_traverse.jpg

Another wrong picture for iptables

why???

Read my posting again. The routing decision is before
OUTPUT not after OUTPUT. It should be looking something like:

local process -> output routing -> OUTPUT+output_rerouting(s) -> ...

Another problem: to what routing decision refers the diagram after forward?

The forwarding should be:

prerouting -> input routing -> forward -> post_routing

Another bug, this time in the netfilter sources (iptable_mangle.c):

output_rerouting called from INPUT

Quoted 8 lines
Quoted 2 lines

C

Regards

--
Julian Anastasov <[email protected]>

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/