Commit graph

7 commits

Author SHA1 Message Date
Connor Peet cd4bd7e64b
forwarding: add a warning for public ports (#192599)
* forwarding: add a warning for public ports

A number of users have raised some security concerns about port
forwarding. Forwarded ports are private (requiring auth with the same
GH account that did the forwarding) by default. When making a port
public, show the following dialog:

![](https://memes.peet.io/img/23-09-3f3351c7-cdcd-46e5-9d0f-123e4dda6b3c.png)

* Update extensions/tunnel-forwarding/src/extension.ts

Co-authored-by: Joyce Er <joyce.er@microsoft.com>

---------

Co-authored-by: Joyce Er <joyce.er@microsoft.com>
2023-09-08 19:19:50 +02:00
Connor Peet a8b8e3a143
forwarding: fix log format again (#191941)
Fixes #191759
2023-09-01 09:38:20 -07:00
Connor Peet cd7388f4da
forwarding: fix formatting issues in the log (#191814)
Fixes #191759
2023-08-30 18:50:50 +02:00
Connor Peet 2af3045474
tunnels: fix forwarding attempts wrong path to tunnel binary on linux (#191657)
Fixes #191621
2023-08-29 19:28:37 +02:00
Alex Ross a7d7ad8797
Show Ports view when there's an onTunnel extension (#190202) 2023-08-10 14:23:00 -07:00
Connor Peet a0e56dcea7
forwarding: fix tearing down process too early (#190081) 2023-08-09 20:24:56 +01:00
Connor Peet 71282c3d52
forwarding: add built-in tunnel forwarding extension (#189874)
* forwarding: add built-in tunnel forwarding extension

- Support public/private ports, which accounts for most of the work in
  the CLI. Previously ports were only privat.
- Make the extension built-in. Ported from the remote-containers
  extension with some tweaks for privacy and durability.
- This also removes the opt-in flag, by not reimplementing it 😛

Fixes https://github.com/microsoft/vscode/issues/189677
Fixes https://github.com/microsoft/vscode/issues/189678

* fixup! comments

---------

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2023-08-08 22:00:03 +01:00