Skip to content

Commit

Permalink
Roll back VPN Routing change (#1076)
Browse files Browse the repository at this point in the history
Task/Issue URL:
https://app.asana.com/0/1207603085593419/1208760591643047/f

iOS PR: duckduckgo/iOS#3574
macOS PR: duckduckgo/macos-browser#3547

What kind of version bump will this require?: Patch

## Description

Rolls back a routing change that was causing trouble for some users.
  • Loading branch information
diegoreymendez authored Nov 13, 2024
1 parent 948420e commit ac90f88
Showing 1 changed file with 39 additions and 39 deletions.
78 changes: 39 additions & 39 deletions Sources/NetworkProtection/Routing/VPNRoutingRange.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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] = [
Expand All @@ -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",
]
}

0 comments on commit ac90f88

Please sign in to comment.