Sereciya :: Prioritizing empty TCP ACKs... OpenBSD pf -> FreeBSD
ipfw Translation
Sereciya Kurdistani
sereciya at kurdistan.ath.cx
Sun Apr 6 10:41:18 PDT 2003
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î |
+--------------------------------------------------------------+
More information about the freebsd-ipfw
mailing list