From ac90f88220702409ac00ff0daee650ec581dd67b Mon Sep 17 00:00:00 2001 From: Diego Rey Mendez Date: Thu, 14 Nov 2024 00:43:18 +0100 Subject: [PATCH] Roll back VPN Routing change (#1076) Task/Issue URL: https://app.asana.com/0/1207603085593419/1208760591643047/f iOS PR: https://github.com/duckduckgo/iOS/pull/3574 macOS PR: https://github.com/duckduckgo/macos-browser/pull/3547 What kind of version bump will this require?: Patch ## Description Rolls back a routing change that was causing trouble for some users. --- .../Routing/VPNRoutingRange.swift | 78 +++++++++---------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/Sources/NetworkProtection/Routing/VPNRoutingRange.swift b/Sources/NetworkProtection/Routing/VPNRoutingRange.swift index 292d5cc9b..d72f63628 100644 --- a/Sources/NetworkProtection/Routing/VPNRoutingRange.swift +++ b/Sources/NetworkProtection/Routing/VPNRoutingRange.swift @@ -21,10 +21,10 @@ import Foundation public enum VPNRoutingRange { public static let alwaysExcludedIPv4Range: [NetworkProtection.IPAddressRange] = [ - "127.0.0.1/8", /* 255.0.0.0 Loopback */ - "169.254.0.1/16", /* 255.255.0.0 Link-local */ - "224.0.0.1/4", /* 240.0.0.0 Multicast */ - "240.0.0.1/4", /* 240.0.0.0 Class E */ + "127.0.0.0/8", /* 255.0.0.0 Loopback */ + "169.254.0.0/16", /* 255.255.0.0 Link-local */ + "224.0.0.0/4", /* 240.0.0.0 Multicast */ + "240.0.0.0/4", /* 240.0.0.0 Class E */ ] public static let alwaysExcludedIPv6Range: [NetworkProtection.IPAddressRange] = [ @@ -36,43 +36,43 @@ public enum VPNRoutingRange { public static let localNetworkRange: [NetworkProtection.IPAddressRange] = [ // "10.0.0.0/8", /* 255.0.0.0 */ - "172.16.0.1/12", /* 255.240.0.0 */ - "192.168.0.1/16", /* 255.255.0.0 */ + "172.16.0.0/12", /* 255.240.0.0 */ + "192.168.0.0/16", /* 255.255.0.0 */ ] public static let publicNetworkRange: [NetworkProtection.IPAddressRange] = [ - "1.0.0.1/8", - "2.0.0.1/8", - "3.0.0.1/8", - "4.0.0.1/6", - "8.0.0.1/7", - "11.0.0.1/8", - "12.0.0.1/6", - "16.0.0.1/4", - "32.0.0.1/3", - "64.0.0.1/2", - "128.0.0.1/3", - "160.0.0.1/5", - "168.0.0.1/6", - "172.0.0.1/12", - "172.32.0.1/11", - "172.64.0.1/10", - "172.128.0.1/9", - "173.0.0.1/8", - "174.0.0.1/7", - "176.0.0.1/4", - "192.0.0.1/9", - "192.128.0.1/11", - "192.160.0.1/13", - "192.169.0.1/16", - "192.170.0.1/15", - "192.172.0.1/14", - "192.176.0.1/12", - "192.192.0.1/10", - "193.0.0.1/8", - "194.0.0.1/7", - "196.0.0.1/6", - "200.0.0.1/5", - "208.0.0.1/4", + "1.0.0.0/8", + "2.0.0.0/8", + "3.0.0.0/8", + "4.0.0.0/6", + "8.0.0.0/7", + "11.0.0.0/8", + "12.0.0.0/6", + "16.0.0.0/4", + "32.0.0.0/3", + "64.0.0.0/2", + "128.0.0.0/3", + "160.0.0.0/5", + "168.0.0.0/6", + "172.0.0.0/12", + "172.32.0.0/11", + "172.64.0.0/10", + "172.128.0.0/9", + "173.0.0.0/8", + "174.0.0.0/7", + "176.0.0.0/4", + "192.0.0.0/9", + "192.128.0.0/11", + "192.160.0.0/13", + "192.169.0.0/16", + "192.170.0.0/15", + "192.172.0.0/14", + "192.176.0.0/12", + "192.192.0.0/10", + "193.0.0.0/8", + "194.0.0.0/7", + "196.0.0.0/6", + "200.0.0.0/5", + "208.0.0.0/4", ] }