From owner-freebsd-net@FreeBSD.ORG Mon Feb 4 20:46:39 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 922BA16A468 for ; Mon, 4 Feb 2008 20:46:39 +0000 (UTC) (envelope-from ithilgore.fbsd@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id 1E11713C467 for ; Mon, 4 Feb 2008 20:46:38 +0000 (UTC) (envelope-from ithilgore.fbsd@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so449167nfb.33 for ; Mon, 04 Feb 2008 12:46:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=GCI/MAvLTZ8jvaTtcj5grYZ7fF6H5+nS4i+Neicvdm0=; b=NL9PVpgg5isNBbAgijpNZzcmcuIZYD5MQVWd3hnUGYd8HsxExQ+GfSXujZxPE+1hF0GeXTK41tNH1meVLq+9t++mokky0rWZRQC/FC6F8D80dd4Uc/IZshCLfOBBOj8ibtVrNng+wR2dbI/IL5EvL6CE1uGqzNq7i2RSBSgRKnc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=TNqhsC2geqgM8C3TyZKXUHUvQUSFUDqKUYCPWhn9+NAxtKMeznTv7viBdx1PDLTw0UeV2pZJsxEfmYcsJTPw0wgYVqN6YokryQrFciPYa6CQMP+I7UfCB6iL6aCxHu9c8vXR1R8DRH1zVOqBttsLnxpKH7ruYYn7O4WDgrLx2mQ= Received: by 10.78.183.8 with SMTP id g8mr13039440huf.55.1202157996776; Mon, 04 Feb 2008 12:46:36 -0800 (PST) Received: from ?10.0.0.12? ( [195.74.240.226]) by mx.google.com with ESMTPS id b9sm6050190mug.12.2008.02.04.12.46.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 04 Feb 2008 12:46:35 -0800 (PST) Message-ID: <47A8057B.2080801@gmail.com> Date: Mon, 04 Feb 2008 22:43:07 -0800 From: ithilgore User-Agent: Thunderbird 2.0.0.9 (X11/20071212) MIME-Version: 1.0 To: Alfred Perlstein References: <32c178710802040633w671f8512mc3f8991dc996d3a3@mail.gmail.com> <20080204191502.GO99258@elvis.mu.org> In-Reply-To: <20080204191502.GO99258@elvis.mu.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: FreeBSD network stack Vs others X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2008 20:46:39 -0000 Alfred Perlstein wrote: > * ithilgore -- [080204 06:59] wrote: > >> I 'd like to learn what are the basic differences ( pros and cons ) between >> the >> FreeBSD network stack and the other OSs' ( especially linux ) >> >> I know that linux has had everything rewritten from scratch as far as the >> implementation of tcp-ip and the sockets are concerned and would like to >> know if this has made it actually more robust or state-of-the-art than >> FreeBSD's or the opposite. >> >> Some actual technical details and references would be appreciated. >> > > Linux's stack hasn't been rewritten from the BSD one, it was written > from scratch. > > Linux's tcp/ip stack has been rewritten many times over the years > with the promise of large performance gains. > > The fact of the matter is that the performance on the "bleeding > edge" of both systems, FreeBSD and Linux, is about the same. > > From a BSD proponent's perspective, I would take the pragmatic > viewpoint that everytime Linux reinvents its stack to get performance > or some other feature FreeBSD isn't far behind with a relatively > minor change to its stack to accomplish the same feat. > > -Alfred > This means less work for the same gain, if it is as you say. As far as special cases are concerned, has FreeBSD taken extra care for them ? Like for example error checking on more things or additional care for a special bad condition not to happen. What about the security hardening ? Would the FreeBSD network stack succumb less easily to attacks (supposing one doesn't use any additional protection mechanism ) ?