mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-08-26 22:09:37 +00:00
2bfdd44759
* machine-id should be scoped unbder same user-id * feat: report device os metadata to console * fix sync root key cause packet loss * fix tun packet not invalid * fix faketcp cause lat jitter * fix some packet not decrypt * fix peer info patch, improve performance of update self info * fix foreign credential identity mismatch handling
38 lines
714 B
Protocol Buffer
38 lines
714 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
import "common.proto";
|
|
|
|
package web;
|
|
|
|
message DeviceOsInfo {
|
|
string os_type = 1;
|
|
string version = 2;
|
|
string distribution = 3;
|
|
}
|
|
|
|
message HeartbeatRequest {
|
|
common.UUID machine_id = 1;
|
|
common.UUID inst_id = 2;
|
|
string user_token = 3;
|
|
|
|
string easytier_version = 4;
|
|
string report_time = 5;
|
|
string hostname = 6;
|
|
|
|
repeated common.UUID running_network_instances = 7;
|
|
DeviceOsInfo device_os = 8;
|
|
}
|
|
|
|
message HeartbeatResponse {}
|
|
|
|
message GetFeatureRequest {}
|
|
|
|
message GetFeatureResponse {
|
|
bool support_encryption = 1;
|
|
}
|
|
|
|
service WebServerService {
|
|
rpc Heartbeat(HeartbeatRequest) returns (HeartbeatResponse);
|
|
rpc GetFeature(GetFeatureRequest) returns (GetFeatureResponse);
|
|
}
|