From owner-freebsd-ipfw Fri Feb 22 8:37:30 2002 Delivered-To: freebsd-ipfw@freebsd.org Received: from laptop.tenebras.com (laptop.tenebras.com [66.92.188.18]) by hub.freebsd.org (Postfix) with SMTP id DB57A37B41A for ; Fri, 22 Feb 2002 08:37:26 -0800 (PST) Received: (qmail 6149 invoked from network); 22 Feb 2002 16:37:26 -0000 Received: from sapphire.tenebras.com (HELO tenebras.com) (66.92.188.241) by 0 with SMTP; 22 Feb 2002 16:37:26 -0000 Message-ID: <3C7673C6.9060706@tenebras.com> Date: Fri, 22 Feb 2002 08:37:26 -0800 From: Michael Sierchio User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.8) Gecko/20020218 X-Accept-Language: en-us MIME-Version: 1.0 To: FreeBSD user Cc: freebsd-ipfw@freebsd.org Subject: Re: ipfw, dummynet, weights, and ssh? References: <20020222031809.M37938-100000@Amber.XtremeDev.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 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 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