Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ReubenM opened this issue May 3, 2023 · 0 comments

Comments

@ReubenM
Copy link

ReubenM commented May 3, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant