Re: FAIR NAT: this is correct ?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 25 November 2005 21:19, LinuXKiD wrote:
> $BIN_IPT -t mangle -A $FN_CHK_TOS -p icmp -m length --length 0:1024 -j
> RETURN
> [...]
>
> because on original FARINAT, PINGS are marked as "MAXIMIZE THROUGHPUT"
>
> is correct my note ??

The code you quoted is a rule that should be protocol independent. Lower 
the priority of packets that claim to be interactive but are too big. Or 
rather, let packets keep their high priority status only if they're small 
enough. It should apply to ICMP and all others as well, but obviously it 
doesn't. Well spotted...

I don't like that part of the script. It's pretty much random, I can't even 
remember why I'm using 0:512 for tcp, but 0:1024 for udp as packet size 
criteria. The prioritization of Fair NAT is still way too static, given 
that everyone has different requirements.

Andreas Klauer
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux