TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

eBPF on Windows

294 pointsby praseodymabout 4 years ago

11 comments

tptacekabout 4 years ago
A fun detail of this work is that it uses a formal-methods-based verifier (designed outside of Microsoft) that accepts a wider range of programs than does the Linux verifier, which is itself kind of nightmare fuel.<p><a href="https:&#x2F;&#x2F;vbpf.github.io&#x2F;assets&#x2F;prevail-paper.pdf" rel="nofollow">https:&#x2F;&#x2F;vbpf.github.io&#x2F;assets&#x2F;prevail-paper.pdf</a><p>The verifier in this paper also has some biting limitations; for instance, you can&#x27;t resize a packet in it, because they don&#x27;t account for pointer invalidation. I wonder whether they&#x27;ve since implemented these verifier features, since they&#x27;d be problematic for compatibility otherwise.<p>Additionally, the PREVAIL paper explicitly doesn&#x27;t verify program termination, which is kind of a dealbreaker for kernel BPF.
评论 #27112411 未加载
评论 #27111997 未加载
评论 #27111954 未加载
hs86about 4 years ago
Here is a recent comment from Dropbox engineers about the state of tracing tooling on Linux compared to Windows: <a href="https:&#x2F;&#x2F;dropbox.tech&#x2F;infrastructure&#x2F;boosting-dropbox-upload-speed#debugging-with-microsoft" rel="nofollow">https:&#x2F;&#x2F;dropbox.tech&#x2F;infrastructure&#x2F;boosting-dropbox-upload-...</a><p>Is their assessment correct? If so, how comes that we got DTrace in 2019 and now eBPF ported to Windows? Are they trying to consolidate all tooling into one platform?
评论 #27111198 未加载
评论 #27117413 未加载
评论 #27117388 未加载
GordonSabout 4 years ago
Wow, I&#x27;m really stoked to see this!<p>This could be a game-changer for the infosec community in particular - now, if you want to get into internals, such as tracing file system and registry calls, you&#x27;ve got to write drivers. And drivers are very tricky to write, and it&#x27;s very easy to miss corner cases - which can result in the dreaded BSOD. Plus, drivers need to go through a verification and signing process by Microsoft.<p>Having access to that capability from user-mode, <i>without</i> having to write drivers... that would be amazing.
评论 #27111299 未加载
评论 #27115100 未加载
评论 #27114710 未加载
评论 #27110854 未加载
brendangreggabout 4 years ago
Great news, I&#x27;m looking forward to analyzing performance on Windows with BPF! Given that PerfView and WPA also got flame graphs it&#x27;ll start to feel like home. :-)
评论 #27111775 未加载
mad_villabout 4 years ago
I wonder how long until I can run cilium on my mixed node kubernetes clusters!
the_only_lawabout 4 years ago
I admittedly have only an extremely cursory knowledge of these sort of technologies, but how does eBPF compare to NDIS filters and WFP filters? Biggest reason I could imagine for this is easier portability of existing eBPF applications.
评论 #27110288 未加载
评论 #27110280 未加载
bostonsreabout 4 years ago
I wonder what kind of performance this gets when compared with running eBPF since eBPF was written with performance in mind from the start.
评论 #27110393 未加载
评论 #27110333 未加载
评论 #27109760 未加载
zwad3about 4 years ago
Is there any analogue of seccomp in windows that can be used with BPF?
评论 #27110325 未加载
coolspotabout 4 years ago
And that is, kids, how MS Windows piece-by-piece was slowly transformed into a Linux distro.
评论 #27110515 未加载
评论 #27110236 未加载
评论 #27109256 未加载
评论 #27110358 未加载
评论 #27110439 未加载
评论 #27109347 未加载
throwaway29303about 4 years ago
Pretty cool, but let&#x27;s not fool ourselves. Recall history or why Microsoft is doing this. This is a long-term strategy.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Embrace,_extend,_and_extinguish" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Embrace,_extend,_and_extinguis...</a>
评论 #27111405 未加载
gigatexalabout 4 years ago
Microsoft is really being bold about adopting open tech to improve either it’s bottom line (Azure now runs more Linux VMs than Windows ones) and now with eBPF. Truly a new and different Microsoft.
评论 #27127300 未加载