Latest Tech News

Stay updated with the latest in technology, AI, cybersecurity, and more

Filtered by: bpf Clear Filter

PythonBPF – Writing eBPF Programs in Pure Python

Introduction Python-BPF offers a new way to write eBPF programs entirely in Python, compiling them into real object files. This project is open-source and available on GitHub and PyPI. I wrote it alongside R41k0u. Published Library with Future Plans Python-BPF is a published Python library with plans for further development towards production-ready use. You can pip install pythonbpf but it’s certainly not at all production ready and the code is hacky at best with more bugs than I could count

Light Sleep: Waking VMs in 200ms with eBPF and snapshots

At Koyeb, we run a serverless platform for deploying production-grade applications on high-performance infrastructure—GPUs, CPUs, and accelerators. You push code or containers; we handle everything from build to global deployment, running workloads in secure, lightweight virtual machines on bare-metal servers around the world. Last week, we announced a major milestone in the ongoing journey of optimizing efficiency and cold starts: Light Sleep, which reduces cold starts to around 200ms for CPU

eBPF 101: Your First Step into Kernel Programming

eBPF has revolutionized Linux observability and security by allowing sandboxed programs to run in the kernel without changing kernel source code or loading modules I. What is this eBPF? It looks scary! Have you wanted to write programs that act as drivers for Linux? Wanted programs to run at a kernel level? Wanted to monitor events, internal resources and get better observability? All you need to know is how to make good use of Linux eBPF. eBPF is a technology in the Linux kernel that can run

Bouncing on trampolines to run eBPF programs

This blog post is the second installment in our eBPF blog post series, following our blog post about eBPF selftests. As eBP F is more and more used in the industry, eBPF kernel developers give considerable attention to eBPF performance: some standard use cases like system monitoring involve hundreds of eBPF programs attached to events triggered at high frequencies. It is then paramount to keep eBPF programs execution overhead as low as possible. This blog post aims to shed some light on an inte

KernelScript eBPF-centric programming language

KernelScript ⚠️ Beta Version Notice KernelScript is currently in beta development. The language syntax, APIs, and features are subject to change at any time without backward compatibility guarantees. This software is intended for experimental use and early feedback. Production use is not recommended at this time. A Domain-Specific Programming Language for eBPF-Centric Development KernelScript is a modern, type-safe, domain-specific programming language that unifies eBPF, userspace, and kernel

Implementing fast TCP fingerprinting with eBPF

In this article I want to document my journey implementing fast TCP fingerprinting in a golang webserver, using eBPF. Just to provide some background, TCP fingerprinting is one of the many techniques that can be used to detect unusual or identifying informations about a web request when implementing an anti-bot solution. This has been a hot topic lately, caused by the rising need to scrape the internet for human content to feeed to the LLMs. Implementing such a system offers interesting techn