Date: Sun, 6 Apr 2003 10:41:16 -0700 From: Sereciya Kurdistani <sereciya@kurdistan.ath.cx> To: freebsd-ipfw@freebsd.org Subject: Sereciya :: Prioritizing empty TCP ACKs... OpenBSD pf -> FreeBSD ipfw Translation Message-ID: <20030406174116.GC15115@kurdistan.ath.cx>
next in thread | raw e-mail | index | archive | help
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î | +--------------------------------------------------------------+
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030406174116.GC15115>