-
Notifications
You must be signed in to change notification settings - Fork 580
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
Cluster sync: Only sync valid UTF8 content (text config, no binaries) #7391
Conversation
- *.conf files are sanitized automatically. - Other files detect sanitizing and treat that as unsupported type refs #7382
1a5b9ea
to
20266cd
Compare
TestsMy local mini cluster. Binary file in zones.d
Binary file in var-libJust in case someone thinks being a genius.
The config sync already takes care of purging the production stage.
Binary in config stageOh, even more genius. That doesn't work, the master doesn't use this. Binary in config stage, secondary masterOne could still this.
doesn't work either, the stage directory is purged. Binary in stage, disallowed purge by userIf for some reason, the daemon is not allowed to purge, there is another security door closed: The same mechanism which reads the files on the config master is applied for all endpoint config syncs. |
@lippserd I'll join you on Monday for this. |
Offline meeting: This is the route to go, we cannot allow any binary content being used in our cluster messages. There's better tools for this. |
refs #7382