xvzc / SpoofDPI

A simple and fast anti-censorship tool written in Go
Apache License 2.0
3.48k stars 250 forks source link

After update on MacOS 15.0 (24A335) Sequoia not working with YouTube and other sites #249

Open el-top-dev opened 1 week ago

el-top-dev commented 1 week ago

Version

spoofdpi v0.12.0

Operating System

MacOS 15.0 (24A335) Sequoia

How are you running SpoofDPI?

run binary from terminal ./spoofdpi

Description

After update app not working. Can't access YouTube, and other resources that prohibited in Russia.

Ledorub commented 1 week ago

You can try changing the window size. If we get more reports from users who updated to Sequoia, we will elevate this issue to bug.

augustvavreliy commented 1 week ago

have same issue on 15.0

alexls74 commented 1 week ago

The same

DenisPiton commented 1 week ago

same

kr4chinin commented 1 week ago

Same with Sonoma 14.6.1 (23G93).

SkamSyStem commented 1 week ago

same here. Тоже самое. могу лог предоставить или что либо что бы ускорить процесс починки =) да я думаю все готовы помочь в этой не простой ситуации.

Ledorub commented 1 week ago

могу лог предоставить

It would be great. I'm waiting for 15.1 or 15.0.1 to upgrade to Sequoia, so I can't gather logs by myself.

SkamSyStem commented 1 week ago

простите что на русском пишу. Хотел предоставить информацию, запустил YouTube, а он заработал без проги. Провайдер меня любит. Попробую поймать момент и записать лог файл. Как понимаю, команда "spoofdpi -debug" поможет собрать нужную информацию. macOS 15.0 (24A335). % spoofdpi -debug.txt файл лога. Что я делал - Запустил "dpi", в safari открыл YouTube, не увидел ролики. Открыл Chrome. Зашел в настройки "chrome://flags (искать по “Kyber”)" отключил, выключил dpi проверил без программы. всё заработало.

macOS чистая. Описал всё что делал, может поможет как то эта информация.

LiquidTheDangerous commented 1 week ago

@SkamSyStem @kr4chinin @DenisPiton @alexls74 @augustvavreliy Could Y'all try is branch from PR #253 please

Maybe it could help

Manual build required

LiquidTheDangerous commented 1 week ago

@SkamSyStem

Можешь попробывать собрать SpoofDPI из PR, который выше прикрепил. У меня проблема просто не повторяется. Пробывал два российских провайдера, без фикса все работает. Возможно этот фикс поможет в твоем случае

el-top-dev commented 1 week ago

@SkamSyStem @kr4chinin @DenisPiton @alexls74 @augustvavreliy Could Y'all try is branch from PR #253 please

Maybe it could help

Manual build required

I tried to compile from this branch and run it. The result is the same. Doesn't work.

LiquidTheDangerous commented 1 week ago

@el-top-dev Do you use system-wide settings? Or you specify proxy settings for each browser client? If you use system-wide setting, Try specifying proxy settings for the browser

el-top-dev commented 1 week ago

system-wide

How can i do this?

LiquidTheDangerous commented 1 week ago

@el-top-dev By default, for Mac, spoof writes proxy settings to the system, any other applications, such as browser uses this proxy settings. I think maybe something has changed in Sequoia. Try running spoof, and specify the proxy address and port for your browser.

LiquidTheDangerous commented 1 week ago

@el-top-dev like this (firefox) image

el-top-dev commented 1 week ago

@el-top-dev like this (firefox) image

I tried it. Chrome uses a proxy from the system settings. When manually configuring localhost 8080, nothing changes. Still doesn't work =((

LiquidTheDangerous commented 1 week ago

@el-top-dev As an experiment, can you try Firefox?

el-top-dev commented 1 week ago

@el-top-dev As an experiment, can you try Firefox?

The same situation =(( all resources are working, but not working YouTube with manual proxy settings in Firefox

LiquidTheDangerous commented 1 week ago

@el-top-dev Can we somehow confirm that the problem is related to the update to Sequoia?

el-top-dev commented 1 week ago

@el-top-dev Can we somehow confirm that the problem is related to the update to Sequoia?

All I can say is that everything worked for me before the update. For my part, I can provide some additional diagnostic data. Tell me what you need.

pda-gb commented 1 week ago

Обновление mac os не причём, сегодня ещё работал power tunnel, днём уже перестало вообще всё работать. Провайдеры научились походу обходить.

alexls74 commented 1 week ago

Confirm. The same happens on 17.7. Here is the log

INF 2024-09-20T08:07:10+10:00 [PROXY] created a listener on port 8080 DBG 2024-09-20T08:07:13+10:00 6d12073c-d38a9ff8-bafeeb79-aaa22b5f [PROXY] request from 127.0.0.1:52928

CONNECT / HTTP/1.1 Host: www.youtube.com Connection: keep-alive

DBG 2024-09-20T08:07:13+10:00 6d12073c-d38a9ff8-bafeeb79-aaa22b5f [DNS] resolving www.youtube.com using doh resolver(https://9.9.9.9/dns-query) DBG 2024-09-20T08:07:13+10:00 e28f47ef-b4c427bc-0338d33f-846c2177 [PROXY] request from 127.0.0.1:52931

CONNECT / HTTP/1.1 Host: www.youtube.com Connection: keep-alive

DBG 2024-09-20T08:07:13+10:00 e28f47ef-b4c427bc-0338d33f-846c2177 [DNS] resolving www.youtube.com using doh resolver(https://9.9.9.9/dns-query) DBG 2024-09-20T08:07:13+10:00 6d12073c-d38a9ff8-bafeeb79-aaa22b5f [DNS] resolved 142.250.197.174 from www.youtube.com in 244 ms DBG 2024-09-20T08:07:13+10:00 e28f47ef-b4c427bc-0338d33f-846c2177 [DNS] resolved 142.250.197.174 from www.youtube.com in 234 ms DBG 2024-09-20T08:07:14+10:00 6d12073c-d38a9ff8-bafeeb79-aaa22b5f [HTTPS] new connection to the server 192.168.1.111:52936 -> www.youtube.com DBG 2024-09-20T08:07:14+10:00 6d12073c-d38a9ff8-bafeeb79-aaa22b5f [HTTPS] sent connection established to 127.0.0.1:52928 DBG 2024-09-20T08:07:14+10:00 6d12073c-d38a9ff8-bafeeb79-aaa22b5f [HTTPS] error reading client hello from 127.0.0.1:52928: EOF DBG 2024-09-20T08:07:14+10:00 e28f47ef-b4c427bc-0338d33f-846c2177 [HTTPS] new connection to the server 192.168.1.111:52937 -> www.youtube.com DBG 2024-09-20T08:07:14+10:00 e28f47ef-b4c427bc-0338d33f-846c2177 [HTTPS] sent connection established to 127.0.0.1:52931 DBG 2024-09-20T08:07:14+10:00 e28f47ef-b4c427bc-0338d33f-846c2177 [HTTPS] client sent hello 517 bytes DBG 2024-09-20T08:07:14+10:00 e28f47ef-b4c427bc-0338d33f-846c2177 [HTTPS] writing chunked client hello to www.youtube.com DBG 2024-09-20T08:07:14+10:00 e28f47ef-b4c427bc-0338d33f-846c2177 [HTTPS] window-size: 0 DBG 2024-09-20T08:07:14+10:00 e28f47ef-b4c427bc-0338d33f-846c2177 [HTTPS] using legacy fragmentation DBG 2024-09-20T08:07:14+10:00 be4774e2-7399a53a-ac0a161c-f7aa0c98 [PROXY] request from 127.0.0.1:52938

CONNECT / HTTP/1.1 Host: www.youtube.com Connection: keep-alive

DBG 2024-09-20T08:07:14+10:00 be4774e2-7399a53a-ac0a161c-f7aa0c98 [DNS] resolving www.youtube.com using doh resolver(https://9.9.9.9/dns-query) DBG 2024-09-20T08:07:14+10:00 be4774e2-7399a53a-ac0a161c-f7aa0c98 [DNS] resolved 142.250.197.174 from www.youtube.com in 76 ms DBG 2024-09-20T08:07:15+10:00 be4774e2-7399a53a-ac0a161c-f7aa0c98 [HTTPS] new connection to the server 192.168.1.111:52939 -> www.youtube.com DBG 2024-09-20T08:07:15+10:00 be4774e2-7399a53a-ac0a161c-f7aa0c98 [HTTPS] sent connection established to 127.0.0.1:52938 DBG 2024-09-20T08:07:15+10:00 be4774e2-7399a53a-ac0a161c-f7aa0c98 [HTTPS] client sent hello 517 bytes DBG 2024-09-20T08:07:15+10:00 be4774e2-7399a53a-ac0a161c-f7aa0c98 [HTTPS] writing chunked client hello to www.youtube.com DBG 2024-09-20T08:07:15+10:00 be4774e2-7399a53a-ac0a161c-f7aa0c98 [HTTPS] window-size: 0 DBG 2024-09-20T08:07:15+10:00 be4774e2-7399a53a-ac0a161c-f7aa0c98 [HTTPS] using legacy fragmentation DBG 2024-09-20T08:07:21+10:00 620132ba-6f109eb5-24a293ee-0a6229a1 [PROXY] request from 127.0.0.1:52941

DBG 2024-09-20T08:07:24+10:00 aff456b7-3d456cd5-f0e83548-33c80139 [DNS] resolving guzzoni.apple.com using doh resolver(https://9.9.9.9/dns-query) DBG 2024-09-20T08:07:24+10:00 aff456b7-3d456cd5-f0e83548-33c80139 [DNS] resolved 18.166.193.142 from guzzoni.apple.com in 75 ms DBG 2024-09-20T08:07:25+10:00 aff456b7-3d456cd5-f0e83548-33c80139 [HTTPS] new connection to the server 192.168.1.111:52965 -> guzzoni.apple.com DBG 2024-09-20T08:07:25+10:00 aff456b7-3d456cd5-f0e83548-33c80139 [HTTPS] sent connection established to 127.0.0.1:52964 DBG 2024-09-20T08:07:25+10:00 aff456b7-3d456cd5-f0e83548-33c80139 [HTTPS] client sent hello 517 bytes DBG 2024-09-20T08:07:25+10:00 aff456b7-3d456cd5-f0e83548-33c80139 [HTTPS] writing chunked client hello to guzzoni.apple.com DBG 2024-09-20T08:07:25+10:00 aff456b7-3d456cd5-f0e83548-33c80139 [HTTPS] window-size: 0 DBG 2024-09-20T08:07:25+10:00 aff456b7-3d456cd5-f0e83548-33c80139 [HTTPS] using legacy fragmentation DBG 2024-09-20T08:07:30+10:00 e28f47ef-b4c427bc-0338d33f-846c2177 [HTTPS] error reading from www.youtube.com: read tcp 192.168.1.111:52937->142.250.197.174:443: read: connection reset by peer DBG 2024-09-20T08:07:30+10:00 e28f47ef-b4c427bc-0338d33f-846c2177 [HTTPS] error reading from 127.0.0.1:52931: read tcp 127.0.0.1:8080->127.0.0.1:52931: use of closed network connection DBG 2024-09-20T08:07:30+10:00 e28f47ef-b4c427bc-0338d33f-846c2177 [HTTPS] closing proxy connection: 127.0.0.1:52931 -> www.youtube.com DBG 2024-09-20T08:07:30+10:00 e28f47ef-b4c427bc-0338d33f-846c2177 [HTTPS] closing proxy connection: www.youtube.com -> 127.0.0.1:52931 DBG 2024-09-20T08:07:30+10:00 8987c80c-ef055586-9414629d-8ea6b24c [PROXY] request from 127.0.0.1:52982

CONNECT / HTTP/1.1 Host: www.youtube.com Connection: keep-alive

DBG 2024-09-20T08:07:30+10:00 8987c80c-ef055586-9414629d-8ea6b24c [DNS] resolving www.youtube.com using doh resolver(https://9.9.9.9/dns-query) DBG 2024-09-20T08:07:30+10:00 8987c80c-ef055586-9414629d-8ea6b24c [DNS] resolved 142.250.197.174 from www.youtube.com in 75 ms DBG 2024-09-20T08:07:30+10:00 8987c80c-ef055586-9414629d-8ea6b24c [HTTPS] new connection to the server 192.168.1.111:52983 -> www.youtube.com DBG 2024-09-20T08:07:30+10:00 8987c80c-ef055586-9414629d-8ea6b24c [HTTPS] sent connection established to 127.0.0.1:52982 DBG 2024-09-20T08:07:30+10:00 8987c80c-ef055586-9414629d-8ea6b24c [HTTPS] client sent hello 517 bytes DBG 2024-09-20T08:07:30+10:00 8987c80c-ef055586-9414629d-8ea6b24c [HTTPS] writing chunked client hello to www.youtube.com DBG 2024-09-20T08:07:30+10:00 8987c80c-ef055586-9414629d-8ea6b24c [HTTPS] window-size: 0 DBG 2024-09-20T08:07:30+10:00 8987c80c-ef055586-9414629d-8ea6b24c [HTTPS] using legacy fragmentation DBG 2024-09-20T08:07:34+10:00 a0fd8b40-1b200df4-ff0eea68-342ece09 [PROXY] request from 127.0.0.1:52984

CONNECT / HTTP/1.1 Host: www.youtube.com Connection: keep-alive

DBG 2024-09-20T08:07:38+10:00 ae9a8f80-3d038a9b-c77d7bbf-d62e09bb [DNS] resolving www.youtube.com using doh resolver(https://9.9.9.9/dns-query) DBG 2024-09-20T08:07:38+10:00 3900f78d-5498a314-9aea3c82-78548f70 [DNS] resolved 142.250.71.182 from i.ytimg.com in 75 ms DBG 2024-09-20T08:07:38+10:00 2d93efa1-6454b8ea-90509e9b-2b74b5c5 [HTTPS] new connection to the server 192.168.1.111:52989 -> googleads.g.doubleclick.net DBG 2024-09-20T08:07:38+10:00 2d93efa1-6454b8ea-90509e9b-2b74b5c5 [HTTPS] sent connection established to 127.0.0.1:52988 DBG 2024-09-20T08:07:38+10:00 2d93efa1-6454b8ea-90509e9b-2b74b5c5 [HTTPS] client sent hello 517 bytes DBG 2024-09-20T08:07:38+10:00 2d93efa1-6454b8ea-90509e9b-2b74b5c5 [HTTPS] writing chunked client hello to googleads.g.doubleclick.net DBG 2024-09-20T08:07:38+10:00 2d93efa1-6454b8ea-90509e9b-2b74b5c5 [HTTPS] window-size: 0 DBG 2024-09-20T08:07:38+10:00 2d93efa1-6454b8ea-90509e9b-2b74b5c5 [HTTPS] using legacy fragmentation DBG 2024-09-20T08:07:38+10:00 25cff146-2263a28b-584636ba-3ab10d93 [HTTPS] new connection to the server 192.168.1.111:52991 -> rr4---sn-q4fl6nz6.googlevideo.com DBG 2024-09-20T08:07:38+10:00 25cff146-2263a28b-584636ba-3ab10d93 [HTTPS] sent connection established to 127.0.0.1:52990 DBG 2024-09-20T08:07:38+10:00 25cff146-2263a28b-584636ba-3ab10d93 [HTTPS] client sent hello 517 bytes DBG 2024-09-20T08:07:38+10:00 25cff146-2263a28b-584636ba-3ab10d93 [HTTPS] writing chunked client hello to rr4---sn-q4fl6nz6.googlevideo.com DBG 2024-09-20T08:07:38+10:00 25cff146-2263a28b-584636ba-3ab10d93 [HTTPS] window-size: 0 DBG 2024-09-20T08:07:38+10:00 25cff146-2263a28b-584636ba-3ab10d93 [HTTPS] using legacy fragmentation DBG 2024-09-20T08:07:38+10:00 ae9a8f80-3d038a9b-c77d7bbf-d62e09bb [DNS] resolved 142.250.197.174 from www.youtube.com in 98 ms DBG 2024-09-20T08:07:38+10:00 c3793f93-3a8005f4-93c8f627-0b58bd01 [PROXY] request from 127.0.0.1:52998

CONNECT / HTTP/1.1 Host: accounts.youtube.com Connection: keep-alive

DBG 2024-09-20T08:07:39+10:00 8edba21e-cafe93d9-b7e22025-492666b5 [DNS] resolving accounts.youtube.com using doh resolver(https://9.9.9.9/dns-query) DBG 2024-09-20T08:07:39+10:00 c3793f93-3a8005f4-93c8f627-0b58bd01 [HTTPS] new connection to the server 192.168.1.111:52999 -> yt3.ggpht.com DBG 2024-09-20T08:07:39+10:00 c3793f93-3a8005f4-93c8f627-0b58bd01 [HTTPS] sent connection established to 127.0.0.1:52998 DBG 2024-09-20T08:07:39+10:00 c3793f93-3a8005f4-93c8f627-0b58bd01 [HTTPS] client sent hello 517 bytes DBG 2024-09-20T08:07:39+10:00 c3793f93-3a8005f4-93c8f627-0b58bd01 [HTTPS] writing chunked client hello to yt3.ggpht.com DBG 2024-09-20T08:07:39+10:00 c3793f93-3a8005f4-93c8f627-0b58bd01 [HTTPS] window-size: 0 DBG 2024-09-20T08:07:39+10:00 c3793f93-3a8005f4-93c8f627-0b58bd01 [HTTPS] using legacy fragmentation DBG 2024-09-20T08:07:39+10:00 2cb0a838-1f21cd86-987cdd48-6f7ea778 [DNS] resolved 142.250.71.170 from jnn-pa.googleapis.com in 74 ms DBG 2024-09-20T08:07:39+10:00 06050c4a-ade876ec-3181c9b8-c19d79a3 [DNS] resolved 142.250.66.38 from static.doubleclick.net in 74 ms DBG 2024-09-20T08:07:39+10:00 8edba21e-cafe93d9-b7e22025-492666b5 [DNS] resolved 142.250.71.206 from accounts.youtube.com in 132 ms DBG 2024-09-20T08:07:39+10:00 2cb0a838-1f21cd86-987cdd48-6f7ea778 [HTTPS] new connection to the server 192.168.1.111:53005 -> jnn-pa.googleapis.com DBG 2024-09-20T08:07:39+10:00 2cb0a838-1f21cd86-987cdd48-6f7ea778 [HTTPS] sent connection established to 127.0.0.1:53000 DBG 2024-09-20T08:07:39+10:00 2cb0a838-1f21cd86-987cdd48-6f7ea778 [HTTPS] client sent hello 517 bytes DBG 2024-09-20T08:07:39+10:00 2cb0a838-1f21cd86-987cdd48-6f7ea778 [HTTPS] writing chunked client hello to jnn-pa.googleapis.com DBG 2024-09-20T08:07:39+10:00 2cb0a838-1f21cd86-987cdd48-6f7ea778 [HTTPS] window-size: 0 DBG 2024-09-20T08:07:39+10:00 2cb0a838-1f21cd86-987cdd48-6f7ea778 [HTTPS] using legacy fragmentation DBG 2024-09-20T08:07:39+10:00 06050c4a-ade876ec-3181c9b8-c19d79a3 [HTTPS] new connection to the server 192.168.1.111:53006 -> static.doubleclick.net DBG 2024-09-20T08:07:39+10:00 06050c4a-ade876ec-3181c9b8-c19d79a3 [HTTPS] sent connection established to 127.0.0.1:53001 DBG 2024-09-20T08:07:39+10:00 06050c4a-ade876ec-3181c9b8-c19d79a3 [HTTPS] client sent hello 517 bytes DBG 2024-09-20T08:07:39+10:00 06050c4a-ade876ec-3181c9b8-c19d79a3 [HTTPS] writing chunked client hello to static.doubleclick.net DBG 2024-09-20T08:07:39+10:00 06050c4a-ade876ec-3181c9b8-c19d79a3 [HTTPS] window-size: 0 DBG 2024-09-20T08:07:39+10:00 06050c4a-ade876ec-3181c9b8-c19d79a3 [HTTPS] using legacy fragmentation DBG 2024-09-20T08:07:39+10:00 8edba21e-cafe93d9-b7e22025-492666b5 [HTTPS] new connection to the server 192.168.1.111:53007 -> accounts.youtube.com DBG 2024-09-20T08:07:39+10:00 8edba21e-cafe93d9-b7e22025-492666b5 [HTTPS] sent connection established to 127.0.0.1:53002 DBG 2024-09-20T08:07:39+10:00 8edba21e-cafe93d9-b7e22025-492666b5 [HTTPS] client sent hello 517 bytes DBG 2024-09-20T08:07:39+10:00 8edba21e-cafe93d9-b7e22025-492666b5 [HTTPS] writing chunked client hello to accounts.youtube.com DBG 2024-09-20T08:07:39+10:00 8edba21e-cafe93d9-b7e22025-492666b5 [HTTPS] window-size: 0 DBG 2024-09-20T08:07:39+10:00 8edba21e-cafe93d9-b7e22025-492666b5 [HTTPS] using legacy fragmentation DBG 2024-09-20T08:07:41+10:00 3b93e609-51a1f60f-ff04d8b1-fafd8a42 [PROXY] request from 127.0.0.1:53008

SkamSyStem commented 1 week ago

Обновление mac os не причём, сегодня ещё работал power tunnel, днём уже перестало вообще всё работать. Провайдеры научились походу обходить.

программа DPI заменяет (подменяет) заголовки, алгоритм понятный, провайдеров заставляют блокировать подобные выходки людей. Так что тут нужен хаотичный алгоритм, такой как в торе. =)

LenzGardfild commented 1 week ago

Дело не в Mac Os. У меня уже давно стоит 15-ая, но с сегодняшнего утра spoofdpi не открывает YouTube. Видимо реально научились блокировать

akvamassa commented 1 week ago

~/.spoofdpi/bin/spoofdpi stopped working today - YT website just not loading. For me helped ~/.spoofdpi/bin/spoofdpi -window-size 7 Version v0.12.0

.edited. YT website was loaded, but video is not showing (loading on black screen)

aj6ni commented 1 week ago

~/.spoofdpi/bin/spoofdpi stopped working today - YT website just not loading. For me helped ~/.spoofdpi/bin/spoofdpi -window-size 7 Version v0.12.0

.edited. YT website was loaded, but video is not showing (loading on black screen) Where do I enter this?

akvamassa commented 1 week ago

Where do I enter this? in your Mac OS terminal

hempalex commented 4 days ago

~/.spoofdpi/bin/spoofdpi stopped working today - YT website just not loading. For me helped ~/.spoofdpi/bin/spoofdpi -window-size 7 Version v0.12.0 .edited. YT website was loaded, but video is not showing (loading on black screen) Where do I enter this?

-window-size 2 works for me Guys, try to increase window-size starting from 1, maybe you got lucky. DPI won't bypass itself 😄

pda-gb commented 4 days ago

~/.spoofdpi/bin/spoofdpi -port 8085 -enable-doh -window-size 1 It worked for me(i use the custom port in the browser settings).

Ledorub commented 3 days ago

There were reports of connection issues on the Sequoia 15.0. So, it may be not related to SpoofDPI.

  1. MacOS Sequoia installed. Internet will randomly drop connection
  2. macOS 15 Sequoia problems: with VPNs

Try running SpoofDPI with -system-proxy=false. If you are still experiencing the issue, it is, probably, unrelated to SpoofDPI.

10wpressure commented 3 days ago

~/.spoofdpi/bin/spoofdpi stopped working today - YT website just not loading. For me helped ~/.spoofdpi/bin/spoofdpi -window-size 7 Version v0.12.0 .edited. YT website was loaded, but video is not showing (loading on black screen) Where do I enter this?

-window-size 2 works for me Guys, try to increase window-size starting from 1, maybe you got lucky. DPI won't bypass itself 😄

it did work, i used exactly -window-size 2. But you can try a different window setting, if it does not work for you.

MrQwerti commented 2 days ago

Linux users also say, that SpoofDPI isn't working on their PC

Geopozitcia commented 1 day ago

Same problem. I tried change window size parameters, and it not working either. Also same problem with byeDPI on android, so maybe it providers work. короче гойда

Vovkaruss commented 27 minutes ago

Yes, this program has steadily fallen off. In the Goodbyedpi software on Windows, I added a new key-cache and it flew, it's hard here.