feat: added transport layers for sparse 0.5 target

This commit is contained in:
Andrew Rioux
2023-09-02 15:26:58 -04:00
parent aecf1c9b80
commit d7a0deba0c
4 changed files with 166 additions and 59 deletions

View File

@@ -76,7 +76,7 @@ pub mod messages {
DownloadFileSegment(u64, u64, Vec<u8>),
}
#[derive(Serialize, Deserialize, Debug)]
#[derive(Serialize, Deserialize, Debug, Clone, Copy)]
pub enum TransportType {
RawUdp,
Udp,
@@ -88,6 +88,7 @@ pub mod messages {
pub docker_breakout: bool,
pub setuid: bool,
pub root: bool,
pub userent: Option<String>,
pub transport: TransportType,
}
}