FAIR NAT: this is correct ?

Linux Advanced Routing and Traffic Control

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

 



on Fair NAT:
-------------

[...]
# Correcting TOS for large packets with Minimize-Delay-TOS
$BIN_IPT -t mangle -A $FN_CHK_TOS -p tcp -m length --length 0:512  -j RETURN
$BIN_IPT -t mangle -A $FN_CHK_TOS -p udp -m length --length 0:1024 -j RETURN
$BIN_IPT -t mangle -A $FN_CHK_TOS -j TOS --set-tos Maximize-Throughput
$BIN_IPT -t mangle -A $FN_CHK_TOS -j RETURN
[...]


I think that best is:

[...]
# Correcting TOS for large packets with Minimize-Delay-TOS
$BIN_IPT -t mangle -A $FN_CHK_TOS -p tcp -m length --length 0:512  -j RETURN
$BIN_IPT -t mangle -A $FN_CHK_TOS -p udp -m length --length 0:1024 -j RETURN
## NEW LINE:
$BIN_IPT -t mangle -A $FN_CHK_TOS -p icmp -m length --length 0:1024 -j
RETURN
$BIN_IPT -t mangle -A $FN_CHK_TOS -j TOS --set-tos Maximize-Throughput
$BIN_IPT -t mangle -A $FN_CHK_TOS -j RETURN
[...]


because on original FARINAT, PINGS are marked as "MAXIMIZE THROUGHPUT"

is correct my note ??

bests
andres

_______________________________________________
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