Coder Social home page Coder Social logo

dockopotamus's People

Contributors

esell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dockopotamus's Issues

Add bandwidth throttling

Each container should have outbound traffic set to a very low level to prevent the container from becoming a viable source for real attacks.

There should also be some logic in the app that detects sustained outbound traffic and shuts the container down.

Moar ports

Would be neat to listen on other ports/protocols (telnet anyone?).

Gather metrics

The logging data, src IP, etc should be collected and put into something (elasticsearch?). With all of the potential data coming in there should be a good way to search and aggregate it.

So... about security

What are some steps that can be taken to make this a bit more secure?

  • using -cap-drop=all breaks a lot of the container since it's assumed users will want to download/create stuff
  • document how to create a docker group so we can avoid running as root
  • document how to forward port 22 -> dockopotamus port to avoid running as root
  • the main attack vector seems to be the docker daemon, what do we do about that?

Use go-dockerclient

Look at using go-dockerclient to do container stuffs instead of just running a command via bash.

Is snoopy the answer?

Is snoopy the right way to log everything? Should the logs be sent somewhere vs written to disk?

Add config file

Things like listening port, docker image used, etc should be set via a config file instead of being hardcoded.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.