From owner-freebsd-ipfw Fri Feb 22 9:27:10 2002 Delivered-To: freebsd-ipfw@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 5C2A637B400 for ; Fri, 22 Feb 2002 09:27:08 -0800 (PST) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g1MHR3S62421; Fri, 22 Feb 2002 09:27:03 -0800 (PST) (envelope-from rizzo) Date: Fri, 22 Feb 2002 09:27:03 -0800 From: Luigi Rizzo To: Michael Sierchio Cc: FreeBSD user , freebsd-ipfw@FreeBSD.ORG Subject: Re: ipfw, dummynet, weights, and ssh? Message-ID: <20020222092703.A62387@iguana.icir.org> References: <20020222031809.M37938-100000@Amber.XtremeDev.com> <3C7673C6.9060706@tenebras.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C7673C6.9060706@tenebras.com> User-Agent: Mutt/1.3.23i Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Feb 22, 2002 at 08:37:26AM -0800, Michael Sierchio wrote: > FreeBSD user wrote: > >I'm trying to decipher ipfw syntax related to dummynet, and I'm not having > >much luck. Basically all I want to do is give priority to all ssh > >connections, both outbound and inbound. If the line is saturated I should > >still be able to ssh in and out of my server, hopefully without too much > >lag. Is this possible with ipfw/dummynet's WF2Q+ policies? And if so, any > >examples you can provide would greatly help. Thanks in advance. > > Dummynet doesn't provide dynamic bandwidth limiting based on load wrong. You can use queues (WF2Q+) to do this kind of sharing. cheers luigi > or traffic. You can use a clever combination of bandwidth-limiting > pipes and masks to ensure that no one connection uses more that X% > of your (theoretical) bw. > > You could make all non-ssh connections go through a bw-limiting > pipe (75-85%). > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ipfw" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message