{"id":5868,"date":"2024-10-22T11:04:47","date_gmt":"2024-10-22T03:04:47","guid":{"rendered":"http:\/\/blog.coolcoding.cn\/?p=5868"},"modified":"2024-10-22T13:24:10","modified_gmt":"2024-10-22T05:24:10","slug":"%e5%bc%b1%e7%bd%91%e5%b7%a5%e5%85%b7","status":"publish","type":"post","link":"https:\/\/blog.coolcoding.cn\/?p=5868","title":{"rendered":"\u5f31\u7f51\u6a21\u62df\u5de5\u5177Clumsy"},"content":{"rendered":"\n<p>\u4f7f\u7528\u6559\u7a0b<\/p>\n\n\n\n<p><a href=\"https:\/\/jagt.github.io\/clumsy\/cn\/index.html\">https:\/\/jagt.github.io\/clumsy\/cn\/index.html<\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u4e0b\u8f7d\u5730\u5740<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/jagt\/clumsy\">https:\/\/github.com\/jagt\/clumsy<\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>clumsy \u80fd\u5728 Windows \u5e73\u53f0\u4e0b\u4eba\u5de5\u9020\u6210\u4e0d\u7a33\u5b9a\u7684\u7f51\u7edc\u72b6\u51b5\uff0c\u65b9\u4fbf\u4f60\u8c03\u8bd5\u5e94\u7528\u7a0b\u5e8f\u5728\u6781\u7aef\u7f51\u7edc\u72b6\u51b5\u4e0b\u7684\u8868\u73b0\u3002<\/strong><\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">\u7b80\u4ecb<\/h4>\n\n\n\n<p>\u5229\u7528\u5c01\u88c5 Winodws Filtering Platform \u7684<a href=\"https:\/\/reqrypt.org\/windivert.html\">WinDivert \u5e93<\/a>, clumsy \u80fd\u5b9e\u65f6\u7684\u5c06\u7cfb\u7edf\u63a5\u6536\u548c\u53d1\u51fa\u7684\u7f51\u7edc\u6570\u636e\u5305\u62e6\u622a\u4e0b\u6765\uff0c\u4eba\u5de5\u7684\u9020\u6210\u5ef6\u8fdf\uff0c\u6389\u5305\u548c\u7be1\u6539\u64cd\u4f5c\u540e\u518d\u8fdb\u884c\u53d1\u9001\u3002\u65e0\u8bba\u4f60\u662f\u8981\u91cd\u73b0\u7f51\u7edc\u5f02\u5e38\u9020\u6210\u7684\u7a0b\u5e8f\u9519\u8bef\uff0c\u8fd8\u662f\u8bc4\u4f30\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u5728\u4e0d\u826f\u7f51\u7edc\u72b6\u51b5\u4e0b\u7684\u8868\u73b0\uff0cclumsy \u90fd\u80fd\u8ba9\u4f60\u5728\u4e0d\u9700\u8981\u989d\u5916\u6dfb\u52a0\u4ee3\u7801\u7684\u60c5\u51b5\u4e0b\uff0c\u5728\u7cfb\u7edf\u5c42\u6b21\u5e2e\u4f60\u8fbe\u5230\u60f3\u8981\u7684\u6548\u679c\uff1a\u7279\u8272\uff1a<\/p>\n\n\n\n<ul>\n<li>\u4e0b\u8f7d\u5373\u7528\uff0c\u4e0d\u9700\u8981\u5b89\u88c5\u4efb\u4f55\u4e1c\u897f\u3002<\/li>\n\n\n\n<li>\u4e0d\u9700\u8981\u989d\u5916\u8bbe\u7f6e\uff0c\u4e0d\u9700\u8981\u4fee\u6539\u4f60\u7684\u7a0b\u5e8f\u7684\u4ee3\u7801\u3002<\/li>\n\n\n\n<li>\u7cfb\u7edf\u7ea7\u522b\u7684\u7f51\u7edc\u63a7\u5236\uff0c\u53ef\u4ee5\u9002\u7528\u4e8e\u547d\u4ee4\u884c\uff0c\u56fe\u5f62\u754c\u9762\u7b49\u4efb\u4f55 Windows \u5e94\u7528\u7a0b\u5e8f\u3002<\/li>\n\n\n\n<li>\u4e0d\u4ec5\u4ec5\u53ea\u652f\u6301 HTTP\uff0c\u4efb\u4f55 TCP, UDP \u7684\u7f51\u7edc\u8fde\u63a5\u90fd\u53ef\u4ee5\u88ab\u5904\u7406\u3002<\/li>\n\n\n\n<li>\u652f\u6301\u672c\u5730\u8c03\u8bd5(\u670d\u52a1\u5668\u548c\u5ba2\u6237\u7aef\u90fd\u5728 localhost)<\/li>\n\n\n\n<li>&#8220;\u70ed\u63d2\u62d4&#8221;\uff0c\u4f60\u7684\u7a0b\u5e8f\u53ef\u4ee5\u4e00\u76f4\u8fd0\u884c\uff0c\u800c clumsy \u53ef\u4ee5\u968f\u65f6\u5f00\u542f\u548c\u5173\u95ed\u3002<\/li>\n\n\n\n<li>\u5b9e\u65f6\u8c03\u8282\u5404\u79cd\u53c2\u6570\uff0c\u8be6\u7ec6\u63a7\u5236\u7f51\u7edc\u60c5\u51b5\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u5b9e\u4f8b<\/h4>\n\n\n\n<p>\u4e0b\u9762\u7684\u52a8\u753b\u5c55\u793a\u4e86 clumsy \u4f5c\u7528\u4e8e\u4e00\u4e2a\u672c\u5730\u7684\u57fa\u4e8e netcat \u7684 UDP \u670d\u52a1\u5668\/\u5ba2\u6237\u7aef\u7684\u60c5\u51b5\u3002\u4ed4\u7ec6\u89c2\u5bdf\u4f60\u53ef\u4ee5\u770b\u5230\u6570\u636e\u6839\u636e\u5728 clumsy \u7684\u5f71\u54cd\u4e0b\u4ea7\u751f\u4e86\u76f8\u5e94\u7684\u53d8\u5316\u3002 \u5982\u679c\u4f60\u57fa\u672c\u77e5\u9053\u4e86 clumsy \u662f\u5e72\u4ec0\u4e48\u7528\u7684\uff0c\u4e0d\u59a8\u5230<a href=\"https:\/\/jagt.github.io\/clumsy\/cn\/download\">\u4e0b\u8f7d\u9875\u9762<\/a>\u9009\u62e9\u9002\u7528\u4e8e\u4f60\u7cfb\u7edf\u7684\u7248\u672c\u8fdb\u884c\u4e0b\u8f7d\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/jagt.github.io\/clumsy\/cn\/clumsy-demo.gif\" alt=\"\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">\u8be6\u7ec6\u4fe1\u606f<\/h4>\n\n\n\n<p>clumsy \u9996\u5148\u6839\u636e\u7528\u6237\u9009\u62e9\u7684&nbsp;<em>filter<\/em>&nbsp;\u6765\u62e6\u622a\u6307\u5b9a\u7684\u7f51\u7edc\u6570\u636e\u3002\u5728 filter \u4e2d\u53ef\u4ee5\u8bbe\u5b9a\u4f60\u611f\u5174\u8da3\u7684\u534f\u8bae(tcp\/udp)\uff0c\u7aef\u53e3\u53f7\uff0c\u662f\u63a5\u6536\u8fd8\u662f\u53d1\u51fa\u7684\u7aef\u53e3\u3002\u4f60\u4e5f\u53ef\u4ee5\u901a\u8fc7\u7b80\u5355\u7684\u903b\u8f91\u8bed\u53e5\u6765\u8fdb\u4e00\u6b65\u7f29\u5c0f\u8303\u56f4\u3002\u5f53 clumsy \u88ab\u6fc0\u6d3b\u65f6\uff0c\u53ea\u6709\u7b26\u5408\u8fd9\u4e9b\u6807\u51c6\u7684\u7f51\u7edc\u6570\u636e\u4f1a\u88ab\u8fdb\u884c\u5904\u7406\uff0c\u800c\u4f60\u4e0d\u611f\u5174\u8da3\u7684\u6570\u636e\u4ecd\u7136\u4f1a\u7531\u7cfb\u7edf\u6b63\u5e38\u4f20\u8f93\u3002<\/p>\n\n\n\n<p>\u5f53\u88ab filter \u7684\u7f51\u7edc\u6570\u636e\u5305\u88ab\u62e6\u622a\u540e\uff0c\u4f60\u53ef\u4ee5\u9009\u62e9 clumsy \u63d0\u4f9b\u7684\u529f\u80fd\u6765\u6709\u76ee\u7684\u6027\u7684\u8c03\u6574\u7f51\u7edc\u60c5\u51b5\uff1a<\/p>\n\n\n\n<ol>\n<li>\u5ef6\u8fdf(Lag)\uff0c\u628a\u6570\u636e\u5305\u7f13\u5b58\u4e00\u6bb5\u65f6\u95f4\u540e\u518d\u53d1\u51fa\uff0c\u8fd9\u6837\u80fd\u591f\u6a21\u62df\u7f51\u7edc\u5ef6\u8fdf\u7684\u72b6\u51b5\u3002<\/li>\n\n\n\n<li>\u6389\u5305(Drop)\uff0c\u968f\u673a\u4e22\u5f03\u4e00\u4e9b\u6570\u636e\u3002<\/li>\n\n\n\n<li>\u8282\u6d41(Throttle)\uff0c\u628a\u4e00\u5c0f\u6bb5\u65f6\u95f4\u5185\u7684\u6570\u636e\u62e6\u622a\u4e0b\u6765\u540e\u518d\u5728\u4e4b\u540e\u7684\u540c\u4e00\u65f6\u95f4\u4e00\u540c\u53d1\u51fa\u53bb\u3002<\/li>\n\n\n\n<li>\u91cd\u53d1(Duplicate)\uff0c\u968f\u673a\u590d\u5236\u4e00\u4e9b\u6570\u636e\u5e76\u4e0e\u5176\u672c\u8eab\u4e00\u540c\u53d1\u9001\u3002<\/li>\n\n\n\n<li>\u4e71\u5e8f(Out of order)\uff0c\u6253\u4e71\u6570\u636e\u5305\u53d1\u9001\u7684\u987a\u5e8f\u3002<\/li>\n\n\n\n<li>\u7be1\u6539(Tamper)\uff0c\u968f\u673a\u4fee\u6539\u5c0f\u90e8\u5206\u7684\u5305\u88f9\u5185\u5bb9\u3002<\/li>\n<\/ol>\n\n\n\n<p>\u5c3d\u7ba1\u5f53\u524d\u5bbd\u5e26\u7f51\u7edc\u8fde\u63a5\u5341\u5206\u666e\u53ca\uff0c\u4f46\u7f51\u7edc\u4f20\u8f93\u5176\u672c\u8eab\u5728\u672c\u8d28\u4e0a\u603b\u4e0d\u662f\u7a33\u5b9a\u7684\u3002\u5982\u679c\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u4e2d\u6ca1\u6709\u5e94\u5bf9\u5404\u79cd\u60c5\u51b5\u7684\u5904\u7406\uff0c\u90a3\u4e48\u6709\u53ef\u80fd\u4e00\u4e2a\u4e22\u5931\u7684 UDP \u5305\u88f9\u90fd\u4f1a\u8ba9\u4f60\u7684\u7a0b\u5e8f\u5d29\u6e83\u3002\u6b63\u786e\u7684\u8c03\u8bd5\u8fd9\u7c7b\u884c\u4e3a \u663e\u7136\u9700\u8981\u518d\u4ee3\u7801\u7ed3\u6784\u4e0a\u8fdb\u884c\u4ed4\u7ec6\u7684\u8bbe\u8ba1\u548c\u5904\u7406\uff0c\u8fd8\u4f1a\u5f88\u82b1\u529f\u592b\u3002\u800c\u4e14\u5728\u67d0\u4e9b\u5c01\u88c5\u7d27\u5bc6\u7684\u5f00\u53d1\u73af\u5883(Unity3D \u81ea\u5e26\u7684\u7f51\u7edc\u5e93\u53ef\u80fd\u662f\u4e00\u4e2a\u4f8b\u5b50)\u4e0b\u4f1a\u66f4\u9ebb\u70e6\u3002clumsy \u4ee5\u5c3d\u53ef\u80fd\u51cf\u8f7b\u7a0b\u5e8f\u5458\u8d1f\u62c5\u4e3a\u76ee\u6807\uff0c \u5e0c\u671b\u63d0\u4f9b\u4e00\u4e2a\u7b80\u5355\u65b9\u4fbf\uff08\u4f46\u5e76\u4e0d\u5b8c\u7f8e\uff09\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n<p>\u9879\u76ee\u7684\u4ee3\u7801\u53ef\u4ee5\u5728<a href=\"https:\/\/github.com\/jagt\/clumsy\">github<\/a>\u4e0a\u83b7\u53d6\u3002\u5728<a href=\"https:\/\/jagt.github.io\/clumsy\/cn\/download.html\">\u4e0b\u8f7d\u9875\u9762<\/a>\u6709\u7f16\u8bd1\u597d\u7684\u7248\u672c\u3002\u5f3a\u70c8\u5efa\u8bae\u5728\u4f7f\u7528\u524d\u82b1\u70b9\u65f6\u95f4\u9605\u8bfb\u4e00\u4e0b<a href=\"https:\/\/jagt.github.io\/clumsy\/cn\/manual.html\">\u6587\u6863<\/a>\uff0c\u6765 \u4e86\u89e3 clumsy \u7684\u529f\u80fd\u548c\u9650\u5236\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u5feb\u6377\u4e0b\u8f7d\u5305<\/p>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-42734c2d-65bb-4b63-a1d1-4374cf2aa260\" href=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2024\/10\/clumsy-0.2-win64.7z\">clumsy-0.2-win64<\/a><a href=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2024\/10\/clumsy-0.2-win64.7z\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-42734c2d-65bb-4b63-a1d1-4374cf2aa260\">\u4e0b\u8f7d<\/a><\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u7528\u6559\u7a0b https:\/\/jagt.github.io\/clumsy\/cn\/index.html \u4e0b\u8f7d\u5730\u5740 h [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/5868"}],"collection":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5868"}],"version-history":[{"count":6,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/5868\/revisions"}],"predecessor-version":[{"id":5875,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/5868\/revisions\/5875"}],"wp:attachment":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5868"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5868"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}