From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Llu=EDs_Batlle?= Date: Tue, 05 Jul 2005 15:39:54 +0000 Subject: [LARTC] About multihop route decision without Julian's patches Message-Id: <45219fb005070508395241a389@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org As I've read in http://gnumonks.org/papers/netfilter-lk2000/presentation.html, there's said about the "nat" netfilter table: "This table is different from the 'filter' table, in that only the first packet of a new connection will traverse the table. The result of this traversal is then applied to all future packets of the same connection." I imagine that the result of this traversal is stored in a kernel table, dumpable through "/proc/net/ip_conntrack". There is no information about the destination device of the route... When is the route decision made? After setting all the information gathered from ip_conntrack, or _before_ that? It isn't clear to me, if the "applying of the result of the traversal" is applied in the PREROUTING or the POSTROUTING nat chain. I think I better look at the source code... but it's quite hard for me to understand the data structures there. If not an answer about my question, I'd agree for a link to the documentation of all net-code data structures of the linux kernel. Thanks :) _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc