{"id":1470,"date":"2015-03-11T13:10:19","date_gmt":"2015-03-11T05:10:19","guid":{"rendered":"http:\/\/boweihe.me\/?p=1470"},"modified":"2015-03-11T13:10:19","modified_gmt":"2015-03-11T05:10:19","slug":"shadowsocks%e7%9b%b8%e5%85%b3%e8%b5%84%e6%96%99%ef%bc%88%e4%b8%8b%e8%bd%bd%e3%80%81%e5%ae%89%e8%a3%85%e3%80%81%e6%9b%b4%e6%96%b0%ef%bc%89","status":"publish","type":"post","link":"https:\/\/dayandcarrot.space\/?p=1470","title":{"rendered":"Shadowsocks\u76f8\u5173\u8d44\u6599\uff08\u4e0b\u8f7d\u3001\u5b89\u88c5\u3001\u66f4\u65b0\uff09"},"content":{"rendered":"<p><strong>1\u3001Shadowsocks \u662f\u4ec0\u4e48<\/strong><br \/>\nShadowsocks \u662f\u4e00\u79cd\u5b89\u5168\u7684 socks5 \u4ee3\u7406\uff0c\u53ef\u4ee5\u4fdd\u62a4\u4f60\u7684\u4e0a\u7f51\u6d41\u91cf\u3002\u57fa\u4e8e\u591a\u79cd\u52a0\u5bc6\u65b9\u5f0f\uff0c\u63a8\u8350\u4f7f\u7528 aes-256-cfb \u52a0\u5bc6\u3002\u5b89\u88c5\u548c\u4f7f\u7528\u9700\u8981\u672c\u5730\u7aef\u548c\u670d\u52a1\u7aef\u3002<br \/>\n\u672c\u5730\u5ba2\u6237\u7aef\u5df2\u7ecf\u5305\u542b\u4e86\u591a\u79cd\u7248\u672c\uff0c\u5305\u62eciOS\uff0cAndroid\uff0cWindows\uff0cMAC\uff0c\u751a\u81f3\u662f\u8def\u7531\u5668 (\u57fa\u4e8eOpenWRT)\uff0c\u6240\u4ee5\u4f7f\u7528\u65b9\u4fbf\uff0c\u5404\u53d6\u6240\u9700\u3002<br \/>\n\u8fdc\u7a0b\u670d\u52a1\u7aef\u5219\u4e00\u822c\u5b89\u88c5\u5728\u57fa\u4e8e Linux \u7684\u5404\u79cd\u53d1\u884c\u7248\u64cd\u4f5c\u7cfb\u7edf\uff0c\u6bd4\u5982 Debian\uff0c CentOS\uff0c Fedora\uff0c Redhat\uff0c Ubuntu\uff0c openSUSE\u7b49\u3002<br \/>\n<strong>2\u3001Shadowsocks \u7684\u4f5c\u8005\u662f\u8c01<\/strong><br \/>\n\u6700\u521d\u53ea\u6709 Python \u7248\uff0c\u7531 <a href=\"https:\/\/github.com\/clowwindy\" target=\"_blank\" rel=\"noopener noreferrer\">@clowwindy<\/a> \u5f00\u53d1\u548c\u7ef4\u62a4\uff0c\u540e\u6765\u968f\u7740\u77e5\u540d\u5ea6\u63d0\u9ad8\uff0c\u5f00\u59cb\u51fa\u73b0\u5404\u79cd\u8bed\u8a00\u7684\u7248\u672c\uff0c\u5176\u4e2d\u6bd4\u8f83\u77e5\u540d\u7684\u662f libev \uff0c go\uff0c nodejs \u7b49\u7248\u672c\uff0c\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0cnodejs \u7684\u4f5c\u8005\u4e5f\u662f @clowwindy\uff0c\u4f46\u6700\u8fd1\u5df2\u4e0d\u518d\u7ef4\u62a4\u8be5\u7248\u672c\u3002libev \u7684\u7ef4\u62a4\u8005\u662f <a href=\"https:\/\/github.com\/madeye\" target=\"_blank\" rel=\"noopener noreferrer\">@madeye<\/a>\uff0c\u957f\u671f\u66f4\u65b0\u3002<br \/>\n<strong>3\u3001Shadowsocks \u4e00\u952e\u5b89\u88c5\u811a\u672c<\/strong><br \/>\n\u867d\u7136\u4f5c\u8005\u7684\u5b89\u88c5\u6559\u7a0b\u5df2\u7ecf\u5f88\u5b8c\u5907\u4e86\uff0c\u4f46\u8fd8\u662f\u6709\u4e0d\u5c11\u4eba\u4e0d\u4f1a\u5b89\u88c5\u548c\u4f7f\u7528\uff0c\u56e0\u6b64\u6211\u7f16\u5199\u4e86 Shadowsocks \u4e00\u952e\u5b89\u88c5\u811a\u672c\uff0c\u4e3b\u8981\u57fa\u4e8e CentOS \u7cfb\u7edf\u4e0b\u7684\u4e00\u952e\u5b89\u88c5\uff08\u4e5f\u6709 <a href=\"http:\/\/teddysun.com\/358.html\" target=\"_blank\" rel=\"noopener noreferrer\">Debian<\/a> \u7cfb\u7edf\uff09\uff0c\u5206\u522b\u6709 <a href=\"http:\/\/teddysun.com\/342.html\" target=\"_blank\" rel=\"noopener noreferrer\">Python<\/a>\uff0c <a href=\"http:\/\/teddysun.com\/357.html\" target=\"_blank\" rel=\"noopener noreferrer\">libev<\/a>\uff0c <a href=\"http:\/\/teddysun.com\/355.html\" target=\"_blank\" rel=\"noopener noreferrer\">nodejs<\/a> \u7248\uff0c\u4e2a\u4eba\u63a8\u8350\u4f7f\u7528 Python \u548c libev \u7248\u3002<br \/>\n\u8be5\u811a\u672c\u4f1a\u81ea\u52a8\u4e0b\u8f7d\uff0c\u7f16\u8bd1\u5b89\u88c5\u6700\u65b0\u7248\u7684 Shadowsocks\uff0c\u5e76\u4e14\u53ef\u4ee5\u5b8c\u5168\u5378\u8f7d Shadowsocks \uff0c\u81ea\u52a8\u751f\u6210\u914d\u7f6e\u6587\u4ef6\uff0c\u5b89\u88c5\u5b8c\u6210\u5373\u53ef\u4f7f\u7528\u3002<br \/>\n<strong>4\u3001Shadowsocks \u5982\u4f55\u5347\u7ea7<\/strong><br \/>\n\u5b89\u88c5\u5b8c Shadowsocks\uff0c\u4e00\u6bb5\u65f6\u95f4\u540e\uff0c\u4f5c\u8005\u5df2\u7ecf\u66f4\u65b0\u4e86\u7248\u672c\uff08\u4fee\u6b63 bug \u6216\u5347\u7ea7\u529f\u80fd\uff09\uff0c\u90a3\u4e48\u5982\u4f55\u4e00\u952e\u5347\u7ea7\u5230\u6700\u65b0\u7248\u5462\uff1f<br \/>\nPython \u7248\uff0c\u6267\u884c\u547d\u4ee4\uff1a pip install -U shadowsocks \uff0c\u547d\u4ee4\u6267\u884c\u6210\u529f\u540e\uff0c\u91cd\u65b0\u542f\u52a8 Shadowsocks \uff0c\u547d\u4ee4\uff1a service shadowsocks restart<br \/>\nlibev \u7248\uff0c\u5148\u5378\u8f7d\u65e7\u7248\u672c\uff0c\u6267\u884c\u547d\u4ee4\uff1a.\/shadowsocks-libev.sh uninstall \uff0c\u518d\u5b89\u88c5\u65b0\u7248\u672c\uff0c\u6267\u884c\u547d\u4ee4\uff1a .\/shadowsocks-libev.sh \u5b89\u88c5<br \/>\nDebian \u4e0b\u7684 libev \u7248\uff0c\u5347\u7ea7\u65b9\u5f0f\u540c\u4e0a\u3002<br \/>\nnodejs \u7248\uff0c\u4e5f\u662f\u5148\u5378\u8f7d\u518d\u91cd\u65b0\u5b89\u88c5\uff0c\u56e0\u4e3a\u4f5c\u8005\u5df2\u7ecf\u4e0d\u66f4\u65b0\uff0c\u6240\u4ee5\u4e0d\u63a8\u8350\u7528\u8fd9\u7248\u672c\u3002<br \/>\n<strong>5\u3001Shadowsocks \u5b89\u88c5\u5931\u8d25\u600e\u4e48\u529e<\/strong><br \/>\n\u7531\u4e8e CentOS 5.x \u7684\u9ed8\u8ba4 gcc \u7248\u672c\u8fc7\u4f4e\uff0c\u5728\u7f16\u8bd1 libev \u7248\u65f6\u4f1a\u51fa\u9519\uff1b\u540c\u65f6\u9ed8\u8ba4 Python \u7684\u7248\u672c\u4e5f\u8fc7\u4f4e\uff0c\u6240\u4ee5\u4e5f\u65e0\u6cd5\u5b89\u88c5 Python \u7248\u7684\u3002\u56e0\u6b64\uff0c\u8bf7\u786e\u4fdd\u5b89\u88c5\u7684\u73af\u5883\u4e3a CentOS 6.x \u6216 CentOS 7.x \u3002<br \/>\n\u66f4\u591a\u5176\u4ed6\u9519\u8bef\uff0c\u8bf7\u6839\u636e\u5b9e\u9645\u9519\u8bef\u63d0\u793a\uff0c\u81ea\u884c\u5728 google \u4e0a\u641c\u7d22\u5173\u952e\u5b57\u3002<br \/>\n<strong>6\u3001Shadowsocks \u7684\u5ba2\u6237\u7aef\u7a0b\u5e8f<\/strong><br \/>\n\u5927\u591a\u6570\u4eba\u90fd\u662f\u5728 Windows \u4e0b\u4f7f\u7528\u7535\u8111\uff0c\u56e0\u6b64\u6700\u597d\u7528\u7684 Windows \u5ba2\u6237\u7aef\u662f <a href=\"https:\/\/sourceforge.net\/projects\/shadowsocksgui\/files\/dist\/\" target=\"_blank\" rel=\"noopener noreferrer\">shadowsocks-gui<\/a> \uff0c\u4e0b\u8f7d\u6700\u65b0\u7248\u540e\u89e3\u538b\u5373\u53ef\u4f7f\u7528\u3002<br \/>\n<strong>7\u3001Shadowsocks \u672c\u5730\u4ee3\u7406\u4e0a\u7f51<\/strong><br \/>\n\u672c\u5730\u7535\u8111\u542f\u52a8\u5ba2\u6237\u7aef\uff0c\u8fde\u63a5\u4e0a\u8fdc\u7a0b\u670d\u52a1\u7aef\u540e\uff0c\u5373\u5728\u672c\u5730\u5f00\u542f\u4e86 socks5 \u4ee3\u7406\uff0c\u672c\u5730\u7aef\u53e3\u53f7\u9ed8\u8ba4\u4e3a 1080\uff0c\u5982\u679c\u63d0\u793a\u88ab\u5360\u7528\uff0c\u4e5f\u53ef\u4ee5\u6539\u4e3a\u5176\u4ed6\u7aef\u53e3\u53f7\u3002\u5728\u6d4f\u89c8\u5668\u4e2d\u5b89\u88c5\u63d2\u4ef6\uff0cChrome \u4e0b\u662f <a href=\"https:\/\/chrome.google.com\/webstore\/detail\/proxy-switchysharp\/dpplabbmogkhghncfbfdeeokoefdjegm?hl=zh-CN\" target=\"_blank\" rel=\"noopener noreferrer\">SwitchySharp<\/a>\uff0c Firefox \u4e0b\u662f <a href=\"https:\/\/addons.mozilla.org\/zh-cn\/firefox\/addon\/autoproxy\/\" target=\"_blank\" rel=\"noopener noreferrer\">AutoProxy<\/a>\uff0c\u65b0\u5efa\u914d\u7f6e\u6587\u4ef6\uff0cSOCKS Host \u586b 127.0.0.1\uff0cPort \u586b 1080\uff08\u9ed8\u8ba4\uff0c\u8ddf Shadowsocks \u5ba2\u6237\u7aef\u7684\u672c\u5730\u7aef\u53e3\u53f7\u4e00\u81f4\u5373\u53ef\uff09<br \/>\n<strong>\u53c2\u8003\u94fe\u63a5\uff1a<\/strong><br \/>\n1\u3001<a href=\"http:\/\/shadowsocks.org\/en\/index.html\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/shadowsocks.org\/en\/index.html<\/a><br \/>\n2\u3001<a href=\"https:\/\/github.com\/clowwindy\/shadowsocks\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/clowwindy\/shadowsocks<\/a><br \/>\n3\u3001<a href=\"https:\/\/github.com\/madeye\/shadowsocks-libev\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/madeye\/shadowsocks-libev<\/a><br \/>\n&nbsp;<br \/>\n\u672c\u6587\u6765\u81ea\uff1ahttp:\/\/teddysun.com\/372.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1\u3001Shadowsocks \u662f\u4ec0\u4e48 Shadowsocks \u662f\u4e00\u79cd\u5b89\u5168\u7684 socks5 \u4ee3\u7406\uff0c\u53ef\u4ee5\u4fdd\u62a4\u4f60\u7684\u4e0a\u7f51\u6d41\u91cf\u3002\u57fa\u4e8e\u591a\u79cd\u52a0\u5bc6\u65b9\u5f0f\uff0c\u63a8\u8350\u4f7f\u7528 aes-256-cfb \u52a0\u5bc6\u3002\u5b89\u88c5\u548c\u4f7f\u7528\u9700\u8981\u672c\u5730\u7aef\u548c\u670d\u52a1\u7aef\u3002 \u672c\u5730\u5ba2\u6237\u7aef\u5df2\u7ecf\u5305\u542b\u4e86\u591a\u79cd\u7248\u672c\uff0c\u5305\u62eciOS\uff0cAndroid\uff0cWindows\uff0cMAC\uff0c\u751a\u81f3\u662f\u8def\u7531\u5668 (\u57fa\u4e8eOpenWRT)\uff0c\u6240\u4ee5\u4f7f\u7528\u65b9\u4fbf\uff0c\u5404\u53d6\u6240\u9700\u3002 \u8fdc\u7a0b\u670d\u52a1\u7aef\u5219\u4e00\u822c\u5b89\u88c5\u5728\u57fa\u4e8e Linux \u7684\u5404\u79cd\u53d1\u884c\u7248\u64cd\u4f5c\u7cfb\u7edf\uff0c\u6bd4\u5982 Debian\uff0c CentOS\uff0c Fedora\uff0c Redhat\uff0c Ubuntu\uff0c openSUSE\u7b49\u3002 2\u3001Shadowsocks \u7684\u4f5c\u8005\u662f\u8c01 \u6700\u521d\u53ea\u6709 Python \u7248\uff0c\u7531 @clowwindy \u5f00\u53d1\u548c\u7ef4\u62a4\uff0c\u540e\u6765\u968f\u7740\u77e5\u540d\u5ea6\u63d0\u9ad8\uff0c\u5f00\u59cb\u51fa\u73b0\u5404\u79cd\u8bed\u8a00\u7684\u7248\u672c\uff0c\u5176\u4e2d\u6bd4\u8f83\u77e5\u540d\u7684\u662f libev \uff0c go\uff0c nodejs \u7b49\u7248\u672c\uff0c\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0cnodejs \u7684\u4f5c\u8005\u4e5f\u662f @clowwindy\uff0c\u4f46\u6700\u8fd1\u5df2\u4e0d\u518d\u7ef4\u62a4\u8be5\u7248\u672c\u3002libev \u7684\u7ef4\u62a4\u8005\u662f @madeye\uff0c\u957f\u671f\u66f4\u65b0\u3002 3\u3001Shadowsocks \u4e00\u952e\u5b89\u88c5\u811a\u672c \u867d\u7136\u4f5c\u8005\u7684\u5b89\u88c5\u6559\u7a0b\u5df2\u7ecf\u5f88\u5b8c\u5907\u4e86\uff0c\u4f46\u8fd8\u662f\u6709\u4e0d\u5c11\u4eba\u4e0d\u4f1a\u5b89\u88c5\u548c\u4f7f\u7528\uff0c\u56e0\u6b64\u6211\u7f16\u5199\u4e86 Shadowsocks \u4e00\u952e\u5b89\u88c5\u811a\u672c\uff0c\u4e3b\u8981\u57fa\u4e8e CentOS \u7cfb\u7edf\u4e0b\u7684\u4e00\u952e\u5b89\u88c5\uff08\u4e5f\u6709 Debian \u7cfb\u7edf\uff09\uff0c\u5206\u522b\u6709 Python\uff0c libev\uff0c nodejs \u7248\uff0c\u4e2a\u4eba\u63a8\u8350\u4f7f\u7528 Python \u548c libev \u7248\u3002 \u8be5\u811a\u672c\u4f1a\u81ea\u52a8\u4e0b\u8f7d\uff0c\u7f16\u8bd1\u5b89\u88c5\u6700\u65b0\u7248\u7684 Shadowsocks\uff0c\u5e76\u4e14\u53ef\u4ee5\u5b8c\u5168\u5378\u8f7d Shadowsocks [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[95,118],"class_list":["post-1470","post","type-post","status-publish","format-standard","hentry","category-technical","tag-shadowsocks","tag-vpn"],"_links":{"self":[{"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=\/wp\/v2\/posts\/1470","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1470"}],"version-history":[{"count":0,"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=\/wp\/v2\/posts\/1470\/revisions"}],"wp:attachment":[{"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1470"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1470"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1470"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}