From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 14:24:56 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 37CD616A420 for ; Fri, 30 Dec 2005 14:24:56 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BA8A43D73 for ; Fri, 30 Dec 2005 14:24:46 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EsLBK-0006Vz-J6 for freebsd-questions@freebsd.org; Fri, 30 Dec 2005 15:24:34 +0100 Received: from blueice3n1.de.ibm.com ([195.212.29.179]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Dec 2005 15:24:34 +0100 Received: from element by blueice3n1.de.ibm.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Dec 2005 15:24:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Pavel Duda Date: Fri, 30 Dec 2005 15:24:22 +0100 Lines: 28 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: blueice3n1.de.ibm.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041103 Thunderbird/0.9 Mnenhy/0.6.0.104 X-Accept-Language: en-us, en Sender: news Subject: IPFW traffic shaping questions 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: Fri, 30 Dec 2005 14:24:56 -0000 Hello, I have few questions for ipfw gurus.. 1) can I see what packets are matching my pipes/queues ? I'm using "ipfw pipe show" for example but there is always only one host so if I'm testing some rules I can't tell if they work or not (maybe there is some other way how to "trace" such things ?) 2) how to correctly setup ul/dl limits for clients ? I have 4096/256 line and I want primarily control upload because when someone starts uploading too much line become unusable for low latency apps (games, ip phone, audio broadcasting). I have created queues to limit upload, but then also download was affected and slowdown was very big. I have tried to add rule for ACK packets - no effect (I'm not network guru maybe this is not enough for speeding up download). Now I'm thinking that maybe I have wrong rules because as I remember pipes and queues are managed diferently then other ipfw rules and even when I put unlimited pipe for "ACK out" it is then limited by second rule for "all out" - pipes/queues are not "first match wins" right ? 3) this is similar to 1) - is there some tool for monitoring how packet "flows" through rules ? And I don't mean using "ipfw log" :-) ... Any advice or web tutorial for network-lama (ie. me :-) ) appreciated. Thanks & Happy New Year Pavel D.