j-fbriere / squawker

An open-source privacy oriented Twitter/X client
MIT License
800 stars 16 forks source link

Proxy / sni(dpi) faker function #219

Open bropines opened 4 months ago

bropines commented 4 months ago

Describe the problem

I live in a country where Twitter is officially blocked, and I have to turn on the VPN every time. is it possible to add a connection through my proxy server inside the application? It would be very convenient.

Describe the solution

Proxy function which will allow you to open Twitter without unnecessary things. As for DPI, the pixez app has a feature that helps you connect to pixiv in my country.

lnee94 commented 4 months ago

In a lot of vpns you can select what apps are proxeied like orbot

bropines commented 4 months ago

In a lot of vpns you can select what apps are proxeied like orbot

The problem is that I don’t have a rooted device, and I have to run Adguard in VPN mode... That’s why I have this request

j-fbriere commented 4 months ago

Version v3.7.4 implement this feature.

It allows to set a proxy HTTP(S) or SOCKS5. The proxy can be set under Settings / General then tap on the Proxy item. The format is: scheme://[user:pwd@]host:port. Eg https://1.2.3.4:5678 or socks5://who:ami@9.8.7.6:2468.

bropines commented 4 months ago

For some reason the posts are loading (text) but there are no pictures...

j-fbriere commented 4 months ago

Which proxy are you using?

bropines commented 4 months ago

Which proxy are you using?

Socks5. Canada

I can try http

j-fbriere commented 4 months ago

if this doesn't work, you'll have to be more specific about your proxy (ip port, username password if applicable). you can email me if you want.

bropines commented 4 months ago

if this doesn't work, you'll have to be more specific about your proxy (ip port, username password if applicable). you can email me if you want.

This? I'll give it a try. There is still a possibility that TSPU (I don’t know how to say it in English) in my country cuts proxy traffic jeanfrancois.briere@creativaxion.com

j-fbriere commented 4 months ago

yes this email. "TSPU" is an acronym in which language?

bropines commented 4 months ago

"TSPU" is an acronym in which language?

Russian, or to be more precise, then "Technical means to counter threats" - We have it as "Tekhnicheskie Sredstva Protivodejstviya Ugrozam - TSPU"

bropines commented 4 months ago

Hmmmm.... I noticed that shadowsocks are not blocked here... Is it possible to add support for it?

bropines commented 2 months ago

I'm here again. After careful research (20 minutes), I found out that the proxy works, but for some reason does not proxy images. That is, the Posts load, but the pictures don’t load at all.

bropines commented 1 month ago

@j-fbriere it is normal that posts are loaded through a proxy, but pictures are not loaded. I use nekobox for a proxy, maybe that's the case?

bropines commented 1 month ago

as well With VPN: everything is loaded Nothing is loaded without vpn (vpn starts in nekobox) When you connect a proxy, local, posts are loaded, and even pictures are swinging, but in the interface they are in perpetual download. I showed it in detail on the screen recording (my Xiaomi is very buggy, MIUI moment)

Video(It doesn't fit on github) https://disk.yandex.ru/i/0BdCSVDV7heBmA