[prev in list] [next in list] [prev in thread] [next in thread]
List: netfilter
Subject: Re: Catching un-DNAT'ed packets
From: =?koi8-r?Q?=F0=CF=CB=CF=D4=C9=CC=C5=CE=CB=CF_?=
Date: 2006-12-26 16:25:33
Message-ID: 1167150333.4663.4.camel () localhost ! localdomain
[Download RAW message or body]
В Вто, 26/12/2006 в 12:09 +0100, Pascal Hambourg пишет:
> > Where does the un-DNAT occurs and is there table/chain that is
> > processed after un-DNAT?
>
> In 2.4 kernels, when DNAT occurs in the PREROUTING chain, un-DNAT occurs
> at the same place as (and in place of) the POSTROUTING chain of the
> 'nat' table, and there is no chain after it. In 2.4 kernels >= 2.4.19,
> when DNAT occurs in the OUTPUT chain, un-DNAT occurs after the INPUT
> chain of the 'filter' table, and there is no chain after it either. I
> suppose it has not changed in 2.6 kernels.
>
> > The problem I have is that replay packets got catched with real source
> > address, not the one the client has initially connected to. I was
> > catching replay packets in mangle/POSTROUTING.
>
> The POSTROUTING chain of the 'mangle' table is just before the un-DNAT
> place.
Thanks for the replay. You just confirmed my thoughts. It's really
strange to have a need solution for which is not invented yet :-/. I'm
not used to be one of the first in this area :)
So, this is subject for a wishlist...
--
Покотиленко Костик <casper@meteor.dp.ua>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic