Skip to content

Commit

Permalink
Add offline mode fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikegapinski committed Nov 12, 2023
1 parent 9d42de5 commit 3483fbb
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 785894236964614b22f08fa85a11d7441e6747ff Mon Sep 17 00:00:00 2001
From 83d17ee9f5f6a69f95358886790275edae63cc9c Mon Sep 17 00:00:00 2001
From: Jenkins <[email protected]>
Date: Thu, 8 Jun 2023 13:35:55 +0000
Subject: [PATCH 1/5] Configurable offline mode + iptables for frontend access
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 61a4946bf6291683f5a53647bed4a484871d5be7 Mon Sep 17 00:00:00 2001
From 8fc738e2e8db919df06789329218b122b6f82491 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20Gapi=C5=84ski?= <[email protected]>
Date: Sat, 24 Jun 2023 15:21:34 +0000
Subject: [PATCH 2/5] netd: use 216.58.215.78:6969 for the fullscreen redirect
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 088cbc2343b83760a1797926fbdf21324068a992 Mon Sep 17 00:00:00 2001
From 7b537766aad291a900c18afcd80f487aa3755d38 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20Gapi=C5=84ski?= <[email protected]>
Date: Wed, 20 Sep 2023 10:36:16 +0000
Subject: [PATCH 3/5] Remove old TA endpoints
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 91ffc8109dd4116933210189aa5ed98c26591a60 Mon Sep 17 00:00:00 2001
From b7d01b9fa9cf71c198c38382840c86ee86b6b262 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20Gapi=C5=84ski?= <[email protected]>
Date: Wed, 20 Sep 2023 10:47:21 +0000
Subject: [PATCH 4/5] Remove hermes dns spoof from offline mode. It is not
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From 595e512c1d6edcc77a3058bcaf877eb7dcdf2c0a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20Gapi=C5=84ski?= <[email protected]>
Date: Sun, 12 Nov 2023 12:38:44 +0000
Subject: [PATCH 5/5] Add www.tesla.com to offline mode domains

Change-Id: I7b82dfce45851e41a91ba3a1742e2050ddf24cd5
---
server/TetherController.cpp | 1 +
1 file changed, 1 insertion(+)

diff --git a/server/TetherController.cpp b/server/TetherController.cpp
index a294399..fd175b5 100644
--- a/server/TetherController.cpp
+++ b/server/TetherController.cpp
@@ -280,6 +280,7 @@ int TetherController::startTethering(bool usingLegacyDnsProxy, int num_addrs, ch
if(offlineModeEnabled == 1) {
argVector.push_back("--address=/connman.vn.tesla.services/104.248.101.213");
argVector.push_back("--address=/www.teslamotors.com/104.248.101.213");
+ argVector.push_back("--address=/www.tesla.com/104.248.101.213");
argVector.push_back("--address=/connman.vn.cloud.tesla.cn/104.248.101.213");
argVector.push_back("--address=/www.tesla.cn/104.248.101.213");
}
--
2.34.1

0 comments on commit 3483fbb

Please sign in to comment.