diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2022-04-28 14:15:50 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2022-04-28 14:15:50 +0200 |
| commit | 1a14f5c4c4f3818cea75bbb592d74d09b573aede (patch) | |
| tree | c3b8aee14c79ef60428293b5e2fd75b9d180b5cf /gui/src/shared | |
| parent | fa4876768cd889b4a7b951d3be607f87b65323d1 (diff) | |
| parent | 05ed04ec3ddc6d7f5d74397d7956bee36df70524 (diff) | |
| download | mullvadvpn-1a14f5c4c4f3818cea75bbb592d74d09b573aede.tar.xz mullvadvpn-1a14f5c4c4f3818cea75bbb592d74d09b573aede.zip | |
Merge branch 'show-correct-in-data-with-obfuscation'
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; |
