Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NilsIrl/MozWire
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8c35b9262be2ffae620484bbf21b1e21ce90069a
Choose a base ref
..
head repository: NilsIrl/MozWire
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 30f84901b23a7b7e3698d1c62ea69ea477a65a0e
Choose a head ref
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/constants.rs
5 changes: 3 additions & 2 deletions src/constants.rs
Original file line number Diff line number Diff line change
@@ -5,12 +5,13 @@ pub const BASE_URL: &str = "https://vpn.mozilla.org";
pub const V1_API: &str = "/api/v1";
pub const V2_API: &str = "/api/v2";
pub const IPV4_GATEWAY: Ipv4Addr = Ipv4Addr::new(10, 64, 0, 1);
pub const PORT_RANGES: [(u16, u16); 5] = [
pub const PORT_RANGES: [(u16, u16); 6] = [
(53, 53),
(123, 123),
(443, 443),
(4000, 33433),
(33565, 51820),
(52000, 60000),
(52001, 60000),
];
pub const EXPLOITATION_ATTEMPT_MESSAGE: &str = "INVALID DATA RETURNED FROM SERVER, THE CONTENT \
COULD HAVE BEEN TEMPERED IN AN ATTEMPT AT \