Skip to content

Documentation for tcset "--direction incoming" appears to be incorrect (?) #169

@ReubenM

Description

@ReubenM

The documentation for tcset has the following:

  --src-network SRC_NETWORK
                        specify source IP-address/network that applies traffic
                        control. defaults to any. this option has no effect
                        when executing with "--direction incoming" option.
                        note: this option required to execute with the
                        --iptables option when using tbf algorithm.

This, and other documentation would make it appear that when setting rules for ingress (--direction incoming) we should use the "--network" argument to set the filter for which incoming packets to apply rules to. However this has no effect when I'm attempting to set delay. Using the --src-network argument instead does have effect and flips the src/dst parameters when defining the filter, achieving the desired result.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions