MCV-Software / TWBlue

TWBlue, an accessible, open source and multiplatform twitter application.
GNU General Public License v2.0
58 stars 36 forks source link

Proxy support #104

Open jmdaweb opened 7 years ago

jmdaweb commented 7 years ago

Although TWBlue now supports http, https, socks4 and socks5 proxy servers, it fails when these servers require autentication. We have to determine if it happens only on http proxy servers, or on all types. We need to test all possible configurations. Do you know any proxy server that we can run quickly on Windows / Linux to perform tests? I know Squid, and @ivnc has created an account for us in his proxy. OpenSSH allows us to have a socks4 / socks5 proxy, but without autentication. Any ideas?

jmdaweb commented 7 years ago

I have performed some tests with CCProxy. It seems that http connections require an http proxy, and https connections require an https proxy. socks4 and socks5 proxies support both protocols. TWBlue has passed successfully tests with proxy autentication.

manuelcortez commented 7 years ago

shall we close this issue?

jmdaweb commented 7 years ago

Not yet, I need to perform more tests.

From: Manuel Cortéz Sent: Wednesday, February 1, 2017 10:29 AM To: manuelcortez/TWBlue Cc: José Manuel ; Author Subject: Re: [manuelcortez/TWBlue] Proxy support (#104)

shall we close this issue?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/manuelcortez/TWBlue/issues/104#issuecomment-276611137, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJXb7Nl_cVvz5-H7LV0KRKNzFHBOf36eks5rYFBcgaJpZM4LsVBu.

jmdaweb commented 7 years ago

Now that TWBlue can be opened without Internet connection and some users have reported succesful tests, this issue is almost closed. We have to add digest authentication for proxy servers. Requests-toolbelt has a class which implements this functionality. Regards.

ivnc commented 7 years ago

Excuse me for the delay. As @jmdaweb commented me privately the application has passed sucessfuly https proxy with authentication tests. Recently I update to the last version (I was using 0.88) and made tests. I can use TWBlue behind a HTTP/HTTPS proxy so the part of iimplementing support for HTTP/HTTPS authentication I thinkt that's closed.

Regards.

jmdaweb commented 7 years ago

Can you enable digest authentication in your server? It may be useful to perform the final tests before closing this issue.