﻿{"id":7729,"date":"2021-05-12T07:52:03","date_gmt":"2021-05-11T23:52:03","guid":{"rendered":"https:\/\/www.linuxmi.com\/?p=7729"},"modified":"2021-05-12T07:52:03","modified_gmt":"2021-05-11T23:52:03","slug":"linux-ebpf-windows","status":"publish","type":"post","link":"https:\/\/www.linuxmi.com\/linux-ebpf-windows.html","title":{"rendered":"\u5fae\u8f6f\u542f\u52a8\u65b0\u7684\u5f00\u6e90\u9879\u76ee\uff0c\u5c06Linux\u5de5\u5177eBPF\u5f15\u5165Windows"},"content":{"rendered":"<p>\u5fae\u8f6f\u5df2\u7ecf\u542f\u52a8\u4e86\u4e00\u4e2a\u65b0\u9879\u76ee\uff0c\u65e8\u5728\u5c06Linux\u5185\u6838\u5de5\u5177eBPF\uff08Extended Berkeley Packet Filter\uff09\u5f15\u5165Windows\u3002<\/p>\n<p>\u8be5\u516c\u53f8\u575a\u6301\u8ba4\u4e3a\uff0c\u4f7f\u8be5\u6280\u672f\u5728Windows\u4e2d\u8fd0\u884c\u7684\u4e3e\u52a8\u5e76\u4e0d\u4ee3\u8868\u521b\u5efaeBPF\u7684\u5206\u652f\u3002\u76f8\u53cd\uff0c\u5b83\u5c06\u4f7f\u7528\u73b0\u6709\u9879\u76ee\uff08\u5305\u62ecIOVisor uBPF\u9879\u76ee\u548cPREVAIL\u9a8c\u8bc1\u7a0b\u5e8f\uff09\u5728\u5176\u81ea\u5df1\u7684\u64cd\u4f5c\u7cfb\u7edf\uff08\u5c24\u5176\u662fWindows 10\u548cWindows Server 2016\u6216\u66f4\u9ad8\u7248\u672c\uff09\u4e0a\u8fd0\u884ceBPF\u7a0b\u5e8f\u548cAPI\u3002<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7730\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2021\/05\/open-source-code-hns.jpg\" alt=\"\" width=\"1280\" height=\"815\" \/><\/p>\n<p>\u7531\u4e8eMicrosoft\u521a\u521a\u542f\u52a8\u4e86\u8be5\u9879\u76ee\uff0c\u56e0\u6b64\u5728Windows\u4e0a\u4f7f\u7528eBPF\u5c1a\u5c5e\u521d\u671f\u3002\u56e0\u6b64\uff0c\u5f88\u96be\u4e86\u89e3\u53d1\u5c55\u7684\u901f\u5ea6\uff0c\u5e76\u4e14\u5c1a\u65e0\u65f6\u95f4\u8868\u3002\u5728\u8be5\u9879\u76ee\u7684GitHub\u9875\u9762\u4e0a\uff0c\u5fae\u8f6f\u8868\u793a\uff0c\u5176\u76ee\u7684\u662f\u201c\u4e3a\u4f7f\u7528\u9002\u7528\u4e8eOS\u751f\u6001\u7cfb\u7edf\u7684\u901a\u7528\u6302\u94a9\u548c\u5e2e\u52a9\u7a0b\u5e8f\u7684\u4ee3\u7801\u521b\u5efa\u6e90\u4ee3\u7801\u517c\u5bb9\u6027\u201d\u3002<\/p>\n<p>\u5b83\u5177\u6709\u5728Linux\u5185\u6838\u4e2d\u8fd0\u884c\u6c99\u76d2\u7a0b\u5e8f\u7684\u80fd\u529b\uff0c\u800c\u65e0\u9700\u66f4\u6539\u5185\u6838\u6e90\u4ee3\u7801\u6216\u52a0\u8f7d\u5185\u6838\u6a21\u5757\uff0c\u56e0\u6b64\u8be5\u6280\u672f\u975e\u5e38\u9002\u5408\u4f17\u591a\u5b89\u5168\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<p>\u5fae\u8f6f\u8bf4\uff1a<\/p>\n<blockquote class=\"wp-block-quote\"><p>eBPF\u662f\u4e00\u79cd\u4f17\u6240\u5468\u77e5\u7684\u6280\u672f\uff0c\u7528\u4e8e\u4e3aDoS\u4fdd\u62a4\u548c\u53ef\u89c2\u5bdf\u6027\u7b49\u7528\u4f8b\u63d0\u4f9b\u53ef\u7f16\u7a0b\u6027\u548c\u654f\u6377\u6027\uff0c\u5c24\u5176\u662f\u7528\u4e8e\u6269\u5c55OS\u5185\u6838\u3002\u8be5\u9879\u76ee\u6b63\u5728\u8fdb\u884c\u4e2d\uff0c\u53ef\u4ee5\u5728Windows\u4e4b\u4e0a\u4f7f\u7528Linux\u751f\u6001\u7cfb\u7edf\u4e2d\u719f\u6089\u7684\u73b0\u6709eBPF\u5de5\u5177\u94fe\u548cAPI\u3002\u4e5f\u5c31\u662f\u8bf4\uff0c\u8be5\u9879\u76ee\u5c06\u73b0\u6709\u7684eBPF\u9879\u76ee\u4f5c\u4e3a\u5b50\u6a21\u5757\uff0c\u5e76\u5728\u4e24\u8005\u4e4b\u95f4\u6dfb\u52a0\u5c42\u4ee5\u4f7f\u5b83\u4eec\u5728Windows\u4e4b\u4e0a\u8fd0\u884c\u3002<\/p><\/blockquote>\n<p>\u8be5\u516c\u53f8\u5728\u6709\u5173\u8be5\u6280\u672f\u7684FAQ\u4e2d\u6307\u51fa\uff1a\u201c\u542f\u7528HVCI\u540e\uff0ceBPF\u7a0b\u5e8f\u5728\u89e3\u91ca\u6a21\u5f0f\u4e0b\u53ef\u4ee5\u6b63\u5e38\u5de5\u4f5c\uff0c\u4f46\u5728\u4f7f\u7528JIT\u7f16\u8bd1\u65f6\u5219\u4e0d\u80fd\u3002\u201d<\/p>\n<p>\u6709\u5173Windows\u4e0aeBPF\u7684\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u8bbf\u95ee\u8be5\u9879\u76ee\u7684<a href=\"https:\/\/github.com\/Microsoft\/ebpf-for-windows\" target=\"_blank\" rel=\"noreferrer noopener\">GitHub\u9875\u9762<\/a>\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5fae\u8f6f\u5df2\u7ecf\u542f\u52a8\u4e86\u4e00\u4e2a\u65b0\u9879\u76ee\uff0c\u65e8\u5728\u5c06Linux\u5185\u6838\u5de5\u5177eBPF\uff08Extended Berkeley Pa &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[2],"tags":[700],"class_list":["post-7729","post","type-post","status-publish","format-standard","hentry","category-zixun","tag-ebpf"],"aioseo_notices":[],"views":649,"_links":{"self":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/7729","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/comments?post=7729"}],"version-history":[{"count":1,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/7729\/revisions"}],"predecessor-version":[{"id":7731,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/7729\/revisions\/7731"}],"wp:attachment":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/media?parent=7729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/categories?post=7729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/tags?post=7729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}