bcc
tiny-snitch
Our great sponsors
bcc | tiny-snitch | |
---|---|---|
71 | 9 | |
19,404 | 63 | |
2.2% | - | |
9.2 | 3.1 | |
7 days ago | 3 months ago | |
C | Go | |
Apache License 2.0 | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bcc
-
eBPF: Unleashing Kernel Magic for Modern Infrastructure
But wait, there's more! Enter the BCC toolkit and library, your trusty sidekick in simplifying the arcane art of writing eBPF applications. With BCC by your side, you'll be wielding eBPF like a seasoned pro in no time.
-
Linux: Easy Keylogger with eBPF (2018)
Nice - I normally use [bash-readline](https://github.com/iovisor/bcc/blob/master/tools/bashreadlin...) when coworking/co-inhabiting a server or training someone.
-
eBPF Documentary
One of the big wins is not so much “build and run your own stuff” but there are very nice low-cost (in terms of compute) performance utilities built on eBPF
https://github.com/iovisor/bcc
There are so many utilities in that list; there’s a diagram midway down the readme which tries to help show their uses. bcc-tools should be available in any distro.
Also, Brendan Gregg does a ton of performance stuff that is worth knowing about if you check out his other work. Not eBPF only. Flame graphs are useful.
- Bpftop: Streamlining eBPF performance optimization
-
eBPF Tutorial by Example 16: Monitoring Memory Leaks
Reference: https://github.com/iovisor/bcc/blob/master/libbpf-tools/memleak.c
- eBPF Tutorial by Example 9: Capturing Scheduling Latency and Recording as Histogram
-
Uprobes Siblings - Capturing HTTPS Traffic: A Rust and eBPF Odyssey
In this article, we'll build a basic version of an HTTPS sniffer, inspired by bcc-sslsniff.py, but we'll use Rust and Aya. We're going to demonstrate the capabilities of uprobes by employing uprobe and uretprobe along with familiar maps like PerCpuArray, HashMap, and PerEventArray. This will be a straightforward example to help us explore how uprobes function.
-
Issue XDP_REDIRECT on other interface in the same namespace
As xpd program I am using the BCC example xdp_redirect_map.py in skb mode as my NIC does not support native mode, attaching the program to veth2 and a dummy function to veth3
-
Linux runtime security agent powered by eBPF
https://github.com/iovisor/bcc/blob/master/docs/reference_gu...
- eBPF Practical Tutorial: Capturing SSL/TLS Plain Text Data Using uprobe
tiny-snitch
-
OpenSnitch is a GNU/Linux port of the Little Snitch application firewall
i use a kind of tui. it is actually a gui, pops up fullscreen. you can’t click it though, just keypress interaction.
i agree with you. especially if i’m filtering all traffic, i need to be able to y/n quickly and easily.
https://github.com/nathants/tinysnitch#demo
-
Switch to VPC Endpoints from NAT Gateways to Reduce Bandwidth Charges
the libnetfilterqueue setup i use locally is here: https://github.com/nathants/tinysnitch
- an interactive firewall for inbound and outbound connections
- Show HN: An interactive firewall for inbound and outbound connections
- Ask HN: Have you created programs for only your personal use?
- Chrome 0day is being exploited now for CVE-2022-1096; update immediately
-
Wayland Keylogger (2021)
> There isn't even a single decent dynamic firewall with those annoying popups.
even benign apps that phone home like pulumi and terraform are fun to see and block with annoying popups.
monitoring egress really is the only realistic play. i rolled my own[1], inspired by opensnitch[2].
netfilter_queue is really great, and definitely makes annoying popup dynamic firewalls possible.
1. https://github.com/nathants/tinysnitch
What are some alternatives?
libbpf - Automated upstream mirror for libbpf stand-alone build.
opensnitch - OpenSnitch is a GNU/Linux interactive application firewall inspired by Little Snitch.
bpftrace - High-level tracing language for Linux eBPF [Moved to: https://github.com/bpftrace/bpftrace]
wayland-keylogger - Proof-of-concept Wayland keylogger
ebpf-for-windows - eBPF implementation that runs on top of Windows
refpolicy - SELinux Reference Policy v2
zfs - OpenZFS on Linux and FreeBSD
nitter - Alternative Twitter front-end
linux - Linux kernel source tree
place
nokogiri-rust - Ruby FFI wrapper around scraper crate to be used instead of Nokogiri. Status: proof of concept.
epanet-js - Model a water distribution network in JavaScript using the OWA-EPANET engine