Skip to content
Snippets Groups Projects

TWAMP

TWAMP is an open protocol defined in RFC 5357 which is used to measure the network performance between two devices that support the TWAMP protocol. twampd supports both TWAMP (as defined in RFC5357) and TWAMPLight (as defined in TR-390).

Configuration File

The twampd UCI configuration is located in '/etc/config/twamp', and contains 2 sections the twamp and the twamp_reflector.

config twamp 'twamp'
        option enable '1'
        option twamp_light '1'
        option log_level '3'

config twamp_reflector 'reflector_1'
        option enable '0'
        option interface 'wan'
        option port '862'
        option max_ttl '1'

Detailed UCI parameter description available in RAW format or UCI documentation

Note: The twampd can either configure and run in TWAMP mode or TWAMPLight mode, which is controlled by uci option twamp.twamp.twamp_light. If un-configured or set to 1, configures it to run in Light mode as described in TR-390.

Dependencies

To successfully build twampd, the following libraries are needed:

Dependency Link License
libuci https://git.openwrt.org/project/uci.git LGPL 2.1
libubox https://git.openwrt.org/project/libubox.git BSD
libubus https://git.openwrt.org/project/ubus.git LGPL 2.1
libbbfdm https://dev.iopsys.eu/iopsys/bbf.git LGPL 2.1