also TOS queues are a way to do it, although more problematic.
here is an example:
$iptdir -A PREROUTING -t mangle -p tcp --dport 1234 -j TOS --set-tos
Minimize-Delay
$iptdir -A OUTPUT -t mangle -p tcp --dport 1234 -j TOS --set-tos
Minimize-Delay

I don't remember how to match for ack.
you also need to set the rest to their compatible behaviour
http://www.faqs.org/docs/iptables/targets.html#TOSTARGET

Regards,
        tzahi.

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of guy keren
> Sent: Friday, February 25, 2005 1:54 AM
> To: Erez Doron
> Cc: ilug
> Subject: Re: higher priority for ack
> 
> 
> 
> On Thu, 24 Feb 2005, Erez Doron wrote:
> 
> > how do igive higher priority to small packets with ack over other 
> > packets outgoing from eth0 ?
> 
> using 'tc' and priority queues - check 
> http://lartc.org/howto/, and in particular, start reading 
> from chapter 9.
> 
> be patient - debugging traffic control rules on linux is very 
> annoying (at least was with kernel 2.4 - no debugging 
> mechanisms what-so-ever).
> 
> -- 
> guy
> 
> "For world domination - press 1,
>  or dial 0, and please hold, for the creator." -- nob o. dy
> 
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] 
> with the word "unsubscribe" in the message body, e.g., run 
> the command echo unsubscribe | mail [EMAIL PROTECTED]
> 
> 
> 



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to