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

/usr/sbin/tc filter show dev lxc6a7cb0103198 to add the direction(ingress/egress) #174

Open
BurlyLuo opened this issue Jun 28, 2023 · 0 comments

Comments

@BurlyLuo
Copy link

BurlyLuo commented Jun 28, 2023

Describe the bug

A clear and concise description of what the bug is.
can we support /usr/sbin/tc filter show dev lxc6a7cb0103198 ingress

Expected behavior

A clear and concise description of what you expected to happen.
can we support /usr/sbin/tc filter show dev lxc6a7cb0103198 ingress

To Reproduce

Steps to reproduce the behavior:

Environments

Please execute the following command and past the output:

pip install envinfopy[markdown]
python -m envinfopy tcconfig docker SimpleSQLite --format markdown

and complete the following information:

  • Docker Version (if you using docker): ...
  • Installation Method: pip / deb package

Additional context

About the Cilium env: we can see that tc filter show dev xx [ingress/egress]
but the tcshow only show the filter but not direction.
root@bpf1:~# tcshow lxc6a7cb0103198 --tc-command
/usr/sbin/tc class show dev lxc6a7cb0103198
/usr/sbin/tc filter show dev lxc6a7cb0103198
/usr/sbin/tc qdisc show dev lxc6a7cb0103198

root@bpf1:~# /usr/sbin/tc filter show dev lxc6a7cb0103198 ingress
filter protocol all pref 1 bpf chain 0 
filter protocol all pref 1 bpf chain 0 handle 0x1 cil_from_container-lxc6a7cb0103198 direct-action not_in_hw id 552 tag 0dd89b33ffc2a3fe jited 
@BurlyLuo BurlyLuo changed the title /usr/sbin/tc filter show dev lxc6a7cb0103198 /usr/sbin/tc filter show dev lxc6a7cb0103198 to add the direction(ingress/egress) Jun 28, 2023
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