Skip to content
Binary file modified assets/ClientConf
Binary file not shown.
Binary file removed assets/ClientConf.dev
Binary file not shown.
252 changes: 161 additions & 91 deletions protobuf/signalling.pb.go

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion protobuf/signalling.proto
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,17 @@ message ClientConf {
optional DecoyList decoy_list = 1;
optional uint32 generation = 2;
optional PubKey default_pubkey = 3;
optional DarkDecoyBlocks dark_decoy_blocks = 4;
}

message DecoyList {
repeated TLSDecoySpec tls_decoys = 1;
}

message DarkDecoyBlocks{
repeated string blocks = 1;
}

// State transitions of the client
enum C2S_Transition {
C2S_NO_CHANGE = 0;
Expand Down Expand Up @@ -192,8 +197,9 @@ message ClientToStation {
// Used in dark decoys to signal which dark decoy it will connect to.
optional string masked_decoy_server_name = 21;

// Used to indicate to server if client doesn't support ipv6 for dark decoy address selection.
// Used to indicate to server if client is registering v4, v6 or both
optional bool v6_support = 22;
optional bool v4_support = 23;

// Random-sized junk to defeat packet size fingerprinting.
optional bytes padding = 100;
Expand Down
Loading