From dc2bbdc1f3b2f62cf46d9c4ab393a77e1344849a Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Sun, 29 Jan 2023 17:11:58 +0100 Subject: [PATCH] Allow Visual Studio Code connections --- rules.lsrules | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/rules.lsrules b/rules.lsrules index a2a3f43..ac22cdd 100644 --- a/rules.lsrules +++ b/rules.lsrules @@ -84,6 +84,76 @@ "protocol": "tcp", "remote-hosts": "sw-update.obdev.at" }, + { + "action": "allow", + "notes": "Allow VS Code's Helper to download repositories from Github.", + "ports": "22", + "process": "/Applications/Visual Studio Code.app/Contents/MacOS/Electron", + "protocol": "tcp", + "remote-hosts": "github.com", + "via": "/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper" + }, + { + "action": "allow", + "notes": "Allow VS Code's Helper to download repositories from Github.", + "ports": "443", + "process": "/Applications/Visual Studio Code.app/Contents/MacOS/Electron", + "protocol": "tcp", + "remote-hosts": "github.com", + "via": "/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper" + }, + { + "action": "allow", + "notes": "Allow VS Code's Helper to download repositories from Gitlab.", + "ports": "22", + "process": "/Applications/Visual Studio Code.app/Contents/MacOS/Electron", + "protocol": "tcp", + "remote-hosts": "gitlab.com", + "via": "/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper" + }, + { + "action": "allow", + "notes": "Allow VS Code's Helper to download repositories from Gitlab.", + "ports": "443", + "process": "/Applications/Visual Studio Code.app/Contents/MacOS/Electron", + "protocol": "tcp", + "remote-hosts": "gitlab.com", + "via": "/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper" + }, + { + "action": "allow", + "notes": "Allow VS Code's Helper to get the user's information from Gravatar.", + "ports": "443", + "process": "/Applications/Visual Studio Code.app/Contents/MacOS/Electron", + "protocol": "tcp", + "remote-hosts": "www.gravatar.com", + "via": "/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper" + }, + { + "action": "allow", + "notes": "Allow VS Code's Helper to gather extensions.", + "ports": "443", + "process": "/Applications/Visual Studio Code.app/Contents/MacOS/Electron", + "protocol": "tcp", + "remote-hosts": "marketplace.visualstudio.com", + "via": "/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper" + }, + { + "action": "allow", + "notes": "Allow VS Code's Helper to look for updates.", + "ports": "443", + "process": "/Applications/Visual Studio Code.app/Contents/MacOS/Electron", + "protocol": "tcp", + "remote-hosts": "update.code.visualstudio.com", + "via": "/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper" + }, + { + "action": "deny", + "notes": "Stop VS Code's Helper from connecting to dc.services.visualstudio.com.", + "process": "/Applications/Visual Studio Code.app/Contents/MacOS/Electron", + "remote-hosts": "dc.services.visualstudio.com", + "via": "/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper" + }, { "action": "allow", "notes": "Allow Logi Options+ to connect to Logitech's account.",