QOS/TOS in carp/freebsd in general

Kristof Provost kristof at sigsegv.be
Wed Apr 25 14:09:19 UTC 2018


On 25 Apr 2018, at 15:53, Nick Wolff wrote:
> On Mon, Apr 16, 2018, 6:55 PM Lee Brown <leeb at ratnaling.org> wrote:
>> setdscp cs7 from me to 224.0.0.18
>>
>
> You can do this in ipfw but not in pf as far as I'm aware.

You can do this in pf too.

      set-tos ⟨string⟩ | ⟨number⟩
            Enforces a TOS for matching IP packets.  TOS may be given as 
one of
            critical, inetcontrol, lowdelay, netcontrol, throughput, 
reliability,
            or one of the DiffServ Code Points: ef, af11 ... af43, cs0 
... cs7;
            or as either hex or decimal.

(Although right now only for IPv4. I’ll hopefully commit the v6 bits 
soon.)

Regards,
Kristof


More information about the freebsd-net mailing list