diff options
| author | Emīls <emils@mullvad.net> | 2021-12-14 15:05:47 +0000 |
|---|---|---|
| committer | Emīls <emils@mullvad.net> | 2022-01-14 14:42:53 +0000 |
| commit | f46e257b5a0de0b530016672773ecda5d08de9df (patch) | |
| tree | a49c6d32ac3bf56cd1332a34f74388607d8dce8e /gui/src | |
| parent | c0396210ad8bd9e6e51c4b36975fa7a9de3270ff (diff) | |
| download | mullvadvpn-f46e257b5a0de0b530016672773ecda5d08de9df.tar.xz mullvadvpn-f46e257b5a0de0b530016672773ecda5d08de9df.zip | |
Simplify custom resolver to not leak any traffic
Diffstat (limited to 'gui/src')
| -rw-r--r-- | gui/src/main/daemon-rpc.ts | 4 | ||||
| -rw-r--r-- | gui/src/shared/daemon-rpc-types.ts | 2 | ||||
| -rw-r--r-- | gui/src/shared/notifications/error.ts | 10 |
3 files changed, 0 insertions, 16 deletions
diff --git a/gui/src/main/daemon-rpc.ts b/gui/src/main/daemon-rpc.ts index c8cad6fa6a..ac677f4ded 100644 --- a/gui/src/main/daemon-rpc.ts +++ b/gui/src/main/daemon-rpc.ts @@ -831,10 +831,6 @@ function convertFromTunnelStateErrorCause( } case grpcTypes.ErrorState.Cause.SPLIT_TUNNEL_ERROR: return { reason: 'split_tunnel_error' }; - case grpcTypes.ErrorState.Cause.FILTERING_RESOLVER_ERROR: - return { reason: 'filtering_resolver_error' }; - case grpcTypes.ErrorState.Cause.READ_SYSTEM_DNS_CONFIG: - return { reason: 'read_system_dns_config' }; case grpcTypes.ErrorState.Cause.VPN_PERMISSION_DENIED: // VPN_PERMISSION_DENIED is only ever created on Android throw invalidErrorStateCause; diff --git a/gui/src/shared/daemon-rpc-types.ts b/gui/src/shared/daemon-rpc-types.ts index 472742db71..68e61fc3ea 100644 --- a/gui/src/shared/daemon-rpc-types.ts +++ b/gui/src/shared/daemon-rpc-types.ts @@ -41,8 +41,6 @@ export type ErrorStateCause = | 'set_dns_error' | 'start_tunnel_error' | 'is_offline' - | 'filtering_resolver_error' - | 'read_system_dns_config' | 'split_tunnel_error'; } | { reason: 'set_firewall_policy_error'; details: FirewallPolicyError } diff --git a/gui/src/shared/notifications/error.ts b/gui/src/shared/notifications/error.ts index 22fd1858dc..066c9c333e 100644 --- a/gui/src/shared/notifications/error.ts +++ b/gui/src/shared/notifications/error.ts @@ -138,16 +138,6 @@ function getMessage(errorDetails: IErrorState, accountExpiry?: string): string { 'notifications', "Your device is offline. Try connecting when it's back online.", ); - case 'filtering_resolver_error': - // TODO: Figure out a better error message to show to users - return messages.pgettext( - 'notifications', - ' Unable to activate macOS network check module. Close any programs that might be using port 53, or disable "Allow macOS network check".', - ); - case 'read_system_dns_config': - // TODO: Figure out a better error message to show to users - return messages.pgettext('notifications', 'Failed to read system DNS configuration.'); - case 'split_tunnel_error': return messages.pgettext( 'notifications', |
