I know what to mangle, but my question was: what chain? prerouting or postrouting?use tpc flags in magle advanced
May i ask why? I'm too doing TCP ACK prioritization, and have the mangle rules done in prerouting. Whats the difference?in postrouting must be.
I'm newbie with ROS, but... I'm using it right now with this mangle rule before all connection marking ones:Correct TCP ACK prioritization is currently not possible with RouterOS.
It won't let you accurately match tcp ack packets with zero data length.
Perhaps you could ask support@ for it?
A few versions had "u32" support which would have let us match those packets accurately but they removed that support.
0 chain=prerouting action=mark-packet new-packet-mark=tcp_ack passthrough=no tcp-flags=ack
in-interface=Lan1 protocol=tcp packet-size=0-40
So, these are the ACK packets we want to prioritize aren't they? I mean, my goal is just to optimize the downstream even when the upstream channel is full on a ADSL link, so only these ACKs interest me.PS: 40 byte tcp packets with ack flag set are tcp packets without tcp options (SACK, window scaling, timestamps).