Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Aug 2002 15:39:53 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Luigi Rizzo <rizzo@icir.org>
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:  <20020812123953.GB41233@sunbay.com>
In-Reply-To: <20020811054337.B84502@iguana.icir.org>
References:  <200208091449.g79EnNRh005472@freefall.freebsd.org> <20020809080953.B62786@iguana.icir.org> <20020811105249.GB11677@sunbay.com> <20020811054337.B84502@iguana.icir.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--ftEhullJWpWg/VHq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Aug 11, 2002 at 05:43:37AM -0700, Luigi Rizzo wrote:
> On Sun, Aug 11, 2002 at 01:52:49PM +0300, Ruslan Ermilov wrote:
> ...
> > > this reminds me... what do we gain from having one route cached ?
> > > Most if not all boxes talk to multiple destinations anyways,
> > >=20
> > This works on assumption that two or more consecutive packets to
> > be forwarded are for the same destination.
> >=20
> > > so we should rather leverage on the cache in ip_flow.c than
> > > use this trick.
> > >=20
> > Fast forwarding is incompatible with many standard things, as hinted
> > in the inet(4) manpage.
>=20
> i know that part of the code :)
> But the info in the ipflow cache is reliable, and kept updated.
> The incompatibility only comes from the fact that some processing
> (e.g. firewalling, ipsec) is skipped in the fastforwarding case.
>=20
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?


Cheers,
--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

--ftEhullJWpWg/VHq
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9V6yZUkv4P6juNwoRAjevAJ90qCMDaIQC4Ibf44W8Bi1B7IZ5twCfUD9p
wk9XTOp0cejh7hQ9M6Om8IQ=
=EydG
-----END PGP SIGNATURE-----

--ftEhullJWpWg/VHq--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020812123953.GB41233>