github.com/google/fleetspeak@v0.1.15-0.20240426164851-4f31f62c1aea/fleetspeak/src/client/proto/fleetspeak_client/client.proto (about) 1 syntax = "proto3"; 2 3 package fleetspeak.client; 4 5 option go_package = "github.com/google/fleetspeak/fleetspeak/src/client/proto/fleetspeak_client"; 6 7 // Parameters used to configure communicator plugins. 8 message CommunicatorConfig { 9 // The longest possible wait before attempting to contact the server. The 10 // communicator may poll sooner if there are messages for the server, of it 11 // there has been recent communication with the server. 12 // 13 // A default of 5 minutes is used if unset. 14 int32 max_poll_delay_seconds = 2; 15 16 // The longest possible wait before attempting to contact the server when 17 // there is some data to transmit. The communicator may poll sooner if the 18 // buffer is full. 19 // 20 // A default of 5 seconds is used if unset. 21 int32 max_buffer_delay_seconds = 3; 22 23 // The minimum time to wait after a failure to reach any server. 24 // 25 // A default of 5 minutes is used if unset. 26 int32 min_failure_delay_seconds = 4; 27 28 // If the communicator is unable to communicate with the server for this long, 29 // it should kill fleetspeak, in the hope that a restart will fix things. 30 // 31 // A default of 7 days is used if unset. 32 int32 failure_suicide_time_seconds = 5; 33 } 34 35 // ClientState contains the state of the client which should be persisted across 36 // restarts. 37 message ClientState { 38 // The client key, normally fixed after first execution. Also defines the 39 // client's id. 40 bytes client_key = 1; 41 42 // The most recent sequencing nonce received from the server. 43 uint64 sequencing_nonce = 7; 44 45 // A set of revoked/blacklisted certificate serial numbers in big endian 46 // format. Not restricted, but normally at most 20 bytes. (RFC 3280) 47 repeated bytes revoked_cert_serials = 8; 48 }