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

for chinese user to pass the firewall #129

Open
panyuhang93 opened this issue Oct 8, 2020 · 25 comments
Open

for chinese user to pass the firewall #129

panyuhang93 opened this issue Oct 8, 2020 · 25 comments

Comments

@panyuhang93
Copy link

Java 端通过修改 OkHttp 的 SSLSocket 实现绕过 SNI 审查(即旁路阻断)直连 Pixiv 的功能
https://github.com/Notsfsssf/Pix-EzViewer/tree/master/app/src/main/java/com/perol/asdpl/pixivez/networks

this is a way ,but I don't know if it works for PixivforMuzei3

@yellowbluesky
Copy link
Owner

I originally copied the same code for use in my app, and it worked for a while.

I now noticed that he has done some new special things, I'll try to copy it and see if it works better for you Chinese users :)

@panyuhang93
Copy link
Author

yes,i see you did so close the issue.
Anyway,thank you so much

@yellowbluesky
Copy link
Owner

Wait, does it actually work now? The Cloudflare code I copied was in a branch that I did not publish, the latest version of the app does not do anything differently for bypassing the SNI firewall.

@panyuhang93
Copy link
Author

sorry,but yesterday it work for me without vpn,today ,emmmm,i think it's about the wall😂

@SettingDust
Copy link
Contributor

@Notsfsssf

@KawaiiZapic
Copy link

This feature should have a built-in pixiv.net resolve list to make domain of pixiv pointing to pixiv server directly, instead of CDN.
Because CDN needs some information to make connections,but this method remove these information to against GFW.
Pixiv server doesn't need these information, so you can use this method to connect to pixiv directly.

@yellowbluesky
Copy link
Owner

I am working on this right now, I have some time and motivation now

@panyuhang93
Copy link
Author

pixiv seems to have a lot of changes regarding login

@SettingDust
Copy link
Contributor

Hello,

Can you help me test this out? Let me know if you can bypass the GFW

https://github.com/yellowbluesky/PixivforMuzei3/releases/tag/3.3.1

Can't install

@yellowbluesky
Copy link
Owner

My apologies, can you try this now?

https://github.com/yellowbluesky/PixivforMuzei3/releases/tag/3.3.2

This time I actually tested manually installing the apk, and it works for me

@SettingDust
Copy link
Contributor

My apologies, can you try this now?

https://github.com/yellowbluesky/PixivforMuzei3/releases/tag/3.3.2

This time I actually tested manually installing the apk, and it works for me

It's seems that can't. Source -> Browse -> Refresh. And no response. And I tested Shaft. The bypass is available

@yellowbluesky
Copy link
Owner

Is this the Shaft that you speak of?

https://github.com/CeuiLiSA/Pixiv-Shaft

I haven't looked at their code, I'll get on it

@SettingDust
Copy link
Contributor

Is this the Shaft that you speak of?

https://github.com/CeuiLiSA/Pixiv-Shaft

I haven't looked at their code, I'll get on it

Yes, It is

@SettingDust
Copy link
Contributor

@yellowbluesky
Copy link
Owner

Is this the Shaft that you speak of?
https://github.com/CeuiLiSA/Pixiv-Shaft
I haven't looked at their code, I'll get on it

https://github.com/CeuiLiSA/Pixiv-Shaft/blob/516789c232ff2a37d3d1fbdea1672254fb83932f/app/src/main/java/ceui/lisa/http/Retro.java#L66

Thank you very much, I'll try to get another buil dout in a few hours

@SettingDust
Copy link
Contributor

Is this the Shaft that you speak of?
https://github.com/CeuiLiSA/Pixiv-Shaft
I haven't looked at their code, I'll get on it

https://github.com/CeuiLiSA/Pixiv-Shaft/blob/516789c232ff2a37d3d1fbdea1672254fb83932f/app/src/main/java/ceui/lisa/http/Retro.java#L66

Thank you very much, I'll try to get another buil dout in a few hours

Alright, thx a lot :D

@SettingDust
Copy link
Contributor

Is this the Shaft that you speak of?
https://github.com/CeuiLiSA/Pixiv-Shaft
I haven't looked at their code, I'll get on it

https://github.com/CeuiLiSA/Pixiv-Shaft/blob/516789c232ff2a37d3d1fbdea1672254fb83932f/app/src/main/java/ceui/lisa/http/Retro.java#L66

Thank you very much, I'll try to get another buil dout in a few hours

Maybe you can push the code. So that I can translate the new options

@yellowbluesky
Copy link
Owner

I'm having some trouble, so I've asked for help

CeuiLiSA/Pixiv-Shaft#289

@yellowbluesky
Copy link
Owner

Hi everyone, can you try this build out?

https://github.com/yellowbluesky/PixivforMuzei3/releases/tag/3.3.1_GFWTest

Please let me know if logging in, ranking images, and feed images work without needing a VPN.

@SettingDust
Copy link
Contributor

Hi everyone, can you try this build out?

https://github.com/yellowbluesky/PixivforMuzei3/releases/tag/3.3.1_GFWTest

Please let me know if logging in, ranking images, and feed images work without needing a VPN.

Cant install

@yellowbluesky
Copy link
Owner

Hi everyone, can you try this build out?
https://github.com/yellowbluesky/PixivforMuzei3/releases/tag/3.3.1_GFWTest
Please let me know if logging in, ranking images, and feed images work without needing a VPN.

Cant install

Sorry, can you try uninstalling the existing version that you have already installed, and then install this? It downloads from Github and installs fine on my Android 10 MIUI device

@yellowbluesky
Copy link
Owner

If that fails, try this one:
https://github.com/yellowbluesky/PixivforMuzei3/releases/tag/3.4.0_GFWTest_prodRelease
Production release flavor, and properly incremented version number

@SettingDust
Copy link
Contributor

SettingDust commented Mar 15, 2021

Hi everyone, can you try this build out?
https://github.com/yellowbluesky/PixivforMuzei3/releases/tag/3.3.1_GFWTest
Please let me know if logging in, ranking images, and feed images work without needing a VPN.

Cant install

Sorry, can you try uninstalling the existing version that you have already installed, and then install this? It downloads from Github and installs fine on my Android 10 MIUI device

3.4 still can't login. But load images. I think it's fine

@SettingDust
Copy link
Contributor

@CeuiLiSA 您有什么想法吗,我个人觉得登陆不了是正常的

In my option, can't login without vpn is fine :D

@panyuhang93
Copy link
Author

@CeuiLiSA您有什么想法吗,我个人觉得登陆不了是正常的

3.4.0,杭州电信,都不行、无奈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants