URenko / Accesser

🌏一个解决SNI RST导致维基百科、Pixiv等站点无法访问的工具 | A tool for solving SNI RST
GNU General Public License v3.0
901 stars 78 forks source link

能否支持xcannel.com #206

Open kukukumiko-git opened 2 days ago

kukukumiko-git commented 2 days ago

在寻找一个曲线访问x的方法,xcannel等几个站算是nitter项目硕果仅存的东西了,见https://status.d420.de/ xcannel.com ping得IP198.98.60.34 这个ip可以直接访问 cdn.xcannel.com ip 129.80.246.62 ,无法直接访问,我试图按照文档适配但没有成功,也许这个有cloudflare啥的无法支持

C:\Users\***>curl https://cdn.xcancel.com --resolve "cdn.xcancel.com:443:192.80.246.62" -v
* Added cdn.xcancel.com:443:192.80.246.62 to DNS cache
* Hostname cdn.xcancel.com was found in DNS cache
*   Trying 192.80.246.62:443...
* connect to 192.80.246.62 port 443 from 0.0.0.0 port 10134 failed: Timed out
* Failed to connect to cdn.xcancel.com port 443 after 21032 ms: Could not connect to server
* closing connection #0
curl: (28) Failed to connect to cdn.xcancel.com port 443 after 21032 ms: Could not connect to server

C:\Users\***>curl https://xcancel.com --resolve "xcancel.com:443:198.98.60.34" -v
* Added xcancel.com:443:198.98.60.34 to DNS cache
* Hostname xcancel.com was found in DNS cache
*   Trying 198.98.60.34:443...
* Connected to xcancel.com (198.98.60.34) port 443
* schannel: disabled automatic use of client certificate
* ALPN: curl offers http/1.1
* Recv failure: Connection was reset
* schannel: failed to receive handshake, SSL/TLS connection failed
* closing connection #0
curl: (35) Recv failure: Connection was reset
louiesun commented 15 hours ago

在寻找一个曲线访问x的方法,xcannel等几个站算是nitter项目硕果仅存的东西了,见https://status.d420.de/ xcannel.com ping得IP198.98.60.34 这个ip可以直接访问 cdn.xcannel.com ip 129.80.246.62 ,无法直接访问,我试图按照文档适配但没有成功,也许这个有cloudflare啥的无法支持

C:\Users\***>curl https://cdn.xcancel.com --resolve "cdn.xcancel.com:443:192.80.246.62" -v
* Added cdn.xcancel.com:443:192.80.246.62 to DNS cache
* Hostname cdn.xcancel.com was found in DNS cache
*   Trying 192.80.246.62:443...
* connect to 192.80.246.62 port 443 from 0.0.0.0 port 10134 failed: Timed out
* Failed to connect to cdn.xcancel.com port 443 after 21032 ms: Could not connect to server
* closing connection #0
curl: (28) Failed to connect to cdn.xcancel.com port 443 after 21032 ms: Could not connect to server

C:\Users\***>curl https://xcancel.com --resolve "xcancel.com:443:198.98.60.34" -v
* Added xcancel.com:443:198.98.60.34 to DNS cache
* Hostname xcancel.com was found in DNS cache
*   Trying 198.98.60.34:443...
* Connected to xcancel.com (198.98.60.34) port 443
* schannel: disabled automatic use of client certificate
* ALPN: curl offers http/1.1
* Recv failure: Connection was reset
* schannel: failed to receive handshake, SSL/TLS connection failed
* closing connection #0
curl: (35) Recv failure: Connection was reset

cf可以考虑tls分片,或者看看有没有ech

maoist2009 commented 13 hours ago

在寻找一个曲线访问x的方法,xcannel等几个站算是nitter项目硕果仅存的东西了,见https://status.d420.de/ xcannel.com ping得IP198.98.60.34 这个ip可以直接访问 cdn.xcannel.com ip 129.80.246.62 ,无法直接访问,我试图按照文档适配但没有成功,也许这个有cloudflare啥的无法支持

C:\Users\***>curl https://cdn.xcancel.com --resolve "cdn.xcancel.com:443:192.80.246.62" -v
* Added cdn.xcancel.com:443:192.80.246.62 to DNS cache
* Hostname cdn.xcancel.com was found in DNS cache
*   Trying 192.80.246.62:443...
* connect to 192.80.246.62 port 443 from 0.0.0.0 port 10134 failed: Timed out
* Failed to connect to cdn.xcancel.com port 443 after 21032 ms: Could not connect to server
* closing connection #0
curl: (28) Failed to connect to cdn.xcancel.com port 443 after 21032 ms: Could not connect to server

C:\Users\***>curl https://xcancel.com --resolve "xcancel.com:443:198.98.60.34" -v
* Added xcancel.com:443:198.98.60.34 to DNS cache
* Hostname xcancel.com was found in DNS cache
*   Trying 198.98.60.34:443...
* Connected to xcancel.com (198.98.60.34) port 443
* schannel: disabled automatic use of client certificate
* ALPN: curl offers http/1.1
* Recv failure: Connection was reset
* schannel: failed to receive handshake, SSL/TLS connection failed
* closing connection #0
curl: (35) Recv failure: Connection was reset

cf可以考虑tls分片,或者看看有没有ech

可以参考这个非常简陋的实现

 "domains": {
        "xcannel.com": {
            "IP": "198.98.60.34"
        },
        "cdn.xcannel.com": {
            "IP": "129.80.246.62"
        }
}