-
Notifications
You must be signed in to change notification settings - Fork 28
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
Get rid of the blacklisted_syslog_ranges
feature
#176
Comments
This feature dates back to publicly accessible CF instances to prevent users from ddos'ing random IPs. I'm not sure if we want to say that's not a valid use case for CF? |
CF users always have had and continue to be able to ddos random ips if they wanted to. The explaination I heard was to prevent exfiltration of logs/metrics to undesired ip addresses(which seems to me like being able to remove addresses rather then ip ranges would be easier to do in many cases?, or perhaps removing all external ip addresses or so on would be a much more functional usecase) The biggest thing is I think that nobody is utilizing this feature at all. |
It does not seem like anyone is using this feature from some GitHub searching. Additionally, we received a complaint from an operator that the consistent DNS lookups performed by Syslog Agents for this feature – need to convert hostnames in drains to IPs in order to compare them to the blacklist – is resulting in a heavy load on their DNS system. I think we should rip this out in a major version. |
One thing to be wary of is how this changes the metrics emitted by the Syslog Agent. At the very least, the invalid drains metric and blacklisted drains metric may change or be removed. |
I've checked the code and it shouldn't have any problems with the The removal of the blacklisted_drains metric shouldn't be a problem at all. |
I agree with this assertion. Since the feature is not used as far as I can tell, I don't see why this metric would be valuable at all. |
We don't think that it's possible to remove the DNS resolution check from the binding sync loop unless it's as a breaking change. Unlike Since a breaking change seems like more trouble than this gain is worth, we're gonna set this back down for now. Maybe we'll come back to it later. Happy to review PRs for it in the meantime though :) |
I don't think anyone actually uses it, and even if they tried, I think it would be hard to make that feature actually useful. We should remove this functionality and the code associated with it.
The text was updated successfully, but these errors were encountered: