diff options
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; |
