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

bug - no ability to restrict ingress traffic #23

Open
aghassemlouei opened this issue Aug 9, 2022 · 0 comments
Open

bug - no ability to restrict ingress traffic #23

aghassemlouei opened this issue Aug 9, 2022 · 0 comments

Comments

@aghassemlouei
Copy link
Contributor

aghassemlouei commented Aug 9, 2022

It would be nice to not have to rely on linux/unix tooling to reduce throughout to the oip server. We have to routinely drop traffic to ensure that the service is not overwhelmed:

# approach 1 - reducing resource utilization 
tc qdisc del dev enp89s0 root netem loss 70%

# approach 2 - reducing bandwidth
tc filter add dev enp89s0 parent fff: protocol all u32 match u32 0 0 action police rate 100mbit burst 500k conform-exceed pipe action mirred egress redirect dev lo

Use of PCAP filters on the oip client are not sufficient for our usecases.

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

No branches or pull requests

1 participant