From owner-freebsd-net Fri Jul 6 11:37:47 2001 Delivered-To: freebsd-net@freebsd.org Received: from illustrious.cnchost.com (illustrious.concentric.net [207.155.252.7]) by hub.freebsd.org (Postfix) with ESMTP id 5224D37B408; Fri, 6 Jul 2001 11:37:45 -0700 (PDT) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (adsl-209-204-185-216.sonic.net [209.204.185.216]) by illustrious.cnchost.com id OAA27501; Fri, 6 Jul 2001 14:37:37 -0400 (EDT) [ConcentricHost SMTP Relay 1.14] Message-ID: <200107061837.OAA27501@illustrious.cnchost.com> To: Wes Peters Cc: "Louis A. Mamakos" , Ruslan Ermilov , Deepak Jain , net@FreeBSD.ORG Subject: Re: fastforwarding? In-reply-to: Your message of "Fri, 06 Jul 2001 00:35:04 MDT." <3B455C18.EB10C5DC@softweyr.com> Date: Fri, 06 Jul 2001 11:37:37 -0700 From: Bakul Shah Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > This discussion has devolved into yet another idiotic bikeshed. Nobody > claimed anwhere along the line that fastforwarding was a solution to > all routing ills, suitable for use in a core router, or acceptable for > any of the wildly esoteric CRAP espoused in the past 10 or 12 messages > in this thread. If you don't like fastforwarding, don't use it, but > don't get in the way of people who use it and maintain it. I don't think you realize that as implemented it is not suitable for *any* router with even a single host that will send to hundreds of thousands of distinct ip addresses over any period of time. It doesn't matter if all the router has is a single default route in its route table because it creates a new cache entry for *every* destination address to which it successfully forwards a packet. Consider H ---- R ----> internet R, a freebsd machine running fastforwarding code, has a single default route to an upstream machine. Now on H all you have to do is something like a = while (a++) { to.sin_addr.s_addr = htonl(a); sendto(s, msg, msglen, 0, (struct sockaddr*)&to, sizeof to); } and R's cache will be filled up real quick. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message