From owner-freebsd-isp@FreeBSD.ORG Mon Apr 21 13:22:50 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BA0C37B401 for ; Mon, 21 Apr 2003 13:22:50 -0700 (PDT) Received: from localhost.livens.net (213-193-182-97.adsl.easynet.be [213.193.182.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7766C43FDF for ; Mon, 21 Apr 2003 13:22:48 -0700 (PDT) (envelope-from wim@localhost.livens.net) Received: (from wim@localhost) by localhost.livens.net (8.11.3/8.11.3) id h3LKMNd42677; Mon, 21 Apr 2003 22:22:23 +0200 (CEST) (envelope-from wim) Date: Mon, 21 Apr 2003 22:22:23 +0200 From: Wim Livens To: Mark Bojara Message-ID: <20030421202223.GA42290@krijt.livens.net> References: <20030421095458.C2827@znfgre.tberna.bet> <20030421215508.A325-100000@opium.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030421215508.A325-100000@opium.co.za> User-Agent: Mutt/1.3.24i cc: freebsd-isp@freebsd.org Subject: Re: ssh bandwidth priority X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2003 20:22:50 -0000 Op ma 21 apr, 2003 om 09:56:33pm +0200, schreef Mark Bojara: > Hello All, > > I would like to somehow set up so that SSH takes priority over all other > packets.. I have tried this with ipfw weights but it does not seem to be > working could somebody give me a example on how i would do this? There are probably better ways but I do this by sending all other traffic through a dummynet pipe which has a bit less bw than my link. As such the remaining bw is reserved for ssh. Something like this works for me to reserve some BW for ssh of my limited 128kbps upstream ADSL: ipfw pipe 1 config bw 104Kbit/s 8 ipfw add pipe 1 tcp from any to any 80 keep-state ipfw add allow tcp from any to any 22 keep-state Hth, Wim.