-
Notifications
You must be signed in to change notification settings - Fork 27
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
[Feature]: source and destination range for acl have to be a prefix in Netbox? #129
Comments
Thanks for opening this Issue! We really appreciate the feedback & testing from users like you! |
I let Ryan comment on the questions asked in this. But IMO, even if ip addresses are to be used, we should use them via the ipam > ipaddress model as a foreign key. I'd discourage the use of char fields for adding any arbitrary ip addresses. |
+1 for adding IPs as a src or dst item. We have alot of ACLs that have host IPs listed in entries. |
also of note, as a result of the source/destination object being required to be a netbox "prefix" object you can't represent a default adding support for /0 netmask was discussed/rejected here - as a result you can't configure the following policy/rule with netbox-acl:
|
Hey, you can leave the Source/Destination-Prefix/Port field blank and then you have your "Any" rule. |
I'd like to work on this feature (ideally implement it for v1.5.0 and newer), can it be approved and assigned to me? |
Being able to select a Service as target instead of an IP address and port would be awesome as well. |
@ryanmerolle Right now i'm simply adding I'm proceeding with my approach for now, but let me know, if the |
@ryanmerolle I have completed the work for this feature. (I was not able to backport it to 1.5.0. I think we would need version specific release branches for that) |
hi @rvveber will look to review this next week - thanks for your submission, please note for future commits please don't bump the version number, more than likely this will go into a 1.7.0 release (for NetBox 4.1) |
Great! Thanks! |
Hi people, is there a blocker to this PR? I would love to have this merged. Thanks for your work! |
+1. We also need this Feature very urgently! |
I really don't want to be rude, but i put a lot of effort into the solution 2 months ago, and it's kind of important that it will be available before the end of this year. |
Hey @jeremystretch, please can you take a look on this? We need this function as soon as possible, but are unfortunately dependent on the merge request. Many thanks in advance! |
Do we have update on this? I urgently need this feature |
@ryanmerolle may i ask to help you maintain this project? |
NetBox version
v3.4.3
Feature type
New Model to plugin
Proposed functionality
I had a look on this plugin for our use case and one thing I noticed (except that as already mentioned ACLs are bound to devices) is that if you want to use a source or destination range it has to be part of "prefixes". I did not find a way to use an aggregate or a host or any IP range not defined in Netbox.
The only way I found to forbid e.g. a bogus IP range like 192.0.2.0/24 was to add a prefix for this in Netbox.
Also with hosts: if I want to create a rule for example to allow access to a single host it is not possible except I create an additional prefix for this.
Is there a special reason why every source or destination range has to be an exsting prefix?
Use case
You could setup source and destinations with any IP range regardless whether they exist in Netbox or not.
External dependencies
don't know about dependencies for this
The text was updated successfully, but these errors were encountered: