We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
>>> input_rule = dict( ... name="Allow to internal web", ... src_ip=["192.0.2.0/24"], ... dst_ip=["192.0.2.0/24"], ... dst_port=["tcp/80", "tcp/433"], ... action="permit", ... ) >>> >>> >>> acl.ACLRule(input_rule).expanded_rules [] >>> input_rule = dict( ... name="Allow to internal web", ... src_ip=["192.0.2.1"], ... dst_ip=["192.0.2.10"], ... dst_port=["tcp/80", "tcp/433"], ... action="permit", ... ) >>> >>> acl.ACLRule(input_rule).expanded_rules [{'name': 'Allow to internal web', 'src_ip': '192.0.2.1', 'dst_ip': '192.0.2.10', 'dst_port': '6/80', 'action': 'permit'}, {'name': 'Allow to internal web', 'src_ip': '192.0.2.1', 'dst_ip': '192.0.2.10', 'dst_port': '6/433', 'action': 'permit'}] >>>
The text was updated successfully, but these errors were encountered:
This is a bit of unfortunate test case - only if src_ip matches dst_ip, however still applicable for 0.0.0.0/0 to .0.0.0.0/0 or in-vlan firewalls.
0.0.0.0/0
.0.0.0.0/0
Sorry, something went wrong.
Can you look at self.filter_same_ip? I think this is to be expected as currently coded, but perhaps shouldn't be?
self.filter_same_ip
https://netutils.readthedocs.io/en/latest/user/lib_use_cases_acl/?h=self.filter_same_ip#initialization-loading-data
No branches or pull requests
The text was updated successfully, but these errors were encountered: