From owner-freebsd-ipfw@FreeBSD.ORG Tue Jun 12 23:43:03 2007 Return-Path: X-Original-To: freebsd-ipfw@freebsd.org Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8945C16A400 for ; Tue, 12 Jun 2007 23:43:03 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id 7265D13C46E for ; Tue, 12 Jun 2007 23:43:03 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay8.apple.com (relay8.apple.com [17.128.113.38]) by mail-out3.apple.com (Postfix) with ESMTP id 4BEC88AADE5; Tue, 12 Jun 2007 16:22:40 -0700 (PDT) Received: from relay8.apple.com (unknown [127.0.0.1]) by relay8.apple.com (Symantec Mail Security) with ESMTP id A0B7740105; Tue, 12 Jun 2007 16:23:46 -0700 (PDT) X-AuditID: 11807126-a2089bb00000081c-d3-466f2b022402 Received: from [17.214.13.96] (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay8.apple.com (Apple SCV relay) with ESMTP id 8E3ED400ED; Tue, 12 Jun 2007 16:23:46 -0700 (PDT) In-Reply-To: <937e203f0706121610p51fb4a10r265c82bb8858468e@mail.gmail.com> References: <937e203f0706121610p51fb4a10r265c82bb8858468e@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Tue, 12 Jun 2007 16:23:45 -0700 To: Lubomir Georgiev <0shady0recs0@gmail.com> X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== Cc: freebsd-ipfw@freebsd.org Subject: Re: ipfw, pipes, queues, weights and managing an Internet connection X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2007 23:43:03 -0000 On Jun 12, 2007, at 4:10 PM, Lubomir Georgiev wrote: > Second, since I'm going to be making changes to your ruleset in > order to > match it to my needs could you please comment it a little because I'm > relatively new to ipfw+dummynet and some of the lines seem *really* > strange > to me... I'm talking about the - iptos,proto,tcpflags, lowdelay and > iplen > commands. They don't make any sence to me and I couldn't find > anything about > the in the man pages... Maybe I'm just stupid? Would you please > explain if > you have the time.... You want to read "man ipfw" carefully. The basic idea is that Mark is trying to match certain specific types of traffic (ie, a packet with IPTOS_LOWDELAY set), or very short ACK- only packets, in order to prioritize them over larger data-oriented stuff like rsync in order to do better for interactive sessions, VoIP traffic, and stuff like that. -- -Chuck PS: After you've read "man ipfw" carefully, think about it for a while, play around with some simple rules, and then re-read it again. It's not quite as dense as RFC-793, but it's not far off, either. :-)