{"id":516404,"date":"2021-07-14T21:11:30","date_gmt":"2021-07-14T13:11:30","guid":{"rendered":"http:\/\/4563.org\/?p=516404"},"modified":"2021-07-14T21:11:30","modified_gmt":"2021-07-14T13:11:30","slug":"ws%e6%98%af%e4%b8%8d%e6%98%af%e6%af%94tcp%e5%ae%89%e5%85%a8%ef%bc%8c%e7%a8%b3%e5%ae%9a","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=516404","title":{"rendered":"ws\u662f\u4e0d\u662f\u6bd4tcp\u5b89\u5168\uff0c\u7a33\u5b9a"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>\u4e2d\u73af\u5e08\u7237\u4f59\u4e50\u5929<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>ws\u662f\u4e0d\u662f\u6bd4tcp\u5b89\u5168\uff0c\u7a33\u5b9a<\/h3>\n<p>  \t\t\u8bf7\u6559\u8001\u54e5\u4eec\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>jiuqimax<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tws\u9664\u4e86\u80fd\u8fc7cloudflare\u548cnginx\u53cd\u4ee3\uff0c\u6ca1\u6709\u5176\u4ed6\u4f18\u52bf\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>latiao88<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u7a33\u4e0d\u7a33\u5b9a\u8981\u770b\u4e2a\u4eba\u6280\u672f\u8ddf\u6d41\u91cf\u7684\uff0c\u5c11\u7528\u4e00\u952e\u811a\u672c\uff0c\u81ea\u5df1\u624b\u6253\u4ee3\u7801\u7a33\u5f97\u591a\u3002<br \/>  \u81f3\u4e8e\u7528ws\u8fd8\u662ftcp\u6216\u8005\u662ftls xtls\u90fd\u4e0d\u91cd\u8981\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>h20<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tss+gcm\u7a33\u5b9a\u591a\u5e74\u8def\u8fc7\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>googlebot2<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\ttcp\u662f\u6700\u5e95\u5c42\u534f\u8bae\uff0c\u6240\u4ee5\u5176\u4ed6\u90fd\u5efa\u7acb\u5728tcp\u4e0a\uff0c\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>rpsoft<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u591a\u4e00\u5c42\u52a0\u5bc6\u81ea\u7136\u4f1a\u66f4\u5b89\u5168\uff0c\u5c24\u5176\u662f\u4f60ws+cf\u3002\u3002\u3002\u9664\u975ecf\u88ab\u5168\u9762\u5899\u3002\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>lihogod<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4e0d\u4e00\u5b9a\u7684\u3002\u3002\u6211\u6d41\u91cf\u8dd1\u7684\u591a\uff0c\u7528\u5565\u90fd\u5bb9\u6613\u5c01\uff0c\u6253\u7b97\u6362\u673a\u573a\u4e86\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>KallyDev<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tTLS + none \u5373\u53ef\uff0cWebSocket \u5bf9\u6211\u6765\u8bf4\u53ea\u6709\u65b9\u4fbf Nginx \u4ee5\u53ca CDN \u53cd\u4ee3\u7684\u4f5c\u7528\u3002<\/p>\n<p>  \u5bf9\u4e8e\u964d\u4f4e\u5ef6\u8fdf\uff0cXray \u6709\u4e00\u4e2a WebSocket 0 RTT \u7684\u529f\u80fd\u3002<br \/>  https:\/\/github.com\/XTLS\/Xray-core\/pull\/373<\/p>\n<p>  \u4e0d\u8fc7\u6211\u5efa\u8bae\u6ca1\u6709\u53cd\u4ee3\u9700\u6c42\u53ea\u7528 TLS \u5373\u53ef\uff0c\u6216\u8005\u5229\u7528 SNI \u8fdb\u884c\u5206\u6d41\u3002\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u5468\u6da6\u53d1<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u968f\u673a\u7684 \u901f\u5ea6\u80af\u5b9a\u662f\u76f4\u8fde\u5feb \u591a\u4e00\u5c42\u52a0\u5bc6 \u5f71\u54cd\u901f\u5ea6 \u5b9e\u9645\u4e0a\u76f4\u8fde\u4e0d\u9519\u7684\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>ChenYFan<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 ChenYFan \u4e8e 2021-7-14 07:57 \u7f16\u8f91 <\/p>\n<p> ws\u5e95\u5c42\u57fa\u4e8etcp+http\uff0c\u5b9e\u9645\u4e0a\u662f\u5305\u88f9\u5728http\u6d41\u91cf\u4e2d\u3010ws\u672c\u8eab\u53ef\u4ee5\u770b\u4f5chttp\u5939\u5e26Upgrade\u5934\u3011\uff0c\u5982\u679c\u5957\u4e0atls\u5c31\u662fwss\u3010\u57fa\u4e8ehttps\u3011\uff0c\u8fd9\u79cd\u6d41\u91cf\u4e0d\u4ec5\u6b63\u5e38\u3010https\u4e0b\u8f7d\u4e2a\u6587\u4ef6\u4f60\u80fd\u62ff\u6211\u600e\u4e48\u6837\u3011\uff0c\u800c\u4e14\u5f88\u96be\u88ab\u523a\u63a2\u51fa\u6765\u3010\u5f53\u7136\u6d41\u91cf\u5927\u4e86\u4ec0\u4e48\u90fd\u53ef\u80fd\u3011\uff0c\u56e0\u6b64\u5b89\u5168\u6027\u548c\u6297\u5ba1\u67e5\u80af\u5b9a\u6700\u7a33\uff0c\u4f46\u662f\u8fde\u4e00\u6b21\u5c31\u8981\u63e1\u4e09\u6b21TCP\uff0c\u4ee5\u53ca\u52a0\u5bc6\u548c\u89e3\u5bc6\uff0c\u901f\u5ea6\u80af\u5b9a\u53d7\u5f71\u54cd\u3002\u3010\u5b9e\u9645\u4f7f\u7528\u7684\u65f6\u5019\u9999\u6e2f\u6e05\u51c930Mbps\u8fd8\u662f\u80fd\u8dd1\u6ee1\uff0c\u4f46\u5f80\u5927\u4e86\u5c31\u4e0d\u597d\u8bf4\u4e86\u3011<\/p>\n<p>  \u800c\u4e14\u7528ws\u7684\u4e00\u5927\u539f\u56e0\u662f\u5927\u90e8\u5206mjj\u559c\u6b22\u5957cf\u6216\u524d\u7f6enginx\u9632\u6b62\u540e\u7aef\u5c0f\u9e21\u88abban<\/p>\n<p>  \u3010CF\u652f\u6301WebSocket\uff0c\u800cws\u534f\u8bae\u57fa\u4e8ehttp\uff0c\u6240\u4ee5cdn\u53ea\u8981\u652f\u6301WebSocket\u5c31\u53ef\u4ee5\u4e2d\u7ee7\u3011<\/p>\n<p>  TCP\u5176\u5b9e\u5728\u5f3a\u6df7\u6dc6\u4e5f\u662f\u6bd4\u8f83\u5b89\u5168\u7684\uff0c\u4f46\u662f\u5916\u90e8\u770b\u51fa\u6765\u662f\u5728\u8fdb\u884cTCP\u800c\u975eHTTP\uff0c\u6d41\u91cf\u4e00\u5927\u5c31\u6709\u53ef\u80fd\u906d\u5230\u6000\u7591\u3002<\/p>\n<p>  \u3010\u663e\u7136TCP\u4e0d\u80fd\u88abCDN\u4e2d\u7ee7\uff0c\u56e0\u4e3a\u7edd\u5927\u591a\u6570CDN\u90fd\u662f\u4e2d\u7ee7HTTP\u6d41\u91cf\u3011\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>G.K.D<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6211\u770b\u524d\u6bb5\u65f6\u95f4\u8bf4 ws \u88ab\u5c01\u7684\u4e5f\u4e0d\u5728\u5c11\u6570\u5440~<\/p>\n<p>  \u300c\u2b502k \/ \u81ea\u9009 IP\u300d\u6d4b\u8bd5 Cloudflare CDN \u5ef6\u8fdf\u548c\u901f\u5ea6\uff0c\u83b7\u53d6\u6700\u5feb IP (IPv4+IPv6)~<br \/>  https:\/\/github.com\/XIU2\/CloudflareSpeedTest\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e2d\u73af\u5e08\u7237\u4f59\u4e50\u5929 \u5927\u4f6c\u6709\u8bdd\u8bf4 : w&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/516404"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=516404"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/516404\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=516404"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=516404"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=516404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}