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

DHCP DoS mitigation #18160

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

muhammadalihussnain
Copy link

Why I did it

I did it for the mitigation of DHCP DoS attack

How I did it

I modified the file sonic-buildimage/dockers/docker-dhcp-relay/cli/config/plugins/dhcp_relay.py with the code which inserts iptables rule which will slow down the excessive discover packets

How to verify it

For verification got to iptables INPUT chain and find out that is any rule added to this chain and similarly when you delete the rule, it should not be in INPUT chain.

Copy link

linux-foundation-easycla bot commented Feb 22, 2024

CLA Signed


The committers listed above are authorized under a signed CLA.

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

Successfully merging this pull request may close these issues.

1 participant