src/

directory
v0.1.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: Apache-2.0

Directories

Path Synopsis
admin
cli
Package cli contains methods useful for implementing administrative command line utilities.
Package cli contains methods useful for implementing administrative command line utilities.
history
Package history analyzes client contact history to compute statistics and find anomalies.
Package history analyzes client contact history to compute statistics and find anomalies.
Package client contains the components and utilities that every Fleetspeak client should include.
Package client contains the components and utilities that every Fleetspeak client should include.
channel
Package channel provides fleetspeak.Message passing over interprocess pipes.
Package channel provides fleetspeak.Message passing over interprocess pipes.
clienttestutils
Package clienttestutils contains utility functions for the client test, in part platform-specific.
Package clienttestutils contains utility functions for the client test, in part platform-specific.
clitesting
Package clitesting contains utilities useful for testing clients and client components.
Package clitesting contains utilities useful for testing clients and client components.
comms
Package comms defines the interface between the Fleetspeak client base library and the Communicator component used to talk to the server.
Package comms defines the interface between the Fleetspeak client base library and the Communicator component used to talk to the server.
config
Package config defines structures and definitions relating to the client's configuration.
Package config defines structures and definitions relating to the client's configuration.
daemonservice
Package daemonservice implements a service which runs and communicates with a separate daemon subprocess.
Package daemonservice implements a service which runs and communicates with a separate daemon subprocess.
daemonservice/client
Package client is a go client library for daemonservice.
Package client is a go client library for daemonservice.
daemonservice/command
Package command provides a relatively thin wrapper around exec.Cmd, adding support for communicating with the dependent process using a channel.Channel.
Package command provides a relatively thin wrapper around exec.Cmd, adding support for communicating with the dependent process using a channel.Channel.
daemonservice/execution
Package execution provides an abstraction for a single execution of a command with the context of daemonservice.
Package execution provides an abstraction for a single execution of a command with the context of daemonservice.
daemonservice/testclient
Package testclient implements a daemonservice client meant for testing.
Package testclient implements a daemonservice client meant for testing.
flow
Package flow contains structures and utility method relating to client-server flow control configuration.
Package flow contains structures and utility method relating to client-server flow control configuration.
generic
Package generic provides support methods to build a generic client, not bound to a particular installation.
Package generic provides support methods to build a generic client, not bound to a particular installation.
https
Package https provides comms.Communicator implementations which connect to the Fleetspeak server using HTTPS.
Package https provides comms.Communicator implementations which connect to the Fleetspeak server using HTTPS.
internal/config
Package config contains internal structures and methods relating to managing a client's configuration.
Package config contains internal structures and methods relating to managing a client's configuration.
internal/message
Package message implements utility structures and methods used by the FS client to manage messages.
Package message implements utility structures and methods used by the FS client to manage messages.
internal/monitoring
Package monitoring contains utilities for gathering data about resource usage in order to monitor client-side resource usage.
Package monitoring contains utilities for gathering data about resource usage in order to monitor client-side resource usage.
internal/process
Package process encapsulates OS-independent process management helpers.
Package process encapsulates OS-independent process management helpers.
service
Package service defines the interface that fleetspeak client side services must implement, along with some related types.
Package service defines the interface that fleetspeak client side services must implement, along with some related types.
signer
Package signer defines an interface to add additional signatures to communications with the Fleetspeak server.
Package signer defines an interface to add additional signatures to communications with the Fleetspeak server.
socketservice
Package socketservice implements a service which runs and communicates with a separate independent process over a local unix socket (or similar).
Package socketservice implements a service which runs and communicates with a separate independent process over a local unix socket (or similar).
socketservice/checks
Package checks implements code which checks permissions of socket files to mitigate the possibility of a non-root attacker messing with socketservice communications channel.
Package checks implements code which checks permissions of socket files to mitigate the possibility of a non-root attacker messing with socketservice communications channel.
socketservice/client
Package client is a go client library for socketservice.Service.
Package client is a go client library for socketservice.Service.
socketservice/testclient
Package testclient implements a socketservice client meant for testing.
Package testclient implements a socketservice client meant for testing.
stats
Package stats contains interfaces and utilities relating to the collection of statistics from a fleetspeak client.
Package stats contains interfaces and utilities relating to the collection of statistics from a fleetspeak client.
stdinservice
Package stdinservice implements a service which, on request, executes a command on the client, passes data to its stdin and returns the result.
Package stdinservice implements a service which, on request, executes a command on the client, passes data to its stdin and returns the result.
watchdog
Package watchdog implements a simple watchdog timer which dumps a trace of all goroutines to a file, and then ends the program, if the timer reaches its limit.
Package watchdog implements a simple watchdog timer which dumps a trace of all goroutines to a file, and then ends the program, if the timer reaches its limit.
anypbtest
Package anypbtest offers test helpers for working with AnyPb protos.
Package anypbtest offers test helpers for working with AnyPb protos.
fscontext
Package fscontext contains helpers for migrating Fleetspeak to context.Context.
Package fscontext contains helpers for migrating Fleetspeak to context.Context.
should
Package should lets callers indicate impossible conditions from the code.
Package should lets callers indicate impossible conditions from the code.
Package comtesting implements utility methods useful for testing both client and server components.
Package comtesting implements utility methods useful for testing both client and server components.
config
certs
Package certs contains utility methods for reading and verifying the certificates needed to configure a Fleetspeak installation.
Package certs contains utility methods for reading and verifying the certificates needed to configure a Fleetspeak installation.
server
Package serer
Package serer
e2etesting
inttesting
frr
Package frr implements the "Fake Rapid Response" service.
Package frr implements the "Fake Rapid Response" service.
integrationtest
Package integrationtest defines methods to implement integration tests in which a server and one or more clients are brought up and exercised.
Package integrationtest defines methods to implement integration tests in which a server and one or more clients are brought up and exercised.
Package server contains the components and utilities that every Fleetspeak server should include.
Package server contains the components and utilities that every Fleetspeak server should include.
admin
Package admin defines an administrative interface into the fleetspeak system.
Package admin defines an administrative interface into the fleetspeak system.
authorizer
Package authorizer defines interfaces and utility methods to validate and limit client communications.
Package authorizer defines interfaces and utility methods to validate and limit client communications.
comms
Package comms defines the interface used by the Fleetspeak modules which communicate with clients.
Package comms defines the interface used by the Fleetspeak modules which communicate with clients.
components
Package components defines and instantiates the components needed by a generic Fleetspeak server.
Package components defines and instantiates the components needed by a generic Fleetspeak server.
components/authorizer
Package authorizer provide generic implementations and utility methods for Fleetspeak's authorizer component type.
Package authorizer provide generic implementations and utility methods for Fleetspeak's authorizer component type.
components/https
Package https provides generic implementations and utility methods for Fleetspeak https communication component type.
Package https provides generic implementations and utility methods for Fleetspeak https communication component type.
components/notifications
Package notifications defines basic Listener/Notification support for generic Fleetspeak servers.
Package notifications defines basic Listener/Notification support for generic Fleetspeak servers.
db
Package db defines the interface that fleetspeak expects from its persistence layer.
Package db defines the interface that fleetspeak expects from its persistence layer.
grpcservice
Package grpcservice defines a service.Service which passes all received messages to a destination host using grpc.
Package grpcservice defines a service.Service which passes all received messages to a destination host using grpc.
grpcservice/client/testing
Package main tests a fleetspeak server talking through a grpcserver to a python loopback process.
Package main tests a fleetspeak server talking through a grpcserver to a python loopback process.
https
Package https implements an https-based server Communicator.
Package https implements an https-based server Communicator.
ids
Package ids defines identifier types and utility methods specific to the fleetspeak server and server components.
Package ids defines identifier types and utility methods specific to the fleetspeak server and server components.
internal/broadcasts
Package broadcasts contains code for a Fleetspeak server to manage broadcasts.
Package broadcasts contains code for a Fleetspeak server to manage broadcasts.
internal/cache
Package cache contains caching structures using internally by the Fleetspeak server.
Package cache contains caching structures using internally by the Fleetspeak server.
internal/ftime
Package ftime defines "fleetspeak time" as a global variable.
Package ftime defines "fleetspeak time" as a global variable.
internal/notifications
Package internal contains miscellaneous small components used internally by the Fleetspeak server.
Package internal contains miscellaneous small components used internally by the Fleetspeak server.
internal/services
Package services defines internal fleetspeak components relating to services.
Package services defines internal fleetspeak components relating to services.
internal/signatures
Package signatures implements utility methods for checking cryptographic signatures.
Package signatures implements utility methods for checking cryptographic signatures.
mysql
Package mysql implements the fleetspeak datastore interface using a mysql database.
Package mysql implements the fleetspeak datastore interface using a mysql database.
notifications
Package notifications defines the plugin interface for components which allow the fleetspeak servers within an installation to notify each other about interesting events.
Package notifications defines the plugin interface for components which allow the fleetspeak servers within an installation to notify each other about interesting events.
sertesting
Package sertesting contains utilities useful for testing the fleetspeak server and server components.
Package sertesting contains utilities useful for testing the fleetspeak server and server components.
service
Package service defines the interface that fleetspeak expects from its service implementations.
Package service defines the interface that fleetspeak expects from its service implementations.
sqlite
Package sqlite implements the fleetspeak datastore interface using an sqlite database.
Package sqlite implements the fleetspeak datastore interface using an sqlite database.
stats
Package stats contains interfaces and utilities relating to the collection of statistics from a fleetspeak server.
Package stats contains interfaces and utilities relating to the collection of statistics from a fleetspeak server.
testserver
Package testserver configures and creates a Fleetspeak server instance suitable for unit tests.
Package testserver configures and creates a Fleetspeak server instance suitable for unit tests.
windows

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL