From owner-freebsd-questions@FreeBSD.ORG Wed Aug 10 05:31:29 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0E8B16A41F for ; Wed, 10 Aug 2005 05:31:29 +0000 (GMT) (envelope-from heccjj1@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BB1E461EB for ; Wed, 10 Aug 2005 05:31:29 +0000 (GMT) (envelope-from heccjj1@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so37699nzo for ; Tue, 09 Aug 2005 22:31:28 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=fHAZ1Wlzv8klT8DCESZVtZSn7DaeJOM1Pa6hgDAHkAUZkITWFNuNsA5wHLiW5fTC6elV6ZDEiNCqCBPr/W7ZarO7soUf4GJCziIKR18Y6xoKdzC1gnG41IBgSQJgJbD4lVAhO6u8666udMHW2Bfwvu5Cykbvp2HfT3+5EN6F90A= Received: by 10.36.68.8 with SMTP id q8mr95587nza; Tue, 09 Aug 2005 22:31:28 -0700 (PDT) Received: by 10.36.227.25 with HTTP; Tue, 9 Aug 2005 22:31:28 -0700 (PDT) Message-ID: <6f9d8a505080922315e2bc928@mail.gmail.com> Date: Wed, 10 Aug 2005 13:31:28 +0800 From: he ccjj To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: How to limit the nat's stream speed? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2005 05:31:29 -0000 Hi,ervery one! I use freebsd5.4+ipfw+natd to setup a box for sharing internet,it's work fine.But i have a very serious problem: Some computer of my inner user was attacked by virus,they make very big volume of stream to internet,so the natd will occupy almost all the cpu,the others can't visit internet at all !! Is there a solution to limit the natd's cpu occupancy or limit every user's stream speed? Any advice is welcome!