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

Optimize ACL #243

Merged
merged 346 commits into from
Jan 5, 2025
Merged

Optimize ACL #243

merged 346 commits into from
Jan 5, 2025

Conversation

YairSlobodin1
Copy link
Member

@YairSlobodin1 YairSlobodin1 commented Dec 16, 2024

basic algorithm
just rules -> cubes -> rules

Base automatically changed from output to main January 2, 2025 09:27
}

// same algorithm as sg cubes to rules
func anyProtocolCubesToRules(cubes srcDstProduct, direction ir.Direction) []*ir.ACLRule {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs dedicated tests

@YairSlobodin1 YairSlobodin1 requested a review from zivnevo January 2, 2025 15:51
| disallow-laborious-compress-abiding | | Inbound | 1 | Allow | Any IP | Any IP | ALL | - | |
| disallow-laborious-compress-abiding | | Outbound | 2 | Allow | Any IP | Any IP | ALL | - | |
| testacl5-vpc--sub1-1 | sub1-1 | Outbound | 1 | Allow | 10.240.1.0/24, any port | 1.1.1.0/31, any port | TCP | - | |
| testacl5-vpc--sub1-2 | sub1-2 | Outbound | 1 | Allow | 10.240.2.0/24, any port | 1.1.1.1, ports 1-20 | UDP | - | |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not consistent with details.txt

@YairSlobodin1 YairSlobodin1 requested a review from zivnevo January 2, 2025 16:28
@YairSlobodin1 YairSlobodin1 merged commit dea21da into main Jan 5, 2025
5 checks passed
@YairSlobodin1 YairSlobodin1 deleted the parse_cubes branch January 5, 2025 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Optimization of nACLs
2 participants