From owner-freebsd-net Mon Mar 3 18:12: 9 2003 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB30137B401 for ; Mon, 3 Mar 2003 18:12:07 -0800 (PST) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FBB243FCB for ; Mon, 3 Mar 2003 18:12:07 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost.ipv6.lcs.mit.edu [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.8/8.12.8) with ESMTP id h242C5Cd001306 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 3 Mar 2003 21:12:05 -0500 (EST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.8/8.12.8/Submit) id h242C5fI001303; Mon, 3 Mar 2003 21:12:05 -0500 (EST) (envelope-from wollman) Date: Mon, 3 Mar 2003 21:12:05 -0500 (EST) From: Garrett Wollman Message-Id: <200303040212.h242C5fI001303@khavrinen.lcs.mit.edu> To: Alexey Zelkin Cc: freebsd-net@FreeBSD.ORG Subject: Re: maxsockbuf is useless value {?|:-(} In-Reply-To: <20030304040434.A42256@phantom.cris.net> References: <20030228130621.A16504@phantom.cris.net> <200302281931.h1SJVAUg060319@khavrinen.lcs.mit.edu> <20030301134118.GE77007@sunbay.com> <200303022015.h22KFbn0075585@khavrinen.lcs.mit.edu> <20030304040434.A42256@phantom.cris.net> 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 < said: > Wrong. BZZZT! > As I stated originally, it's impossible to use 'maxsockbuf' value. That does not change the fact that an unprivileged user can use up to `maxsockbuf' bytes of wired kernel memory per socket. That's why the limit exists. The amount of memory allocated to socket buffer data structures is not the same as the amount of user data which can be stored in the socket buffer. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message