From owner-cvs-all Mon Aug 12 14:51:22 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB22137B40E; Mon, 12 Aug 2002 14:51:06 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 128A743E70; Mon, 12 Aug 2002 14:51:06 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g7CLp5100407; Mon, 12 Aug 2002 14:51:05 -0700 (PDT) (envelope-from rizzo) Date: Mon, 12 Aug 2002 14:51:05 -0700 From: Luigi Rizzo To: Ruslan Ermilov Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/netinet in_rmx.c ip_input.c ip_var.h Message-ID: <20020812145105.B148@iguana.icir.org> References: <200208091449.g79EnNRh005472@freefall.freebsd.org> <20020809080953.B62786@iguana.icir.org> <20020811105249.GB11677@sunbay.com> <20020811054337.B84502@iguana.icir.org> <20020812123953.GB41233@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020812123953.GB41233@sunbay.com>; from ru@FreeBSD.ORG on Mon, Aug 12, 2002 at 03:39:53PM +0300 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Aug 12, 2002 at 03:39:53PM +0300, Ruslan Ermilov wrote: ... > Hmm, I think ipflow is subject to the same problem. If you had > the 10/8 route, and forwarded some packets to 10.0.0.1, ipflow > caches this (network) route. If you then add the host route to > 10.0.0.1, nothing in the ipflow code (at least I don't see it) > updates the ipflow's idea of the "best match route", and ipflow > continues to use the old 10/8 route. Am I mistaken? so, I have a question here... i believe TCP sockets cache a host route to the destination (say 10.0.0.1 in your example), possibly cloning one from a more generic one (e.g. 10/8). Now how does the invalidation works if someone adds say a different 10.0.0/24 route ? The 10/8 is still alive... cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message