Files
Easytier/easytier/src/proto/web.proto
T
KKRainbow 2bfdd44759 multi_fix: harden peer/session handling, tighten foreign-network trust, and improve web client metadata (#1999)
* 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
2026-03-21 21:06:07 +08:00

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);
}