diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2022-04-28 10:56:25 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2022-04-28 10:57:42 +0200 |
| commit | 05ed04ec3ddc6d7f5d74397d7956bee36df70524 (patch) | |
| tree | c3b8aee14c79ef60428293b5e2fd75b9d180b5cf /gui/src/shared | |
| parent | fa4876768cd889b4a7b951d3be607f87b65323d1 (diff) | |
| download | mullvadvpn-05ed04ec3ddc6d7f5d74397d7956bee36df70524.tar.xz mullvadvpn-05ed04ec3ddc6d7f5d74397d7956bee36df70524.zip | |
Show obfuscation endpoint as in-data
Diffstat (limited to 'gui/src/shared')
| -rw-r--r-- | gui/src/shared/daemon-rpc-types.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gui/src/shared/daemon-rpc-types.ts b/gui/src/shared/daemon-rpc-types.ts index dc3088cc80..d1eab9cdce 100644 --- a/gui/src/shared/daemon-rpc-types.ts +++ b/gui/src/shared/daemon-rpc-types.ts @@ -61,6 +61,7 @@ export function tunnelTypeToString(tunnel: TunnelType): string { } export type RelayProtocol = 'tcp' | 'udp'; +export type ObfuscationType = 'udp2tcp'; export type Constraint<T> = 'any' | { only: T }; export type LiftedConstraint<T> = 'any' | T; @@ -86,6 +87,7 @@ export interface ITunnelEndpoint { protocol: RelayProtocol; tunnelType: TunnelType; proxy?: IProxyEndpoint; + obfuscationEndpoint?: IObfuscationEndpoint; entryEndpoint?: IEndpoint; } @@ -94,6 +96,13 @@ export interface IEndpoint { transportProtocol: RelayProtocol; } +export interface IObfuscationEndpoint { + address: string; + port: number; + protocol: RelayProtocol; + obfuscationType: ObfuscationType; +} + export interface IProxyEndpoint { address: string; protocol: RelayProtocol; |
