From mboxrd@z Thu Jan 1 00:00:00 1970 From: KOVACS Krisztian Subject: Re: [PATCH/RFC 01/10] Implement local diversion of IPv4 skbs Date: Thu, 11 Jan 2007 15:05:05 +0100 Message-ID: <200701111505.07035@nienna> References: <20070103163357.14635.37754.stgit@nienna.balabit> <1168421515.6746.14.camel@bzorp.balabit> <45A4DCD8.2080103@trash.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Cc: Balazs Scheidler , netdev@vger.kernel.org, netfilter-devel@lists.netfilter.org Return-path: To: Patrick McHardy In-Reply-To: <45A4DCD8.2080103@trash.net> Content-Disposition: inline Sender: netdev-owner@vger.kernel.org List-Id: netfilter-devel.vger.kernel.org Hi, On Wednesday 10 January 2007 13:32, Patrick McHardy wrote: > How exactly are dynamic ports handled? Do you just add a catch-all rule > that filters based on socket lookups? > > In that case you could do something like this: > > ip route add local default dev lo scope host table 1 > ip rule add fwmark 0x1 lookup 1 > > and still use the socket lookups for marking, which would (without the > socket caching) remove the need for this patch entirely. Ok, I'll try to address all the concerns raised on the list. Thanks a lot for the review and comments. -- Regards, Krisztian Kovacs