From: "LinuXKiD" Date: Sat, 26 Nov 2005 02:13:59 +0000 Subject: RE: [LARTC] FAIR NAT: this is correct ? Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org -> 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... -> OK, what about: $BIN_IPT -t mangle -A $FN_CHK_TOS -m length --length 0:512 -j RETURN instead... $BIN_IPT -t mangle -A $FN_CHK_TOS -p icmp -m length --length 0:1024 -j RETURN I think that (in ICMP case) would priorize small ICMP packets. and other small packets on other protocol. BTW, I think that FairNat and JiM QoS scripts are Great! I'm studing both in order to learn about Qos. bests andres. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc