ebpfsnitch

Linux Application Level Firewall based on eBPF and NFQUEUE. (by harporoeder)

Ebpfsnitch Alternatives

Similar projects and alternatives to ebpfsnitch

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better ebpfsnitch alternative or higher similarity.

ebpfsnitch reviews and mentions

Posts with mentions or reviews of ebpfsnitch. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-02.
  • Notes on BPF and eBPF
    2 projects | news.ycombinator.com | 2 Jan 2022
    BPF is indeed a pretty interesting technology. As the knowledge about it becomes more widespread, I anticipate that we will unlock some new capabilities both in terms of tracing. Brendan Gregg's book (https://www.brendangregg.com/bpf-performance-tools-book.html) serves as a good intro to this, although you probably only need to read a small chunk of it as a lot of it is reference-book-style material.

    The author's mentioned that you can trace MySQL with USDT, which is a tracepoint inserted by the developer at select locations in the code. Unfortunately, this feature has been removed in MySQL 8.0. This makes it significantly more difficult to trace MySQL, although it's not impossible. I've done a proof of concept of this in this repo with uprobe[1], which indeed allow you to hook into any userspace function. This is not stable tho, as any MySQL upgrade risks incompatibilities, while USDT would be stable. My appeal to Oracle to re-add this functionality[2] has been unfortunately rejected, which I think is a mistake.

    [1]: https://github.com/shuhaowu/mysqld-bpf

    [2]: https://bugs.mysql.com/bug.php?id=105741

    Another thing that I've been recently thinking of is using BPF to validate programs written for real-time Linux (via PREEMPT_RT). To my understanding, one of the main thing to avoid is page faults [3]. With the proper BPF tracing scripts, I think we can validate that programs indeed avoids page faults in integration testing. I'm not sure if it is super useful yet, but as I'm trying to write a few RT programs, it's something that came to my mind.

    [3]: https://lwn.net/Articles/837019/

    In addition to tracing (so bpftrace-based/bcc-based tools), I've recently discovered that there there are:

    1. ebpfsnitch (https://github.com/harporoeder/ebpfsnitch): which is an application-level firewall without kernel modules.

    2. ebpf-traffic-monitor (https://source.android.com/devices/tech/datausage/ebpf-traff...): which appears to be using BPF to account for traffic for different apps on Android.

    There are apparently also use cases in the context of security, but I'm not familiar with it.

  • Little Snitch Linux Alternative
    2 projects | /r/linux | 3 Sep 2021
    Doesn't look like it's updated any more but there is eBPFSnitch
  • Landlock merged in mainline for Linux 5.13
    3 projects | news.ycombinator.com | 19 May 2021
    There is a sort of opensnitch based on ebpf but not sure is fully feature completed as you intended:

    https://github.com/harporoeder/ebpfsnitch

  • eBPFSnitch - Linux Application Level Firewall based on eBPF and NFQUEUE
    1 project | /r/coolgithubprojects | 17 Mar 2021
  • harporoeder/ebpfsnitch
    1 project | /r/devopsish | 15 Mar 2021
  • EBPFSnitch: An eBPF based Linux Application Firewall
    1 project | /r/linux | 15 Mar 2021
    1 project | /r/patient_hackernews | 14 Mar 2021
    1 project | /r/hackernews | 14 Mar 2021
  • EBPFSnitch: An eBPF Based Linux Application Firewall
    3 projects | news.ycombinator.com | 14 Mar 2021
  • A note from our sponsor - SaaSHub
    www.saashub.com | 29 Apr 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic ebpfsnitch repo stats
9
687
0.0
6 months ago

harporoeder/ebpfsnitch is an open source project licensed under BSD 3-clause "New" or "Revised" License which is an OSI approved license.

The primary programming language of ebpfsnitch is C++.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com