Kernel Packet Traveling Diagram

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hy,

I did some tests and i have some modifications and questions on the 
Kernel Packet Traveling Diagram found at 
http://www.docum.org/stef.coene/qos/kptd/
Test where made on a Suse 7.2 - kernel 2.4.18 + htb 3.3 + imq, iptables 
1.2.6-imq and tc_htb.

Where is on the diagram the mangle INPUT,FORWARD,POSTROUTING???

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"

C


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

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux