mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-12 09:50:47 +01:00
update protocol
This commit is contained in:
parent
d18d2db9ee
commit
2d350b2522
@ -480,8 +480,10 @@ func infoToMetaData(info *system.Info) *proto.PeerSystemMeta {
|
||||
Cloud: info.Environment.Cloud,
|
||||
Platform: info.Environment.Platform,
|
||||
},
|
||||
RosenpassEnabled: info.RosenpassEnabled,
|
||||
RosenpassPermissive: info.RosenpassPermissive,
|
||||
ServerSSHAllowed: info.ServerSSHAllowed,
|
||||
Config: &proto.Config{
|
||||
RosenpassEnabled: info.Config.RosenpassEnabled,
|
||||
RosenpassPermissive: info.Config.RosenpassPermissive,
|
||||
ServerSSHAllowed: info.Config.ServerSSHAllowed,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -100,6 +100,13 @@ message Environment {
|
||||
string platform = 2;
|
||||
}
|
||||
|
||||
// Config is a message with local configuration settings of the peer
|
||||
message Config {
|
||||
bool rosenpassEnabled = 1;
|
||||
bool rosenpassPermissive = 2;
|
||||
bool serverSSHAllowed = 3;
|
||||
}
|
||||
|
||||
// PeerSystemMeta is machine meta data like OS and version.
|
||||
message PeerSystemMeta {
|
||||
string hostname = 1;
|
||||
@ -117,9 +124,7 @@ message PeerSystemMeta {
|
||||
string sysProductName = 13;
|
||||
string sysManufacturer = 14;
|
||||
Environment environment = 15;
|
||||
bool rosenpassEnabled = 16;
|
||||
bool rosenpassPermissive = 17;
|
||||
bool serverSSHAllowed = 18;
|
||||
Config config = 16;
|
||||
}
|
||||
|
||||
message LoginResponse {
|
||||
|
Loading…
Reference in New Issue
Block a user