tosfix config helper: sanewall-tosfix

5
sanewall-tosfix

sanewall-tosfix

apply suggested TOS values to packets

        tosfix

## Description

The `tosfix` helper command sets the Type of Service (TOS) field in packet headers based on the suggestions given by Erik Hensema in iptables and tc shapping tricks .

The following TOS values are set:

- All TCP ACK packets with length less than 128 bytes are assigned Minimize-Delay, while bigger ones are assigned Maximize-Throughput

- All packets with TOS Minimize-Delay, that are bigger than 512 bytes are set to Maximize-Throughput, except for short bursts of 2 packets per second

The `tosfix` command must be used before the first router or interface.

## See Also

- sanewall
- sanewall.conf
- helpconf-tos
- administration tool for IPv4 firewalls: iptables(8)