{"id":401087,"date":"2021-03-25T04:53:50","date_gmt":"2021-03-24T20:53:50","guid":{"rendered":"http:\/\/4563.org\/?p=401087"},"modified":"2021-03-25T04:53:50","modified_gmt":"2021-03-24T20:53:50","slug":"cproxy-%e4%bd%bf%e7%94%a8%e7%ae%80%e5%8d%95%e7%9a%84-linux-per-app-%e9%80%8f%e6%98%8e%e4%bb%a3%e7%90%86","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=401087","title":{"rendered":"cproxy: \u4f7f\u7528\u7b80\u5355\u7684 Linux per app \u900f\u660e\u4ee3\u7406"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  cproxy: \u4f7f\u7528\u7b80\u5355\u7684 Linux per app \u900f\u660e\u4ee3\u7406               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : iceorange <\/span>  <span><i><\/i> 15<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u521a\u5f00\u6e90\u4e86\u6211\u7684\u65b0\u9879\u76ee cproxy: https:\/\/github.com\/NOBLES5E\/cproxy \u3002<\/p>\n<p>\u89e3\u51b3\u7684\u95ee\u9898\u548c proxychains \u4e00\u6837\uff0c\u5c31\u662f\u5bf9\u5355\u72ec\u8fdb\u7a0b\u8d70\u4ee3\u7406\uff0c\u800c\u4e0d\u9700\u8981\u8fdb\u7a0b\u672c\u8eab\u652f\u6301\u4ee3\u7406\u3002<\/p>\n<p>\u4f7f\u7528\u4e0a\u548c proxychains \u4e00\u6837\u7b80\u5355\uff0c\u4f46\u662f\u53ef\u4ee5\u4ee3\u7406 TCP, UDP \u5e76\u4e14\u5bf9\u9759\u6001\u94fe\u63a5\u7684\u7a0b\u5e8f\uff08\u6bd4\u5982\u50cf docker \u8fd9\u6837\u7684 Go \u7a0b\u5e8f\uff09 \u548c\u5df2\u7ecf\u5728\u8fd0\u884c\u7684\u7a0b\u5e8f\u4e5f\u53ef\u4ee5\u8fdb\u884c\u4ee3\u7406\u3002<\/p>\n<p>\u4e4b\u524d\u4e5f\u7528\u8fc7 graftcp \u7b49\u7b49\u8f6f\u4ef6\uff0c\u5927\u90e8\u5206\u60c5\u51b5\u4e0b\u633a\u597d\u7528\u3002\u4e0d\u8fc7 graftcp \u6bcf\u6b21\u8981\u8d77\u4e24\u4e2a\u7a0b\u5e8f\uff0c\u800c\u4e14\u6700\u8fd1\u6709\u4ee3\u7406 DNS \u8bf7\u6c42\u7684\u9700\u6c42\u4e86\uff0c\u53ea\u597d\u81ea\u5df1\u52a8\u624b\u4e86\u3002<\/p>\n<p>\u65e2\u7136\u5f00\u6e90\u51fa\u6765\u4e86\uff0c\u8fd8\u662f\u5e0c\u671b\u66f4\u591a\u4eba\u80fd\u77e5\u9053\uff0c\u5bf9\u5927\u5bb6\u4ea7\u751f\u5e2e\u52a9\uff0c\u4e5f\u6536\u96c6\u4e00\u4e0b\u5efa\u8bae\u3002\u6b22\u8fce\u8ba8\u8bba~<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>29<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5373331\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : tia <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u652f\u6301\u4e00\u4e0b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373332\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cathedrel <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5927\u4f6c\uff0c\u80fd\u4e0d\u80fd\u5199\u4e2a\u201cLinux all app \u900f\u660e\u4ee3\u7406\u201d\uff1f \u6240\u6709\u6d41\u91cf\uff0ctcp\uff0cudp\uff0cicmp\uff0c\u5168\u90e8\u81ea\u52a8\u8d70\uff1f\u529f\u80fd\u548c\u914d\u7f6e\u90fd\u7b80\u5355\u4e00\u70b9\uff0c\u7c7b\u4f3c proxifier \u8bbe\u7f6e\u597d\u4ee3\u7406\u5730\u5740\u5c31\u80fd\u4ee3\u7406\u6574\u4e2a\u7cfb\u7edf\u7684\uff1f\u5728 github \u4e0a\u627e\u5230\u4e24\u4e2a\uff0c\u4f46\u662f\u90fd\u6709\u70b9\u590d\u6742\uff0c\u5728 alpine linux \u4e0a\u90fd\u8dd1\u4e0d\u8d77\u6765&#8230;&#8230;\u60a8\u8981\u662f\u505a\u4e86\u8fd9\u4e2a\uff0c\u529f\u5fb7\u65e0\u91cf\u554a\uff5e\uff5e\uff5e                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373333\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : holyzhou <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u597d\u50cf\u6709\u70b9\u610f\u601d star \u4e00\u4e2a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373334\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : generic <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @cathedrel \u5168\u90e8\u6d41\u91cf\u90a3\u4f60 vpn \u5440\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373335\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Kobayashi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @cathedrel \u8bd5\u8bd5 clash\uff0c\u4e0d\u786e\u5b9a UDP \u3001ICMP \u662f\u5426\u652f\u6301\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373336\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Jirajine <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd8\u4ee5\u4e3a\u662f\u53c8\u53d1\u660e\u4e86\u4ec0\u4e48\u65b0\u7684\u9b54\u6cd5\uff0c\u4e00\u770b\u662f\u64cd\u4f5c\u9632\u706b\u5899\u7684\u3002 <br \/>\u800c\u4e14\u662f\u901a\u8fc7\u8c03\u7528 iptables \u547d\u4ee4\u64cd\u4f5c\uff0c\u5341\u5206\u4e0d\u5408\u9002\u3002<br \/>\u6ca1\u6709\u539f\u5b50\u6027\u3001\u6027\u80fd\u4e5f\u4e0d\u597d\uff0c\u5e76\u53d1\u542f\u52a8\u5f88\u53ef\u80fd\u51fa\u95ee\u9898\u3002<br \/>\u6b63\u786e\u7684\u505a\u6cd5\u5e94\u8be5\u662f\u901a\u8fc7 libnftnl \u8fd9\u6837\u7684\u5e93\u3002 <br \/>\u800c\u4e14\u4f60\u8fd9\u6837\u6ca1\u5fc5\u8981\u7528 rust \u554a\uff0c\u76f4\u63a5\u7528 shell \u811a\u672c\u66f4\u5408\u9002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373337\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : iceorange <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Jirajine \u8c22\u8c22\uff0c<\/p>\n<p>1. \u4fee\u6539 iptables \u4e0d\u89c9\u5f97\u54ea\u91cc low \u4e86\uff0c\u8bf7\u95ee\u662f\u89e3\u51b3\u4e0d\u4e86\u4ec0\u4e48\u95ee\u9898\uff1f<br \/>2. \u5173\u4e8e\u662f\u8c03\u7528\u5e93\u8fd8\u662f\u8c03\u7528 iptables \u547d\u4ee4\u8fd9\u4e2a\u95ee\u9898\u6211\u4e00\u5f00\u59cb\u601d\u8003\u8fc7\u3002\u5728\u8fd9\u79cd\u573a\u666f\u4e0b\uff0c\u539f\u5b50\u6027\u6ca1\u6709\u5f71\u54cd\uff0c\u56e0\u4e3a\u5b50\u8fdb\u7a0b\u662f\u6240\u6709 iptables rule apply \u5b8c\u518d spawn \u7684\uff0c\u5b50\u8fdb\u7a0b\u9000\u51fa\u540e\u624d\u4f1a\u8fdb\u884c iptables \u7684\u6e05\u7a7a\u64cd\u4f5c\u3002\u8bf4\u5230\u6027\u80fd\u95ee\u9898\u5c31\u83ab\u540d\u5176\u5999\u4e86\uff0c\u8c03\u7528\u51e0\u884c iptables \u547d\u4ee4\u7684\u5f00\u9500\u5728\u8fd9\u4e2a\u4f7f\u7528\u573a\u666f\u4e2d\u503c\u5f97\u8003\u8651\uff1f\u5e76\u53d1\u542f\u52a8\u6ca1\u770b\u51fa\u95ee\u9898\uff0c\u8bf7\u6559\u4e00\u4e0b\u3002<br \/>3. \u4e0d\u7528 libnftnl \u53ef\u80fd\u7684\u597d\u5904\uff1a\u4e0d\u9700\u8981\u6574\u4e2a\u7a0b\u5e8f uid 0\uff0c\u540c\u65f6\u652f\u6301 nftables \u548c iptables \u3002<br \/>4. \u80fd\u7528 rust \u66f4\u597d\u5730\u7ec4\u7ec7\u4ee3\u7801\u5e72\u561b\u975e\u5f97\u5199\u4e2a shell \uff1f<\/p>\n<p>\u6700\u540e\uff0c\u5e0c\u671b\u80fd\u4ee5\u4e00\u4e2a\u6b63\u5e38\u8ba8\u8bba\u7684\u6001\u5ea6\u5bf9\u8bdd\uff0c\u8c22\u8c22\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373338\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Jirajine <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @iceorange \u60f3\u8c61\u4e00\u4e0b\u7528\u6237\u7528\u4f60\u7684\u5de5\u5177\u5e76\u53d1\u542f\u52a8\u591a\u4e2a\u8fdb\u7a0b\uff0c\u591a\u4e2a\u8fdb\u7a0b\u540c\u65f6\u64cd\u4f5c iptables \u4f1a\u600e\u6837\u3002<br \/>nftables \u4e00\u5927\u4eae\u70b9\u5c31\u662f\u63d0\u4f9b\u4e86\u591a\u4e2a\u7a0b\u5e8f\u5e76\u53d1\u64cd\u4f5c\u9632\u706b\u5899\u7684\u539f\u5b50\u6027\u3002<br \/>\u56e0\u4e3a\u4f60\u7684\u6838\u5fc3\u903b\u8f91\u57fa\u672c\u662f shell \u547d\u4ee4\u5b9e\u73b0\u7684\uff0c\u6bcf\u6b21\u90fd\u9700\u8981\u9700\u8981\u542f\u52a8\u591a\u4e2a\u5916\u90e8\u8fdb\u7a0b\uff0c\u5f00\u9500\u4e0d\u5c0f\u3002<br \/>\u65e2\u7136\u7528 shell \u547d\u4ee4\u5b9e\u73b0\uff0c\u4e3a\u5565\u4e0d\u7528 shell \u811a\u672c\u5462\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373339\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : iceorange <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Jirajine <br \/>1. \u591a\u4e2a\u8fdb\u7a0b\u540c\u65f6\u64cd\u4f5c iptables \u6ca1\u6709\u95ee\u9898\u554a\uff0c\u5b50\u8fdb\u7a0b\u53ea\u6709\u5728\u8be5\u5b50\u8fdb\u7a0b\u9700\u8981\u7684 rule apply \u540e\u624d\u4f1a spawn \u3002\u4e0d\u540c\u8fdb\u7a0b\u4f7f\u7528\u7684 rule \u662f\u4e0d\u540c\u7684\u3002<br \/>2. \u4e3a\u4ec0\u4e48\u975e\u8981\u7ea0\u7ed3 iptables \u8c03\u7528\u7684\u5f00\u9500\u5462\uff0c\u4e00\u822c\u6240\u4ee3\u7406\u7684\u7a0b\u5e8f\u8fd0\u884c\u5f00\u9500\u8fdc\u9ad8\u4e8e iptables \u8c03\u7528\uff0c\u6240\u4ee5\u4e0d\u80fd justify \u4f7f\u7528 libnftables \u66f4\u597d\uff0c\u8be6\u89c1\u4e0a\u8ff0\u4f7f\u7528 libnftables \u5e26\u6765\u7684\u95ee\u9898<br \/>3. \u4f7f\u7528\u4e86\u5916\u90e8\u7a0b\u5e8f\u5c31\u5f97\u7528 shell \u8fd9\u4e2a\u903b\u8f91\u5b9e\u5728\u662f\u4e0d\u901a\u3002\u5199 shell \u5149\u90a3\u4e00\u5806\u9519\u8bef\u68c0\u67e5\u5f97\u5199\u5f88\u591a\u884c\u3002parse \u547d\u4ee4\u5f97\u5199\u5f88\u591a\u884c\u3002\u5b89\u88c5 signal handler \u5f97\u5199\u5f88\u591a\u884c\u3002\u61c2\u5f97\u90fd\u61c2\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373340\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : iceorange <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Jirajine <br \/>\u5176\u5b9e\u662f\u6709\u4e00\u4e2a fundamental \u7684\u8ba4\u77e5\u95ee\u9898\uff0c\u5de5\u5177\u7684\u91cd\u70b9\u662f\u80fd\u591f\u89e3\u51b3\u65b0\u7684\u75db\u70b9\u95ee\u9898\uff0c\u800c\u4e0d\u662f\u7528\u4e86\u4ec0\u4e48\u9b54\u6cd5\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373341\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : v2webdev <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u4e2a\u9879\u76ee\u5728 Hacker News \u4e0a\u706b\u4e86\u5462\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373342\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cathedrel <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Kobayashi \u6211\u8bf4\u7684\u5728 alpine linux \u4e0a\u8dd1\u4e0d\u8d77\u6765\u7684\u4e24\u4e2a\u4e4b\u4e00\u5c31\u662f clash\uff0calpine \u4e0a\u9762\u88c5\u4e86 tun\uff0c\u88c5\u4e86 glibc\uff0c\u4e5f\u8bd5\u8fc7 chroot \u7684 arch \u91cc\u8dd1\uff0c\u5168\u90e8\u5931\u8d25                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373343\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : gleport <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u56de\u5e94\u4e00\u4e0b\u4e3b\u8bf4\u7684 graftcp \u6bcf\u6b21\u8981\u8d77\u4e24\u4e2a\u7a0b\u5e8f\u7684\u95ee\u9898\uff1agraftcp-local \u662f\u8bbe\u8ba1\u4e3a\u5b88\u62a4\u8fdb\u7a0b\u65b9\u5f0f\u4f7f\u7528\u7684\uff0c&#8221;sudo systemctl &#8211;now enable graftcp-local.service&#8221; \u540e\u4f7f\u7528\u65b9\u5f0f\u548c proxychains \u57fa\u672c\u4e00\u81f4\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373344\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : iceorange <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @gleport \u662f\u7684\uff0c\u53ea\u9700\u8981\u4ee3\u7406 tcp \u7684\u8bdd graftcp \u5df2\u7ecf\u5f88\u597d\u7528\u4e86<br \/>\u6211\u5e73\u65f6\u7528 graftcp \u7684\u65f6\u5019\u4e3b\u8981\u6709\u4e24\u4e2a\u9700\u6c42\u89e3\u51b3\u4e0d\u4e86\uff0c\u4e00\u4e2a\u662f\u4ee3\u7406 DNS \u3002\u53e6\u4e00\u4e2a\u662f\u50cf\u662f\u5df2\u7ecf\u8fd0\u884c\u8d77\u6765\u7684 docker\uff0c\u7ecf\u5e38\u9700\u8981\u8d70\u4ee3\u7406 docker pull \u4e9b\u5185\u7f51\u79c1\u6709 image\uff0c\u7528 graftcp \u7684\u8bdd\u6211\u5f97\u6bcf\u6b21\u5148\u4fee\u6539 docker.service \u8ba9\u4ed6\u5957\u4e0a graftcp \u7136\u540e\u91cd\u542f service\uff0c\u7528\u5b8c\u518d\u6539\u56de\u53bb\uff0c\u6ca1\u6cd5\u76f4\u63a5\u8ba9\u73b0\u6709 docker \u8fdb\u7a0b\u4ee3\u7406                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373345\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : gfreezy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @cathedrel \u53ef\u4ee5\u770b\u4e0b\u6211\u5199\u7684\u8fd9\u4e2a https:\/\/github.com\/gfreezy\/seeker                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373346\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : yanqiyu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8ba9\u6211\u60f3\u8d77\u8fd9\u4e2a\u9879\u76ee https:\/\/github.com\/springzfx\/cgproxy\uff0c\u4e0d\u8fc7 cgproxy \u662f\u4e00\u4e2a daemon\uff0c\u76d1\u542c cgroup \u7136\u540e\u5bf9\u4e8e\u8bbe\u7f6e\u7684 slice \u7b49\u5e94\u7528\u4ee3\u7406                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373347\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : muxueqz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @iceorange \u55ef\uff0c\u8fd9\u4e2a\u601d\u8def\u633a\u6709\u8da3\u7684\uff0c\u4e0d\u8fc7\u7528 shell \u5b9e\u73b0\u4e5f\u6709\u4e2a\u597d\u5904\uff1a\u4f9d\u8d56\u66f4\u5c11\uff0c\u4e0d\u9700\u8981\u7f16\u8bd1\u3002\u76ee\u524d\u7684\u5b9e\u73b0\u5df2\u7ecf\u5f88\u63a5\u8fd1 shell \u4e86<\/p>\n<p>\u54c8\uff0c\u4e0d\u8fc7\u5f53\u7136\u662f\u60f3\u7528\u4ec0\u4e48\u5b9e\u73b0\u5c31\u7528\u4ec0\u4e48\u5b9e\u73b0\u4e86                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373348\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : iceorange <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @yanqiyu <br \/>\u8bf6 \u8fd9\u4e2a\u4f7f\u7528\u548c\u7cfb\u7edf\u8981\u6c42\u4e0d\u540c\uff0c\u4f46\u662f\u5728\u5b9e\u73b0\u539f\u7406\u4e0a\u548c cproxy \u975e\u5e38\u63a5\u8fd1\u3002\u6211\u4e00\u4f1a\u628a\u5b83\u8865\u5145\u5230 readme \u91cc\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373349\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : nmap <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6280\u672f\u539f\u7406\u662f\u4ec0\u4e48\u5462\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373350\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : iceorange <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @nmap \u7b80\u5355\u8bf4\u5176\u5b9e\u5c31\u662f\u4e3a\u9700\u8981\u4ee3\u7406\u7684\u7a0b\u5e8f\u521b\u5efa\u4e00\u4e2a\u72ec\u7acb\u7684 cgroup\uff0c\u901a\u8fc7 netfilter \u628a\u8fd9\u4e2a cgroup \u7684\u7f51\u7edc\u6d41\u91cf\u5168\u90e8\u91cd\u5b9a\u5411\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373351\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Jirajine <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @iceorange #9 \u56e0\u4e3a\u64cd\u4f5c iptables \u4e0d\u662f\u539f\u5b50\u6027\u7684\uff0c\u4e00\u4e2a\u8fdb\u7a0b\u5728\u6dfb\u52a0 \/\u5220\u9664\u89c4\u5219\u7684\u540c\u65f6\u6b63\u597d\u6709\u5176\u4ed6\u8fdb\u7a0b\u4e5f\u5728\u6dfb\u52a0 \/\u5220\u9664\u89c4\u5219\uff0c\u6700\u7ec8\u7684\u7ed3\u679c\u5c31\u662f\u4e71\u4e03\u516b\u7cdf\u3002<br \/>\u6211\u770b\u4e86\u4e00\u4e0b\u4f60\u662f\u7528 pid \u533a\u5206\u94fe\u540d\uff0c\u591a\u6570\u60c5\u51b5\u4e0b\u5e94\u8be5\u6ca1\u6709\u95ee\u9898\uff0c\u4f46\u8981\u662f\u6070\u597d\u6709\u56de\u6536\u7684 pid \u5bfc\u81f4\u91cd\u590d\u5c31\u4f1a\u5bfc\u81f4\u975e\u5e38\u4ee4\u4eba\u56f0\u60d1\u4e14\u96be\u4ee5\u6392\u67e5\u7684 bug \u3002<br \/>\u53e6\u5916\u4f60\u7684\u5927\u591a\u6570\u903b\u8f91\u751a\u81f3\u8fde\u6587\u4ef6 IO \u90fd\u4e0d\u5199\u4ee3\u7801\u800c\u662f\u7528 shell \u547d\u4ee4\u5b9e\u73b0\uff0c\u4e0e\u5176\u628a shell \u811a\u672c\u5d4c\u5165\u5230\u4ee3\u7801\u91cc\uff0c\u76f4\u63a5\u7528 shell \u811a\u672c\u4e0d\u65b9\u4fbf\u5417\uff1f<br \/>\u89e3\u6790\u547d\u4ee4\u884c\u53c2\u6570\u548c\u4fe1\u53f7\u5904\u7406\u540c\u6837\u53ef\u4ee5\u7528\u5e93\u3002\u81f3\u4e8e\u68c0\u67e5\u9519\u8bef\uff0cshell \u811a\u672c\u68c0\u67e5 shell \u547d\u4ee4\u7684\u9519\u8bef\u5f53\u7136\u6bd4 rust \u5bb9\u6613\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373352\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : iceorange <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Jirajine \u771f\u7684\u5f88\u5947\u602a\u3002<br \/>1. \u8bf4\u4e71\u4e03\u516b\u7cdf\u4e0d\u8981\u51ed\u611f\u89c9\uff0c\u9700\u8981\u5177\u4f53\u7684\u5206\u6790\u3002\u4e3a\u4e86\u907f\u514d\u8bef\u5bfc\u5176\u4ed6\u4eba\uff0c\u6211\u89e3\u91ca\u4e00\u4e0b\u3002\u5728\u8fd9\u79cd\u573a\u666f\u4e0b\uff0c\u4e0d\u5b58\u5728 pid \u56de\u6536\u7684\u95ee\u9898\uff0c\u56e0\u4e3a cproxy \u662f\u628a\u81ea\u5df1\u7684 pid \u653e\u5165 cgroup\uff0c\u518d launch \u5b50\u8fdb\u7a0b\u3002\u5220\u9664\u94fe\u662f cproxy \u8fdb\u7a0b\u8fdb\u884c\u5220\u9664\uff0c\u56e0\u6b64\u5220\u9664\u7684\u65f6\u5019\u4e0d\u53ef\u80fd pid \u88ab\u56de\u6536\u3002\u800c\u4e14 pid \u8fd9\u4e2a\u4e8b\u60c5\u8ddf\u539f\u5b50\u6027\u5b8c\u5168\u6ca1\u6709\u4efb\u4f55\u5173\u7cfb\uff0c\u4e0d\u8981\u628a\u4e0d\u76f8\u5173\u7684\u4e8b\u60c5\u653e\u5728\u4e00\u8d77\uff0c\u903b\u8f91\u975e\u5e38\u6df7\u4e71\u3002<br \/>2. \u60a8\u89c9\u5f97 shell \u811a\u672c\u5199\u66f4\u597d\uff0c\u662f\u60a8\u7684 personal taste\uff0c\u4e89\u8bba\u8fd9\u79cd detail \u6ca1\u6709\u4efb\u4f55\u610f\u4e49\uff0c\u53ea\u4f1a\u628a\u8ba8\u8bba\u5e26\u504f\u3002\u6211\u89c9\u5f97 rust \u5199\u66f4\u597d\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373353\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : iceorange <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Jirajine \u5efa\u8bae\u8ba8\u8bba\u7684\u65f6\u5019\u4e0d\u8981\u592a\u591a \u201c\u4e71\u4e03\u516b\u7cdf\u201d\u3001\u201c\u5341\u5206\u4e0d\u5408\u9002\u201d \u8fd9\u79cd\u4e3b\u89c2\u611f\u89c9\u3002\u8fd9\u5bf9\u6280\u672f\u793e\u533a\u8ba8\u8bba\u662f\u4e0d\u5229\u7684\u3002<br \/>\u6bd4\u5982\u60a8\u89c9\u5f97\u4f7f\u7528 iptables \u6709\u95ee\u9898\uff0c\u90a3\u4e48\u8ba8\u8bba\u65b9\u5411\u5e94\u8be5\u662f\u4f7f\u7528\u4e86 iptables\uff0c\u6bd4\u5982\u591a\u8fdb\u7a0b\u4e00\u8d77\u64cd\u4f5c\uff0c\u53ef\u80fd\u4f1a\u5e26\u6765\u4ec0\u4e48\u5177\u4f53\u540e\u679c\uff0c\u8fd9\u4e2a\u540e\u679c\u4f1a\u9020\u6210\u4ec0\u4e48\u5f71\u54cd\uff0c\u5bf9\u4f7f\u7528\u573a\u666f\u662f\u5426\u4e0d\u53ef\u63a5\u53d7\u3002\u5728\u60a8\u7684\u56de\u590d\u4e2d\u8fd9\u4e2a\u540e\u679c\u53eb\u505a \u201c\u4e71\u4e03\u516b\u7cdf\u201d\uff0c\u548c\u201c\u975e\u5e38\u4ee4\u4eba\u56f0\u60d1\u4e14\u96be\u4ee5\u6392\u67e5\u7684 bug \u201d\u4f46\u53c8\u4e0d\u660e\u786e\u662f\u4ec0\u4e48 bug \u3002\u8fd9\u6837\u8ba8\u8bba\u662f\u6ca1\u6709\u610f\u4e49\u7684\uff0c\u5bf9\u793e\u533a\u4e92\u76f8\u5e2e\u52a9\u63d0\u5347\u6280\u672f\u6709\u5bb3\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373354\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Jirajine <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @iceorange #22 \u7ed3\u679c\u201c\u4e71\u4e03\u516b\u7cdf\u201d\u54ea\u91cc\u662f\u4e3b\u89c2\u611f\u89c9\u4e86\uff0c\u4f60\u7684\u7a0b\u5e8f\u5b58\u5728 race condition\uff0c\u8fd0\u884c\u7684\u7ed3\u679c\u662f\u4e0d\u786e\u5b9a\u7684\uff0c\u90a3\u5c31\u662f\u4e71\u4e03\u516b\u7cdf\u554a\u3002<br \/>\u540c\u6837\uff0c\u8fd9\u4e2a\u540e\u679c\u9020\u6210\u7684\u5f71\u54cd\u5c31\u662f\u591a\u6570\u60c5\u51b5\u6b63\u5e38\u5de5\u4f5c\uff0c\u5076\u53d1\u6027\u7684\u7a81\u7136\u51fa\u73b0\u65e0\u6cd5\u8fde\u63a5\u3001\u6ca1\u6709\u56de\u6536\u7b49\u5404\u79cd\u95ee\u9898\uff08\u51fa\u73b0\u51b2\u7a81\u65f6\u65f6\u8fd0\u884c\u7ed3\u679c\u672c\u8eab\u5c31\u662f\u4e0d\u660e\u786e\u7684\uff09\u3002\u5f53\u7136\u5f88\u5bb9\u6613\u8ba9\u7528\u6237\u975e\u5e38\u56f0\u60d1\u5e76\u4e14\u96be\u4ee5\u6392\u67e5\uff08\u590d\u73b0\uff09\u3002<br \/>\u53c8\u770b\u4e86\u4e0b\u4f60\u8fd9\u4e2a pid\uff0c\u4f60\u7684\u7a0b\u5e8f\u53ef\u80fd\u4f1a\u4f7f\u7528\u81ea\u5df1\u7684 pid\uff0c\u4e5f\u53ef\u80fd\u4f1a\u4f7f\u7528\u76ee\u6807\u7a0b\u5e8f\u7684 pid\uff0c\u5f53\u7136\u5b58\u5728 pid \u56de\u6536\u540e\u518d\u6b21\u5206\u914d\u5bfc\u81f4\u4f60\u7684\u540d\u79f0\u51b2\u7a81\uff0c\u8fdb\u800c\u56e0\u4e3a\u7f3a\u4e4f\u539f\u5b50\u6027\u9020\u6210 race condition \u3002<\/p>\n<p>\u5f53\u7136\u4e5f\u4e0d\u662f\u8bf4\u6ca1\u6709\u539f\u5b50\u6027\u5c31\u4e00\u5b9a\u4f1a\u6709\u95ee\u9898\uff0c\u4f46\u4f60\u9700\u8981\u8003\u8651\u5404\u79cd\u4e0d\u540c\u7684\u60c5\u51b5\uff0c\u5b50\u8fdb\u7a0b\u5d4c\u5957\u8c03\u7528\u3001\u4e0d\u540c\u65b9\u5f0f\u8c03\u7528\u3001\u50f5\u5c38\u8fdb\u7a0b\u3001\u88ab kill \u540e\u672a\u56de\u6536\u7b49\uff0c\u8fd9\u662f\u975e\u5e38 error prune \u7684\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373355\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : iceorange <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Jirajine \u60a8\u5f00\u5fc3\u5c31\u597d \uff1a\uff09                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373356\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cathedrel <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @gfreezy \u770b\u8d77\u6765\u5f88\u68d2\uff0c\u6211\u5148\u70b9\u4e2a star \u3002<br \/>releases \u9875\u9762\u7684 seeker-0.4.0-x86_64-unknown-linux-musl.tar.gz \u8fd9\u4e2a\u6587\u4ef6\u662f\u76f4\u63a5\u53ef\u4ee5\u5728 alpine linux \u91cc\u8fd0\u884c\u7684\u6587\u4ef6\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373357\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : gfreezy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @cathedrel musl \u6253\u5305\u51fa\u6765\u7684\uff0c\u666e\u901a Linux \u53ef\u4ee5\u6267\u884c\uff0c\u6ca1\u6d4b\u8bd5 alpine                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373358\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cathedrel <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @gfreezy \u6211\u5728 alpine \u91cc\u9762\u8bd5\u4e86\u4e00\u4e0b\uff0c.\/seeker -h \u53ef\u4ee5\u8fd0\u884c\uff0c\u914d\u7f6e\u6587\u4ef6\u6211\u8be5\u600e\u4e48\u5199\uff1f\u201c\u76f4\u63a5\u4f7f\u7528\u7684 clash \u7684\u89c4\u5219\u201d\uff0cclash \u6211\u5b8c\u5168\u4e0d\u61c2\u3002\u5982\u679c\u60f3\u8ba9\u7cfb\u7edf\u91cc\u7684\u6240\u6709\u6d41\u91cf\u5168\u90e8\u8d70\u4ee3\u7406\uff0c\u8be5\u600e\u4e48\u5199\uff1f\u2018&#8217;DOMAIN,ALL,PROXY&#8217;\u2019\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5373359\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : gfreezy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @cathedrel \u5bf9\u3002\u6709\u5565\u95ee\u9898\u53ef\u4ee5\u52a0 GitHub \u9875\u9762\u4e0a\u7684 slack \u804a\u5427\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>cproxy: \u4f7f\u7528\u7b80\u5355\u7684 Lin&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\/401087"}],"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=401087"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/401087\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=401087"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=401087"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=401087"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}