From owner-freebsd-ipfw@FreeBSD.ORG Sun Apr 6 10:41:17 2003 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD54D37B401 for ; Sun, 6 Apr 2003 10:41:17 -0700 (PDT) Received: from kurdistan.ath.cx (adsl-63-207-238-20.dsl.chic01.pacbell.net [63.207.238.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07FCC43FBF for ; Sun, 6 Apr 2003 10:41:17 -0700 (PDT) (envelope-from sereciya@kurdistan.ath.cx) Received: from kurdistan.ath.cx (ns1 [127.0.0.1]) by kurdistan.ath.cx (8.12.8/8.12.6) with ESMTP id h36HfGY2016396 for ; Sun, 6 Apr 2003 10:41:16 -0700 (PDT) (envelope-from sereciya@kurdistan.ath.cx) Received: (from sereciya@localhost) by kurdistan.ath.cx (8.12.8/8.12.6/Submit) id h36HfGYL016395 for freebsd-ipfw@freebsd.org; Sun, 6 Apr 2003 10:41:16 -0700 (PDT) Date: Sun, 6 Apr 2003 10:41:16 -0700 From: Sereciya Kurdistani To: freebsd-ipfw@freebsd.org Message-ID: <20030406174116.GC15115@kurdistan.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4i Subject: Sereciya :: Prioritizing empty TCP ACKs... OpenBSD pf -> FreeBSD ipfw Translation X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2003 17:41:18 -0000 Hello, I'm trying to translate the following code designed to set Prioritizing for empty TCP ACKs (taken from: http://www.benzedrine.cx/ackpri.html): Suggestions, recommendations & corrections gladly accepted; send em over! OpenBSD pf: ^^^^^^^^^^ ext_if="kue0" altq on $ext_if priq bandwidth 100Kb queue { q_pri, q_def } queue q_pri priority 7 queue q_def priority 1 priq(default) pass out on $ext_if proto tcp from $ext_if to any flags S/SA \ keep state queue (q_def, q_pri) pass in on $ext_if proto tcp from any to $ext_if flags S/SA \ keep state queue (q_def, q_pri) FreeBSD ipfw: ^^^^^^^^^^^^^ oif_1="tun0" ipfw pipe 1 config bw 100Kbyte/s noerror ipfw queue 1 config weight 1 pipe 1 ipfw queue 2 config weight 7 pipe 1 ipfw add NNNN check-state ipfw add NNNN queue 1 tcp from any to any out via ${oif_1} keep-state iptos lowdelay tcpflags ack ## ??? tcpack ack ??? ipfw add NNNN queue 1 tcp from any to any in via ${oif_1} tcpflags ack Is this correct? -- +--------------------------------------------------------------+ | Welat xwe ava nake, dest bidin hevdu, pist nedin tu dijminî | | Riya azadiyê ne hêsan e, hêviya xwe bernedin, dema me | | nêzîk e. | | | | Hevaltî bi kesên du rû nekin, hevaltî bi hevdu ra bikin | | Ne ji hevaltiya wan kesên pêxwas û rû dirêj, ne bi wan | | kesên xwînperest, ne jî ji yên din. | | | | -Sêrêciya Kurdistanî | +--------------------------------------------------------------+