ACLs #3608
Replies: 2 comments 5 replies
I was waiting for this to happen ;)
Thank you!
The routing module. It has all the infrastructure we need (for example, item sequencing, merging global to node objects, all sorts of callbacks that can do object expansion...). Maybe we should start with the data model, and then I can add the scaffolding to the routing module (that one is "somewhat" complex).
I'd go for the usual: source, destination (both as prefixes, or would you like to have weird masks?), protocol(s) (list), port(s) (list). Then you can apply the ACL to an interface (input/output). Next step(s):
|
|
Not sure whether it's to heavy for what you're looking for in netlab ACL feature, but maybe this can help. If not for the code, then at least the vendor agnostic data model and platform adapters could help. |
Uh oh!
There was an error while loading. Please reload this page.
I need ACLs. I'm willing to implement them, at least the most useful parts. ( permit/deny, source/dest match, network masks, protocol matching, logging. TCP/UDP ports can come later)
Having it in core, implementation would benefit from code from the general routing module and could reuse prefixes, making it easy for route maps and other constructs to refer to an ACL in the future if the need arises. The increasing complexity of templates could be mitigated by factoring some parts into separate files and using includes + macros.
At the same time, ACLs are quirky enough to mandate being a plugin.
All reactions