{"id":30850,"date":"2020-02-19T13:55:47","date_gmt":"2020-02-19T05:55:47","guid":{"rendered":"http:\/\/4563.org\/?p=30850"},"modified":"2020-02-19T13:55:47","modified_gmt":"2020-02-19T05:55:47","slug":"%e6%96%b0%e6%89%8b%e5%90%91%e4%bd%a0%e4%b9%9f%e8%83%bd%e5%86%99%e4%b8%aa-shadowsocks","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=30850","title":{"rendered":"\u65b0\u624b\u5411:\u4f60\u4e5f\u80fd\u5199\u4e2a Shadowsocks"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>SmRiley<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>\u65b0\u624b\u5411:\u4f60\u4e5f\u80fd\u5199\u4e2a Shadowsocks<\/h3>\n<p>  \t\t\u6b64\u6587\u5e76\u975e\u539f\u521b,\u800c\u662f\u5bf9\u5434\u6d69\u9e9f\u5927\u4f6c\u7684\u4f60\u4e5f\u80fd\u5199\u4e2aShadowsocks\u9519\u8bef\u758f\u6f0f\u4ee5\u53ca\u5bf9\u65b0\u624b\u8f83\u4e3a\u6666\u6da9\u7684\u5185\u5bb9\u8fdb\u884c\u91cd\u5199.\u4f7f\u4e4b\u66f4\u4fbf\u4e8e\u65b0\u624b\u7406\u89e3\u4e0e\u5b66\u4e60,\u539f\u6587\u6700\u7ec8\u6210\u54c1\u4e3aLightsocks,\u6b64\u6587\u4e2d\u66f4\u66ff\u4e3aSharpSocks.<\/p>\n<p>  \u76ee\u524d\u4e3b\u6d41\u7684\u4ee3\u7406\u7a0b\u5e8f\u6709Shadowsocks,shadowsocksR\u4ee5\u53ca\u65f6\u4e0b\u6700\u706b\u7684V2ray\u7b49,\u4f46\u662f\u5176\u6838\u5fc3\u601d\u60f3\u662f\u4e00\u81f4\u7684:\u5bf9\u6570\u636e\u7684\u52a0\u5bc6\u6df7\u6dc6\u8f6c\u53d1,\u5982\u679c\u53ea\u662f\u8981\u4e86\u89e3\u8fd9\u6700\u57fa\u7840\u7684\u529f\u80fd,\u90a3\u4e48\u4eceShadowsocks\u6765\u5256\u6790\u80af\u5b9a\u662f\u6700\u5408\u9002\u7684(\u636e\u8bf4\u6700\u521d\u7684Shadowsocks\u53ea\u6709400\u884c\u4ee3\u7801,\u540e\u671f\u5404\u79cd\u63d2\u4ef6\u6781\u5176\u534f\u8bae\u768455\u4e0d\u5728\u8ba8\u8bba\u884c\u5217),\u672c\u6587\u5c06\u6559\u4f60\u4ece0\u5199\u4e00\u4e2aShadowsocks\uff0c\u53ea\u9700\u4e00\u70b9Socket\u7684\u57fa\u7840\uff0c\u8bfb\u5b8c\u672c\u6587\u4f60\u5c31\u80fd\u5b8c\u6210\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u3001\u9ad8\u6027\u80fd\u7684 Shadowsocks \u4ee3\u66ff\u54c1\u3002<\/p>\n<p>  \u6211\u4eec\u6682\u4e14\u628a\u6700\u7ec8\u5b8c\u6210\u7684\u9879\u76ee\u53eb\u505a SharpSocks\uff0c\u5982\u679c\u4f60\u5f88\u6025\u5207\u5730\u60f3\u770b\u5230\u7ed3\u679c\uff0c\u53ef\u4ee5\u5148\u4f53\u9a8c\u672c\u6587\u6700\u7ec8\u5b8c\u6210\u7684\u9879\u76ee SharpSocks \uff0c\u4e5f\u53ef\u4ee5\u4e0b\u8f7d\u9605\u8bfb\u6e90\u7801\u3002<br \/>  \u8ba4\u8bc6 Shadowsocks<\/p>\n<p>  Shadowsocks \u662f\u4e00\u4e2a\u80fd\u9a97\u8fc7\u9632\u706b\u5899\u7684\u7f51\u7edc\u4ee3\u7406\u5de5\u5177\u3002\u5b83\u628a\u8981\u4f20\u8f93\u7684\u539f\u6570\u636e\u7ecf\u8fc7\u52a0\u5bc6\u540e\u518d\u4f20\u8f93\uff0c\u7f51\u7edc\u4e2d\u7684\u9632\u706b\u5899\u7531\u4e8e\u5f97\u4e0d\u51fa\u8981\u4f20\u8f93\u7684\u539f\u5185\u5bb9\u662f\u4ec0\u4e48\u800c\u53ea\u597d\u653e\u884c\uff0c\u4e8e\u662f\u5c31\u5b8c\u6210\u4e86\u9632\u706b\u5899\u7a7f\u900f\uff0c\u4e5f\u5373\u662f\u6240\u8c13\u7684\u201c\u4e0a\u7f51\u4ee3\u7406\u201d\u3002<\/p>\n<p>  \u5728\u81ea\u7531\u7684\u7f51\u7edc\u73af\u5883\u4e0b\uff0c\u5728\u672c\u673a\u4e0a\u8bbf\u95ee\u670d\u52a1\u65f6\u662f\u76f4\u63a5\u548c\u8fdc\u7a0b\u670d\u52a1\u5efa\u7acb\u8fde\u63a5\u4f20\u8f93\u6570\u636e\uff0c\u6d41\u7a0b\u5982\u56fe\uff1a<br \/>  https:\/\/user-images.githubusercontent.com\/5773264\/32371367-8c231024-c05e-11e7-87a8-f977577a6b89.png<br \/>  \u4f46\u5728\u53d7\u9650\u7684\u7f51\u7edc\u73af\u5883\u4e0b\u4f1a\u6709\u9632\u706b\u5899\uff0c\u672c\u673a\u7535\u8111\u548c\u8fdc\u7a0b\u670d\u52a1\u4e4b\u95f4\u4f20\u8f93\u7684\u6570\u636e\u90fd\u5fc5\u987b\u901a\u8fc7\u9632\u706b\u5899\u7684\u68c0\u67e5\uff0c\u6d41\u7a0b\u5982\u56fe\uff1a<br \/>  https:\/\/user-images.githubusercontent.com\/5773264\/32371437-d8cb8852-c05e-11e7-9872-a6708bbe65ba.png<br \/>  \u5982\u679c\u9632\u706b\u5899\u53d1\u73b0\u4f60\u5728\u4f20\u8f93\u53d7\u9650\u7684\u5185\u5bb9\uff0c\u5c31\u628a\u62e6\u622a\u672c\u6b21\u4f20\u8f93\uff0c\u5c31\u4f1a\u5bfc\u81f4\u5728\u672c\u673a\u65e0\u6cd5\u8bbf\u95ee\u8fdc\u7a0b\u670d\u52a1\u3002<\/p>\n<p>  \u800c Shadowsocks \u6240\u505a\u7684\u5c31\u662f\u628a\u4f20\u8f93\u7684\u6570\u636e\u52a0\u5bc6\uff0c\u9632\u706b\u5899\u5f97\u5230\u7684\u6570\u636e\u662f\u52a0\u5bc6\u540e\u7684\u6570\u636e\uff0c\u9632\u706b\u5899\u4e0d\u77e5\u9053\u4f20\u8f93\u7684\u539f\u5185\u5bb9\u662f\u4ec0\u4e48\uff0c\u4e8e\u662f\u9632\u706b\u5899\u5c31\u653e\u884c\u672c\u6b21\u8bf7\u6c42\uff0c\u4e8e\u662f\u5728\u672c\u673a\u5c31\u8bbf\u95ee\u5230\u4e86\u8fdc\u7a0b\u670d\u52a1\uff0c\u6d41\u7a0b\u5982\u56fe\uff1a<br \/>  https:\/\/user-images.githubusercontent.com\/5773264\/32371932-cdc55044-c060-11e7-9b0e-c1a7fec2b428.png<br \/>  \u4e5f\u5c31\u662f\u8bf4\u4f7f\u7528 Shadowsocks \u7684\u524d\u63d0\u662f\uff1a<br \/>  \u4e00\u53f0\u5728\u9632\u706b\u5899\u4e4b\u5916\u7684\u670d\u52a1\u5668\uff1b<\/p>\n<p>  \u5728\u672c\u673a\u9700\u8981\u5b89\u88c5 Shadowsocks \u672c\u5730\u7aef\uff0c\u7528\u4e8e\u52a0\u5bc6\u4f20\u8f93\u6570\u636e\uff1b<\/p>\n<p>  \u670d\u52a1\u5668\u9700\u8981\u5b89\u88c5 Shadowsocks \u670d\u52a1\u7aef\uff0c\u7528\u4e8e\u89e3\u5bc6\u52a0\u5bc6\u540e\u7684\u4f20\u8f93\u6570\u636e\uff0c\u89e3\u5bc6\u51fa\u539f\u6570\u636e\u540e\u53d1\u9001\u5230\u76ee\u6807\u670d\u52a1\u5668\u3002<\/p>\n<p>  Shadowsocks \u539f\u7406<br \/>  Shadowsocks \u7531\u4e24\u90e8\u5206\u7ec4\u6210\uff0c\u8fd0\u884c\u5728\u672c\u5730\u7684 ss-local \u548c\u8fd0\u884c\u5728\u9632\u706b\u5899\u4e4b\u5916\u670d\u52a1\u5668\u4e0a\u7684 ss-server\uff0c\u4e0b\u9762\u6765\u5206\u522b\u8be6\u7ec6\u4ecb\u7ecd\u5b83\u4eec\u7684\u804c\u8d23\uff08\u4ee5\u4e0b\u5bf9 Shadowsocks \u539f\u7406\u7684\u89e3\u6790\u53ea\u662f\u6211\u7684\u5927\u6982\u4f30\u8ba1\uff0c\u53ef\u80fd\u4f1a\u6709\u7ec6\u5fae\u7684\u5dee\u522b\uff09\u3002<\/p>\n<p>  ss-local<br \/>  ss-local \u7684\u804c\u8d23\u662f\u5728\u672c\u673a\u542f\u52a8\u548c\u76d1\u542c\u7740\u4e00\u4e2a\u670d\u52a1\uff0c\u672c\u5730\u8f6f\u4ef6\u7684\u7f51\u7edc\u8bf7\u6c42\u90fd\u5148\u53d1\u9001\u5230 ss-local\uff0css-local \u6536\u5230\u6765\u81ea\u672c\u5730\u8f6f\u4ef6\u7684\u7f51\u7edc\u8bf7\u6c42\u540e\uff0c\u628a\u8981\u4f20\u8f93\u7684\u539f\u6570\u636e\u6839\u636e\u7528\u6237\u914d\u7f6e\u7684\u52a0\u5bc6\u65b9\u6cd5\u548c\u5bc6\u7801\u8fdb\u884c\u52a0\u5bc6\uff0c\u518d\u8f6c\u53d1\u5230\u5899\u5916\u7684\u670d\u52a1\u5668\u53bb\u3002<\/p>\n<p>  ss-server<br \/>  ss-server \u7684\u804c\u8d23\u662f\u5728\u5899\u5916\u670d\u52a1\u5668\u542f\u52a8\u548c\u76d1\u542c\u4e00\u4e2a\u670d\u52a1\uff0c\u8be5\u670d\u52a1\u76d1\u542c\u6765\u81ea\u672c\u673a\u7684 ss-local \u7684\u8bf7\u6c42\u3002\u5728\u6536\u5230\u6765\u81ea ss-local \u8f6c\u53d1\u8fc7\u6765\u7684\u6570\u636e\u65f6\uff0c\u4f1a\u5148\u6839\u636e\u7528\u6237\u914d\u7f6e\u7684\u52a0\u5bc6\u65b9\u6cd5\u548c\u5bc6\u7801\u5bf9\u6570\u636e\u8fdb\u884c\u5bf9\u79f0\u89e3\u5bc6\uff0c\u4ee5\u83b7\u5f97\u52a0\u5bc6\u540e\u7684\u6570\u636e\u7684\u539f\u5185\u5bb9\u3002\u540c\u65f6\u8fd8\u4f1a\u89e3 SOCKS5 \u534f\u8bae\uff0c\u8bfb\u51fa\u672c\u6b21\u8bf7\u6c42\u771f\u6b63\u7684\u76ee\u6807\u670d\u52a1\u5730\u5740(\u4f8b\u5982 Google \u670d\u52a1\u5668\u5730\u5740)\uff0c\u518d\u628a\u89e3\u5bc6\u540e\u5f97\u5230\u7684\u539f\u6570\u636e\u8f6c\u53d1\u5230\u771f\u6b63\u7684\u76ee\u6807\u670d\u52a1\u3002<\/p>\n<p>  SOCKS5 \u534f\u8bae\u4ecb\u7ecd<\/p>\n<p>  \u7531\u4e8e\u6211\u6b64\u524d\u5199\u8fc7\u4e00\u7bc7\u8f83\u4e3a\u5177\u4f53\u7684\u6587\u7ae0,\u8fd9\u91cc\u4e0d\u505a\u8fc7\u591a\u8d58\u8ff0,\u4e0d\u61c2\u7684\u53ef\u4ee5\u79fb\u6b65socks5\u6587\u6863\u8be6\u89e3<\/p>\n<p>  \u5176\u5b9e,\u8fd9\u4e2a\u534f\u8bae\u7b80\u5355\u7406\u89e3\u4e3a\u4e00\u4e2a\u5efa\u7acb\u5728TCP\u534f\u8bae\u4e4b\u4e0a\u7684\u6570\u636e\u4f20\u8f93\u5c01\u88c5\u534f\u8bae\u5c31\u53ef\u4ee5\u4e86.<br \/>  SOCKS5 \u534f\u8bae\u7684\u76ee\u7684\u5176\u5b9e\u5c31\u662f\u4e3a\u4e86\u628a\u6765\u81ea\u539f\u672c\u5e94\u8be5\u5728\u672c\u673a\u76f4\u63a5\u8bf7\u6c42\u76ee\u6807\u670d\u52a1\u7684\u6d41\u7a0b\uff0c\u653e\u5230\u4e86\u670d\u52a1\u7aef\u53bb\u4ee3\u7406\u5ba2\u6237\u7aef\u8bbf\u95ee\u3002<br \/>  \u5176\u8fd0\u884c\u6d41\u7a0b\u603b\u7ed3\u5982\u4e0b\uff1a<\/p>\n<p>  1.\u672c\u673a\u548c\u4ee3\u7406\u670d\u52a1\u7aef\u534f\u5546\u548c\u5efa\u7acb\u8fde\u63a5\uff1b<\/p>\n<p>  2.\u672c\u673a\u544a\u8bc9\u4ee3\u7406\u670d\u52a1\u7aef\u76ee\u6807\u670d\u52a1\u7684\u5730\u5740\uff1b<\/p>\n<p>  3.\u4ee3\u7406\u670d\u52a1\u7aef\u53bb\u8fde\u63a5\u76ee\u6807\u670d\u52a1\uff0c\u6210\u529f\u540e\u544a\u8bc9\u672c\u673a\uff1b<\/p>\n<p>  \u672c\u673a\u5f00\u59cb\u53d1\u9001\u539f\u672c\u5e94\u53d1\u9001\u5230\u76ee\u6807\u670d\u52a1\u7684\u6570\u636e\u7ed9\u4ee3\u7406\u670d\u52a1\u7aef\uff0c\u7531\u4ee3\u7406\u670d\u52a1\u7aef\u5b8c\u6210\u6570\u636e\u8f6c\u53d1\u3002<\/p>\n<p>  \u5f53\u771f\u6b63\u7684\u76ee\u6807\u670d\u52a1\u8fd4\u56de\u4e86\u6570\u636e\u65f6\uff0css-server \u7aef\u4f1a\u628a\u8fd4\u56de\u7684\u6570\u636e\u52a0\u5bc6\u540e\u8f6c\u53d1\u7ed9\u5bf9\u5e94\u7684 ss-local \u7aef\uff0css-local \u7aef\u6536\u5230\u6570\u636e\u518d\u89e3\u5bc6\u540e\uff0c\u8f6c\u53d1\u7ed9\u672c\u673a\u7684\u8f6f\u4ef6\u3002\u8fd9\u662f\u4e00\u4e2a\u5bf9\u79f0\u76f8\u53cd\u7684\u8fc7\u7a0b\u3002<\/p>\n<p>  \u7531\u4e8e ss-local \u548c ss-server \u7aef\u90fd\u9700\u8981\u7528\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u5bc6\u548c\u89e3\u5bc6\uff0c\u56e0\u6b64\u8fd9\u4e24\u7aef\u7684\u52a0\u5bc6\u65b9\u6cd5\u548c\u5bc6\u7801\u5fc5\u987b\u914d\u7f6e\u4e3a\u4e00\u6837\u3002Shadowsocks \u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u6807\u51c6\u53ef\u9760\u7684\u5bf9\u79f0\u7b97\u6cd5\u53ef\u4f9b\u7528\u6237\u9009\u62e9\uff0c\u4f8b\u5982 rc4\u3001aes\u3001des\u3001chacha20 \u7b49\u7b49\u3002Shadowsocks \u5bf9\u6570\u636e\u52a0\u5bc6\u540e\u518d\u4f20\u8f93\u7684\u76ee\u7684\u662f\u4e3a\u4e86\u6df7\u6dc6\u539f\u6570\u636e\uff0c\u8ba9\u9014\u4e2d\u7684\u9632\u706b\u5899\u65e0\u6cd5\u5f97\u51fa\u4f20\u8f93\u7684\u539f\u6570\u636e\u3002\u4f46\u5176\u5b9e\u7528\u8fd9\u4e9b\u5b89\u5168\u6027\u9ad8\u8ba1\u7b97\u91cf\u5927\u7684\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u53bb\u5b9e\u73b0\u6df7\u6dc6\u6709\u70b9\u201c\u6740\u9e21\u7528\u725b\u5200\u201d\u3002<\/p>\n<p>  Sharpsocks \u5b9e\u73b0<br \/>  \u8981\u5b9e\u73b0 Lightsocks \u9700\u8981\u5b9e\u73b0\u4e24\u90e8\u5206\uff1a\u8fd0\u884c\u5728\u672c\u5730\u7684 lightsocks-local\uff0c\u548c\u8fd0\u884c\u5728\u5899\u5916\u4ee3\u7406\u670d\u52a1\u5668\u4e0a lightsocks-server\u3002<br \/>  \u4e0b\u9762\u6765\u5206\u522b\u6559\u4f60\u5982\u679c\u4f7f\u7528 C# \u6765\u5b9e\u73b0\u5b83\u4eec\uff0c\u91c7\u7528 C# \u8bed\u8a00\u7684\u539f\u56e0\u5728\u4e8e\uff1a\u6027\u80fd\u597d\u3001\u8de8\u5e73\u53f0\u3001\u9002\u5408\u9ad8\u5e76\u53d1\u3001\u5b66\u4e60\u95e8\u69db\u4f4e\u3002<\/p>\n<p>  \u5b9e\u73b0\u6570\u636e\u6df7\u6dc6<br \/>  \u5728 Shadowsocks \u4e2d\u662f\u91c7\u7528\u7684\u6807\u51c6\u7684\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u53bb\u5b9e\u73b0\u6570\u636e\u6df7\u6dc6\u7684\uff0c\u5bf9\u79f0\u7b97\u6cd5\u5728\u52a0\u5bc6\u548c\u89e3\u5bc6\u8fc7\u7a0b\u4e2d\u9700\u8981\u5927\u91cf\u8ba1\u7b97\u3002<br \/>  \u4e3a\u4e86\u7b80\u5355\u8d77\u89c1\uff0cSharpsocks \u5c06\u91c7\u7528\u6700\u7b80\u5355\u9ad8\u6548\u7684\u65b9\u6cd5\u53bb\u5b9e\u73b0\u6570\u636e\u6df7\u6dc6\uff0c\u5177\u4f53\u539f\u7406\u5982\u4e0b<br \/>  \u8fd9\u4e2a\u6570\u636e\u6df7\u6dc6\u7b97\u6cd5\u548c\u5bf9\u79f0\u52a0\u5bc6\u5f88\u76f8\u4f3c\uff0c\u4e24\u7aef\u90fd\u9700\u8981\u6709\u540c\u6837\u7684\u5bc6\u94a5\u3002<br \/>  \u8fd9\u4e2a\u5bc6\u94a5\u6709\u5982\u4e0b\u8981\u6c42\uff1a<\/p>\n<p>  \u7531256\u4e2a byte \u7ec4\u6210\uff0c\u4e5f\u5c31\u662f\u4e00\u4e2a\u6570\u7ec4\uff0c\u5728 C# \u4e2d\u7c7b\u578b\u8868\u793a\u4e3a byte\uff1b<br \/>  \u8fd9\u4e2a\u6570\u7ec4\u5fc5\u987b\u7531 0\uff5e255 \u8fd9256\u4e2a\u6570\u5b57\u7ec4\u6210\uff0c\u4e00\u4e2a\u90fd\u4e0d\u80fd\u5dee\uff1b<br \/>  \u628a1\uff5e255 \u8fd9256\u4e2a\u6570\u5b57\u786e\u5b9a\u4e00\u79cd\u4e00\u5bf9\u4e00\u7684\u6620\u5c04\u5173\u7cfb\uff0c\u52a0\u5bc6\u662f\u4ece\u4e00\u4e2a\u6570\u5b57\u5f97\u5230\u5bf9\u5e94\u7684\u4e00\u4e2a\u6570\u5b57\uff0c\u800c\u89e3\u5bc6\u5219\u662f\u53cd\u5411\u7684\u8fc7\u7a0b\uff0c\u800c\u8fd9\u4e2a\u5bc6\u94a5\u7684\u4f5c\u7528\u6b63\u662f\u63cf\u8ff0\u8fd9\u4e2a\u6620\u5c04\u5173\u7cfb\u3002\u8fd9\u5176\u5b9e\u5c31\u662f\u4e2d\u5b66\u5b66\u7684\u53cd\u51fd\u6570\u3002<br \/>  \u4e3a\u4ec0\u4e48\u8981\u8fd9\u6837\u8bbe\u8ba1\u6570\u636e\u6df7\u6dc6\u7b97\u6cd5\u5462\uff1f\u5728\u6570\u636e\u4f20\u8f93\u65f6\uff0c\u6570\u636e\u662f\u4ee5 byte \u4e3a\u6700\u5c0f\u5355\u4f4d\u6d41\u5f0f\u4f20\u8f93\u7684\u3002\u4e00\u4e2a byte \u7684\u53d6\u503c\u53ea\u53ef\u80fd\u662f 0\uff5e255\u3002\u8be5\u6df7\u6dc6\u7b97\u6cd5\u53ef\u4ee5\u76f4\u63a5\u5bf9\u4e00\u4e2a\u4e2a byte \u8fdb\u884c\u52a0\u89e3\u5bc6\uff0c\u800c\u65e0\u9700\u50cf\u6807\u51c6\u7684\u5bf9\u79f0\u7b97\u6cd5\u90a3\u6837\u53ea\u80fd\u5bf9\u4e00\u5927\u5757\u6570\u636e\u8fdb\u884c\u52a0\u5bc6\u3002<br \/>  \u518d\u52a0\u4e0a\u672c\u7b97\u6cd5\u7684\u52a0\u89e3\u5bc6 N byte \u6570\u636e\u7684\u7b97\u6cd5\u590d\u6742\u5ea6\u4e3a N\uff08\u76f4\u63a5\u901a\u8fc7\u6570\u7ec4\u7d22\u5f15\u8bbf\u95ee\uff09\uff0c\u975e\u5e38\u9002\u5408\u6d41\u5f0f\u52a0\u5bc6\u3002\u800c\u4e0d\u50cf55\u6216\u8005\u522b\u7684\u52a0\u5bc6\u4f20\u8f93\u4e00\u6837\u4f1a\u653e\u5927\u4f20\u8f93\u6d41\u91cf.<\/p>\n<p>  \u5982\u679c\u4f60\u770b\u8fc7\u201d\u51ef\u6492\u5bc6\u7801\u201d\u7684\u6545\u4e8b,\u4e00\u5b9a\u4f1a\u89c9\u5f97\u76f8\u5f53\u719f\u6089,\u5b9e\u9645\u4e0a\u8fd9\u5c31\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u5c06\u51ef\u6492\u5bc6\u7801\u4e2d\u768426\u4e2a\u5b57\u6bcd\u6362\u6210\u4e86\u5b57\u8282\u7684256\u4f4d.\u4ee5\u5b9e\u73b0\u6700\u7b80\u5355\u7684\u6df7\u6dc6,\u4f46\u662f\u56e0\u4e3a\u539f\u7406\u4e00\u6837,\u6240\u4ee5\u548c\u51ef\u6492\u5bc6\u7801\u6709\u7740\u76f8\u540c\u7684\u5f31\u70b9:\u5373\u6781\u5176\u5bb9\u6613\u53d7\u5230\u7edf\u8ba1\u5b66\u4e0e\u6570\u5b66\u7a77\u4e3e\u7684\u653b\u51fb.\u8fd9\u4e2a\u534f\u8bae\u53ea\u80fd\u8bf4\u8db3\u591f\u7528,\u4f46\u662fSS\u7684\u4f5c\u8005\u4e5f\u8bf4\u8fc7Shadowsocks\u66f4\u6ce8\u91cd\u6df7\u6dc6\u800c\u975e\u5b89\u5168\u7684\u8bdd,\u6240\u4ee5\u6682\u65f6\u4e0d\u9700\u8981\u8003\u8651\u5b83\u7684\u5b89\u5168\u95ee\u9898.<\/p>\n<p>  \u5bc6\u7801\u4ee5\u5b57\u7b26\u4e32\u7684\u5f62\u5f0f\u51fa\u73b0,\u5c06\u5b57\u7b26\u4e32\u751f\u6210\u5bc6\u7801\u672c\u7684\u4ee3\u7801\u4e3a:<br \/>   \/\/\/ &lt;summary&gt;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;\/\/\/ \u5f97\u5230\u5bc6\u5319<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;\/\/\/ &lt;\/summary&gt;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;\/\/\/ &lt;param name=&quot;Key&quot;&gt;&lt;\/param&gt;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;\/\/\/ &lt;returns&gt;&lt;\/returns&gt;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;public static List&lt;byte&gt; Get_Pass(string Key)<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;{<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;int Bytes_Key = 0;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;foreach (var i in Encoding.UTF8.GetBytes(Key))<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;{<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; Bytes_Key += i;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;}<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;var random = new Random(Bytes_Key);<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;var Bytes_Pass = new List&lt;byte&gt;();<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;for (int i = 0; i &lt; 256; i++)<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;{<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; byte Random_int = (byte)random.Next(256);<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; if (!Bytes_Pass.Contains(Random_int))<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; {<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;Bytes_Pass.Add(Random_int);<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; }<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; else<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; {<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;i&#8211;;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; }<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;}<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;return Bytes_Pass;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;}<\/p>\n<p>  \u56e0\u4e3a\u968f\u673a\u6570\u7684\u79cd\u5b50\u4e00\u6837,\u6240\u4ee5\u76f8\u540c\u5bc6\u7801\u5bf9\u5e94\u7684\u5bc6\u7801\u672c\u662f\u7edd\u5bf9\u4e00\u6837\u7684.\u81f3\u4e8e\u52a0\u89e3\u5bc6\u51fd\u6570\u5c31\u66f4\u7b80\u5355\u4e86<br \/>  \/\/\/ &lt;summary&gt;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;\/\/\/ \u52a0\u5bc6<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;\/\/\/ &lt;\/summary&gt;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;\/\/\/ &lt;param name=&quot;Bytes&quot;&gt;&lt;\/param&gt;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;\/\/\/ &lt;returns&gt;&lt;\/returns&gt;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;public static byte[] En_Bytes(byte[] Bytes)<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;{<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;var List_Byte = new List&lt;byte&gt;();<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;foreach (var b in Bytes)<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;{<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; List_Byte.Add((byte)Key.IndexOf(b));<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;}<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;return List_Byte.ToArray();<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;}<\/p>\n<p>  &nbsp; &nbsp;&nbsp; &nbsp;\/\/\/ &lt;summary&gt;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;\/\/\/ \u89e3\u5bc6<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;\/\/\/ &lt;\/summary&gt;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;\/\/\/ &lt;param name=&quot;Bytes&quot;&gt;&lt;\/param&gt;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;\/\/\/ &lt;returns&gt;&lt;\/returns&gt;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;public static byte[] De_Bytes(byte[] Bytes)<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;{<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;var List_Byte = new List&lt;byte&gt;();<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;foreach (var b in Bytes)<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;{<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; List_Byte.Add(Key);<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;}<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;return List_Byte.ToArray();<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;}<\/p>\n<p>  \t\t\t\t\t<strong>91\u5eb7\u5148\u751f<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u592a\u957f\u4e86\uff0c\u697c\u4e0b\u7684\u5e2e\u6211\u770b\uff0c\u770b\u5b8c\u4e86\u5f04\u4e2a\u4e00\u952e\u5305\u7ed9\u6211\u5c31\u884c\u3002\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u4e00\u4f4d\u4e0d\u77e5\u540d\u7f51\u53cb<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u8bf4\u7684\u597d\u8d5e\u4e00\u4e2a\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>kzklot<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5f9e\u5165\u9580\u5230\u653e\u68c4&#8230;..yc022t\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>SmRiley<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6bcf\u5f53\u670d\u52a1\u7aef\u63a5\u53d7\u5ba2\u6237\u7aef\u7684\u6570\u636e\u65f6,\u5c06\u5176\u89e3\u5bc6\u518d\u53d1\u9001\u5230\u76f8\u5e94\u7684\u76ee\u7684\u5730\u5740,\u7136\u540e\u5c06\u5176\u76ee\u7684\u5730\u5740\u8fd4\u56de\u7684\u6570\u636e\u52a0\u5bc6\u8fd4\u56de\u7ed9\u5ba2\u6237\u7aef;\u6bcf\u5f53\u5ba2\u6237\u7aef\u6536\u5230\u670d\u52a1\u7aef\u7684\u5730\u5740\u65f6,\u5c31\u5c06\u5176\u89e3\u5bc6\u8fd4\u56de\u7ed9\u5e94\u7528\u5c42\u7684\u7a0b\u5e8f,\u5e76\u5c06\u4e0b\u6b21\u4f20\u8f93\u7684\u6570\u636e\u52a0\u5bc6\u518d\u53d1\u9001\u7ed9\u670d\u52a1\u7aef.<\/p>\n<p>  \u81f3\u6b64,Server\u7aef\u548clocal\u7aef\u5206\u522b\u9700\u8981\u6784\u9020\u4ec0\u4e48\u4ee3\u7801\u5c31\u5f88\u660e\u4e86\u4e86.<\/p>\n<p>  \u81f3\u6b64,Server\u7aef\u548clocal\u7aef\u5206\u522b\u9700\u8981\u6784\u9020\u4ec0\u4e48\u4ee3\u7801\u5c31\u5f88\u660e\u4e86\u4e86.\u6211\u7684\u5efa\u8bae\u662f\u5148\u5b9e\u73b0\u4e24\u4e2a\u5355\u7eaf\u7684\u6d41\u91cf\u8f6c\u53d1\u7a0b\u5e8f,\u7136\u540e\u5c06\u5176\u4e00\u4e2a\u6539\u4e3a\u670d\u52a1\u7aef,\u4e00\u4e2a\u6539\u4e3a\u5ba2\u6237\u7aef,\u6700\u540e\u518d\u8003\u8651\u52a0\u5bc6,\u8fd9\u6837\u5b50\u65b9\u4fbf\u6574\u4f53\u7684\u6784\u9020.\u9700\u8981\u6ce8\u610f\u7684\u662f,TCP\u548cUDP\u4e0d\u4e00\u6837,\u5982\u679c\u4f60\u8003\u8651\u7684\u52a0\u89e3\u5bc6\u51fd\u6570\u4e0d\u662f\u6d41\u5f0f\u52a0\u5bc6(\u4f8b\u5982aes\u7b49\u5757\u52a0\u5bc6),\u90a3\u4e48\u4e00\u5b9a\u8981\u6ce8\u610f\u5206\u5305\u4e0e\u7c98\u5305\u7684\u5904\u7406.<br \/>  \u5982\u679c\u4f60\u6709\u5174\u8da3,\u4e5f\u53ef\u4ee5\u53bb\u66f4\u6df1\u5165\u7684\u5b66\u4e60\u4e00\u4e0bSSR\u4e0eV2ray\u7684\u4f2a\u88c5\u4e0e\u6df7\u6dc6.\u4f46\u662fV2ray\u8c8c\u4f3c\u662f\u91c7\u7528\u7684https\u7684\u6df7\u6dc6\u65b9\u5f0f,\u8fd9\u4e2a\u6ca1\u6709\u5177\u4f53\u4e86\u89e3\u8fc7,\u5c31\u4e0d\u591a\u8bb2\u4e86.<br \/>  \u6700\u7ec8\u6548\u679c:<br \/>  https:\/\/camo.githubusercontent.com\/de07757aad4277bd189dc9da9ee2b033e710402b\/68747470733a2f2f63646e2e736175796f6f2e636f6d2f323032302f30312f32322f313537393639323535392e6a7067\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>SmRiley<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t91\u5eb7\u5148\u751f \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-2-19 13:53<br \/>  \u592a\u957f\u4e86\uff0c\u697c\u4e0b\u7684\u5e2e\u6211\u770b\uff0c\u770b\u5b8c\u4e86\u5f04\u4e2a\u4e00\u952e\u5305\u7ed9\u6211\u5c31\u884c\u3002<\/p>\n<p> &#8230;\u6210\u54c1\u5c31\u662f\u4e00\u952e\u5305.\u53ea\u662f\u8fd9\u4e2a\u672c\u610f\u662f\u62ff\u6765\u5b66\u4e60\u7528\u7684&#8230;\u6210\u54c1\u4ec5\u9650\u4e8e\u8db3\u591f\u7528\u7684\u9636\u6bb5\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>SmRiley \u5927\u4f6c\u6709\u8bdd\u8bf4 : \u65b0&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\/30850"}],"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=30850"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/30850\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=30850"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=30850"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=30850"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}