Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxy support (electron) #901

Open
ekes opened this issue Oct 3, 2023 · 1 comment
Open

Proxy support (electron) #901

ekes opened this issue Oct 3, 2023 · 1 comment
Labels
App Issue affects the standalone application enhancement
Milestone

Comments

@ekes
Copy link

ekes commented Oct 3, 2023

Maybe a support request, maybe a feature request?

With electron apps you can usually pass --proxy-server argument and get it to use a socks proxy (ala chrome); but it seems I can't do this with the AppImage?

What would be the best way here of using a proxy in the post-Thunderbird world.

@thsmi
Copy link
Owner

thsmi commented Oct 7, 2023

The short version:
It is definitely a feature request. Currently there is no proxy support in the app.

The long version:

Electron is basically a Chromium side by side with a Node.js means it is shipped with two completely independent networking stacks.

The chromium side would offer proxy support but only for http based communication. There is no API for not HTTP communication. Means this can't be used for sieve as it is needs a TCP Socket.

The node side offer access to TCP Sockets but they do not support proxies at all. And most likely never will, because the devs regard proxies a defunct relict of the past.

So the only way to get socks support into the application is by adding/implementing a socks proxy client into the sieve communication stack. A socks client is not too hard to implement, I did this many years ago but it is definitely a ton of work.

Makes this unlikely to land anytime soon.

Currently the only workaround I can think of is using such a proxify application. It is basically a proxy which talks to the proxy. There are tons out there, but which one works highly depends on your use-case.

@thsmi thsmi added enhancement App Issue affects the standalone application labels Oct 7, 2023
@thsmi thsmi added this to Backlog in 1.0.0 (Planning) via automation Oct 7, 2023
@thsmi thsmi added this to the Future milestone Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App Issue affects the standalone application enhancement
Projects
1.0.0 (Planning)
  
Backlog
Development

No branches or pull requests

2 participants