macronut / phantomsocks

A cross-platform proxy client/server for Linux/Windows/macOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

no Client Hello after #3 ACK

opened this issue · comments

This is the capture for

curl -v \
https://pixiv.net -x socks5h://127.0.0.1:1080 \
--connect-to pixiv.net:443:210.140.131.199

cURL stuck at * TLSv1.3 (OUT), TLS handshake, Client hello (1):

Screen Shot 2021-02-01 at 23 03 10

This a the capture for

curl -v \
https://210.140.131.199

with no problem:
Screen Shot 2021-02-01 at 23 03 52

Is it a matter of how I use it?
Or is there interference from the Great Firewall?

Part of the configuration file content is as follows

#DNS Protection
server=tls://8.8.8.8:853

...

#Other
method=ttl,w-md5,w-csum,tfo,w-seq,w-time,s-seg
steamcommunity.com
.steamcommunity.com
pixiv.net=210.140.131.199
pixiv.net
.pixiv.net
.pximg.net
...

I just changed the method in the configuration file to w-ack

Screen Shot 2021-02-01 at 23 31 04

s-seg, mode2, w-csum, w-md5, w-time, w-seq will also receive malformed RST immediately after client hello

OK, w-ack works for www.pixiv.net (Cloudflared), and other like mohu.rocks quora.com

I think it may just be 210.* The server itself does not support such packets