Skip to content

Commit

Permalink
Rolls back a routing change that caused trouble for some users
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoreymendez committed Nov 13, 2024
1 parent e40bba1 commit bf22a24
Showing 1 changed file with 40 additions and 40 deletions.
80 changes: 40 additions & 40 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 @@ -35,44 +35,44 @@ 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 */
"10.0.0.0/8", /* 255.0.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 bf22a24

Please sign in to comment.