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
[dev.icinga.com #10354] New method: cidr_match() #3481
Comments
Updated by Anonymous on 2015-10-14 08:15:03 +00:00
Applied in changeset 06a0f18. |
Updated by gbeutner on 2015-10-14 08:21:41 +00:00
|
Updated by tgelf on 2015-10-14 10:16:33 +00:00
@gunnar: thanks for you help, please check and merge feature/cidr-match-10354 :-) Cheers, |
Updated by gbeutner on 2015-10-14 12:45:45 +00:00
|
Updated by mfriedrich on 2015-10-15 09:45:26 +00:00
|
Updated by gbeutner on 2015-10-15 09:59:23 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/10354
Created by tgelf on 2015-10-13 11:47:39 +00:00
Assignee: gbeutner
Status: Resolved (closed on 2015-10-14 12:45:45 +00:00)
Target Version: 2.3.11
Last Update: 2015-10-15 09:59:23 +00:00 (in Redmine)
A method cidr_match() would allow us to assign services based on network ranges in CIDR notation. That could be a very handsome feature.
Examples
I'd prefer to see one single method for IPv4 and IPv6 addresses. Alternatively an additional cidr6_match() would also be fine. In either case, decimal notation for the last four bytes should be allowed. Functions should gracefully return false in case a non-IP string is given, but give a parse error in case of an invalid CIDR notation.
Thanks,
Thomas
Changesets
2015-10-14 08:14:01 +00:00 by (unknown) 06a0f18
2015-10-14 10:12:54 +00:00 by tgelf 21c48e8
2015-10-14 10:23:59 +00:00 by tgelf 29188a4
2015-10-14 10:24:03 +00:00 by (unknown) 14e37a0
2015-10-15 09:58:56 +00:00 by (unknown) bb93489
2015-10-15 09:59:05 +00:00 by tgelf dc92e26
2015-10-15 09:59:12 +00:00 by (unknown) a64279d
Relations:
The text was updated successfully, but these errors were encountered: