GithubHelp home page GithubHelp logo

fleetspeak's Introduction

Fleetspeak

Travis Build Status Appveyor Build Status Go Report Card

Fleetspeak is a framework for communicating with a fleet of machines, with a focus on security monitoring and basic administrative use cases. It is a subproject of GRR, and can be seen as an effort to modularizing and modernizing its communication mechanism.

Status

We have this code working internally as part of our GRR installation. Over the next weeks to months we will be organizing our open source development process, building out installation processes and otherwise preparing for broader external use, both as part of GRR and for other uses.

Getting Started

On linux, assuming a recent version of the go development environment (tested with 1.9, probably requires at least 1.8) and virtualenv, the following sequence of commands will build and test this pre-release:

# Required golang dependencies:
go get \
  github.com/go-sql-driver/mysql \
  github.com/golang/glog \
  github.com/golang/protobuf/proto \
  github.com/kolide/osquery-go \
  github.com/mattn/go-sqlite3 \
  github.com/pires/go-proxyproto \
  golang.org/x/sys \
  golang.org/x/time/rate \
  google.golang.org/grpc

# This package:
go get github.com/google/fleetspeak

# Assuming default $GOPATH:
cd ~/go/src/github.com/google/fleetspeak

# Setup virtualenv - fleetspeak provides some python integration libraries,
# and this ensures they are set up in a known way.
virtualenv venv
source venv/bin/activate
pip install -e .

# Set mysql parameters. The mysql datastore test will run if the following environment
# variables are set. Otherwise it will be skipped.
export MYSQL_TEST_USER=<username>
export MYSQL_TEST_PASS=<password>   # will assume null password if unset.
export MYSQL_TEST_ADDR=<host:port>

# Build and test the release:
source venv/bin/activate
cd fleetspeak
STRICT=true ./build.sh
./test.sh

Once built, you can take a look at the files and instructions in our demo directory.

DISCLAIMER

While the code presented here is in some sense feature complete, much of it is barely tested or documented, and breaking changes are still possible. Therefore, please consider this a preview release while the dust settles. Suggestions and pull requests are very much appreciated.

fleetspeak's People

Contributors

bgalehouse avatar golint-fixer avatar kant avatar mbushkov avatar mlkm avatar ogarod avatar panhania avatar the80srobot avatar

Watchers

 avatar

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.