#language #connector #client #focus #set #repository #sending


A Fleetspeak client connector library for the Rust language

8 releases

0.3.1 Aug 26, 2022
0.3.0 Jun 17, 2022
0.2.1 Jun 13, 2022
0.1.3 Jul 14, 2021
0.1.1 Mar 24, 2020

#620 in Rust patterns

Download history 1/week @ 2022-08-16 30/week @ 2022-08-23 2/week @ 2022-08-30 19/week @ 2022-09-06 10/week @ 2022-09-13 21/week @ 2022-09-20 5/week @ 2022-09-27 12/week @ 2022-10-04 6/week @ 2022-10-11 25/week @ 2022-10-18 4/week @ 2022-10-25 256/week @ 2022-11-01 35/week @ 2022-11-08 114/week @ 2022-11-15 5/week @ 2022-11-22 1/week @ 2022-11-29

191 downloads per month

MIT license

432 lines

Fleetspeak (for Rust)

CI status Crate Documentation

Fleetspeak is a communication framework with a focus on security monitoring. Currently, it is primarily used in the GRR project (a remote live forensics framework).

This repository contains a library for writing code in the Rust language for client-side Fleetspeak services. In a nutshell, this library is just a set of functions for sending and receiving messages from the Fleetspeak client.

Currently there are no plans to provide capabilities for writing server-side services as well. Since server-side services communicate with the Fleetspeak server through gRPC, having a sufficiently ergonomic gRPC library should be more than enough for such purposes.

This project is not an official Google product, is under heavy development and should not be used for any production code. It is merely a proof of concept and part of the experiment of rewriting the GRR client in Rust.


To write your service, first add this library to dependencies in your project's Cargo.toml file:

fleetspeak = "0.3.0"

Now, in your project, you can use functions such as fleetspeak::send and fleetspeak::receive to communicate with the Fleetspeak client. Consult the documentation about the details. You can also checkout the example.

Read the Fleetspeak manual to learn how to make the Fleetspeak client aware of your service and launch it as a daemon.


  • What are the build requirements?

This library uses Protocol Buffers to communicate with Fleetspeak. To work with proto messages in Rust, it uses the rust-protobuf crate and compiles needed proto files to Rust code.


~32K SLoC