libsettos

Library to LD_PRELOAD to override the TOS for an app.

Description:

Libsettos is a LD_PRELOADable library to set the TOS/DSCP field for
any IP or IPv6 socket created by a dynamically linked binay.
It can be used with:
  env LIBSETTOS_TOS=<tos> LD_PRELOAD=libsettos.so <binary> [<arg...>]

Where <tos> is a number between 0 and 255 inclusive with the two
lowest bytes set to 0 (i.e. <tos>%4 == 0).
It correspond to a DSCP code point shifted by two bits to the left
(the two lowest bits of the TOS are reserved for ECN).
<binary> can be any dynamically linked executable (eg. Skype).

Homepage:

License: Public Domain

Vendor: Philippe Troin <phil@fifi.org>

Packages

libsettos-2-3.fif38.src [10 KiB] Changelog by Philippe Troin (2019-10-28):
- Add BuildRequires: gcc.