<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ubpf on Shai Asher</title><link>https://slow-is-smooth.io/tags/ubpf/</link><description>Recent content in Ubpf on Shai Asher</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Sun, 30 Oct 2022 09:00:00 +0200</lastBuildDate><atom:link href="https://slow-is-smooth.io/tags/ubpf/index.xml" rel="self" type="application/rss+xml"/><item><title>eBPF on Windows, the First Year</title><link>https://slow-is-smooth.io/blog/ebpf-on-windows-the-first-year/</link><pubDate>Sun, 30 Oct 2022 09:00:00 +0200</pubDate><guid>https://slow-is-smooth.io/blog/ebpf-on-windows-the-first-year/</guid><description>&lt;p&gt;On a Hyper-V virtual machine running Windows 11 with test signing on, I installed eBPF for&#10;Windows v0.5.0, wrote a small BPF program in C, compiled it with clang, and loaded it into the&#10;Windows kernel. It counted the socket binds made by each process, from inside the kernel, with no&#10;reboot. The same clang that builds BPF for Linux built this; the same libbpf function names loaded&#10;it. And when I deleted a NULL check, the program was rejected before it ran, exactly as on Linux,&#10;except that the verifier doing the rejecting was not in the kernel at all. It was a user-mode&#10;Windows service, and it had proved the program safe by a completely different method.&lt;/p&gt;</description></item></channel></rss>