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

caclmgrd interface rules patch 1 #197

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gupurush
Copy link

@gupurush gupurush commented Dec 27, 2024

Added management port exclusion (!, -i, eth0) for data plane protocols in iptable rules. Data plane protocols like BGP, BFD, and VXLAN are restricted to data interfaces only, while management protocols (NTP, SNMP, SSH) retain management port access. This enforces proper traffic segregation between management and data plane.

What is the motivation for this PR?
To enhance security by properly segregating management and data plane traffic through iptable rules in caclmgrd.

How did you do it?
Added exclude_mgmt_port rule (!, -i, eth0)
Applied exclusion to data plane protocols (BGP, BFD, VXLAN)
Preserved management port access for management services (NTP, SNMP, SSH)
Implemented conditional exclusion for other ACL rules based on service type

@mssonicbld
Copy link

/azp run

Copy link

linux-foundation-easycla bot commented Dec 27, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@gupurush gupurush force-pushed the caclmgrd-interface-rules-patch-1 branch from 91e84f7 to 38f32c7 Compare December 27, 2024 03:32
@mssonicbld
Copy link

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@gupurush gupurush force-pushed the caclmgrd-interface-rules-patch-1 branch from 38f32c7 to d131a47 Compare January 2, 2025 20:49
@mssonicbld
Copy link

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@gupurush gupurush marked this pull request as ready for review January 7, 2025 20:08
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.

2 participants