Skip to content
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

security hardening #6

Open
1 of 6 tasks
Ivshti opened this issue Apr 15, 2020 · 0 comments
Open
1 of 6 tasks

security hardening #6

Ivshti opened this issue Apr 15, 2020 · 0 comments
Assignees

Comments

@Ivshti
Copy link
Member

Ivshti commented Apr 15, 2020

  • check if git hooks can run arbitrary code on push, in the way they're configured by dokku; in other words, can you inject code via git hooks
  • dokku allows nginx config to be customized; while we don't use that config as we just auto-configure nginx on the swarm, can the nginx config customization feature be used to attack the deployer? perhaps by hijacking port 5000
    • in any case, better to disallow it
  • customize the default dokku CHECK so that it ensures what you're pushing is an addon
  • limit size of docker images and containers
    • harder than it initially looks cause this is no longe rsupported on the default storage driver (overlayfs) unless you're running xfs underneath
  • nginx: short timeouts, 5-10 seconds
  • firewall: only expose 80 (or 443) from the swarm, only 22 from the deployer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants