Sysdig
dotfiles
Our great sponsors
Sysdig | dotfiles | |
---|---|---|
10 | 12 | |
7,593 | - | |
1.0% | - | |
8.5 | - | |
11 days ago | - | |
C++ | ||
GNU General Public License v3.0 or later | - |
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.
Sysdig
-
Introducing Flora: Newly launched eBPF observability solution with near-zero resource overhead, for optimal performance in modern cloud-native environments
Also, have you already looked at sysdig? I don't think they're exactly tracing focused, but they've been around a long time and the times I've tried it locally it's been neat
-
Problem building the scap kernel module for sysdig
Seems like sysdig has some problems with newever kernels [1]. Also, the version in the repos should probably be updated (xbps: 28.0, upstream: 30.0). Maybe updating it would even solve the issue.
- How to automate container syscall profiling
-
Sysdig VS ThreatMapper - a user suggested alternative
2 projects | 11 Apr 2022
-
Systemd service sandboxing and security hardening 101
FWIU, e.g. sysdig is justified atop whichever MAC system.
In the SELinux MAC system on RHEL and Debian, in /etc/config/selinux, you have SELINUXTYPE=minimal|targeted|mls. RHEL (CentOS and Rocky Linux) and Fedora have SELINUXTYPE=targeted out-of-the-box. The compiled rulesets in /etc/selinux/targeted are generated when
With e.g gnome-system-monitor on a machine with SELINUX=permissive|enforcing, you can right-click the column header in the process table to also display the 'Security context' column that's also visible with e.g. `ps -Z`. The stopdisablingselinux video is a good SELinux tutorial.
I'm out of date on Debian/Ubuntu's policy set, which could also probably almost just be sed'ed from the current RHEL policy set.
> * SELinux is deny by default, while in systemd you're playing whack-a-mole anyway, and are expected to add directives one by one until the application stops working. Unit logs usually make it obvious if something was denied.*
DENY if not unconfined is actually the out-of-the-box `targeted` config on RHEL and Fedora. For example, Firefox and Chrome currently run as unconfined processes. While decent browsers do do their own process sandboxing, SELinux and/or AppArmor and/or 'containers' with a shared X socket file (and drop-privs and setcap and cgroups and namespaces fwtw) are advisable atop really any process sandboxing?
Given that the task is to generate a hull of rules that allow for the observed computational workload to complete with least-privileges, if you enable like every rule and log every process hitting every rung on the way down while running integration tests that approximate the workload, you should end up with enough rule violations in the log to even dumbly generate a rule/policy set without the application developer's expertise around to advise on potential access violations to allow.
From https://github.com/draios/sysdig :
> "Sysdig instruments your physical and virtual machines at the OS level by installing into the Linux kernel and capturing system calls and other OS events. Sysdig also makes it possible to create trace files for system activity, similarly to what you can do for networks with tools like tcpdump and Wireshark.
Probably also worth mentioning: "[BETA] Auditing Sysdig Platform Activities"
-
Does anyone here use sysdig? What are your thoughts?
I'm about to go on an interview with them I am curious if anyone here uses sysdig on an enterprise level and what your thoughts are on their product? It's totally open source and looks awesome from what I can tell so far.
-
Arch and Debian
This https://github.com/draios/sysdig/wiki/How-to-Install-Sysdig-for-Linux
-
Ask HN: What’s your favorite free, self-hosted monitoring dashboard?
DO offers metrics directly from the Dash, just sayin.
Also, https://github.com/draios/sysdig
-
2020, the year of unexpectedness
fix(driver/bpf): exact check on bpf_probe_read_str() return value #1612
dotfiles
-
Silverblue container users: what does your environment look like?
Oh you'd still use a Git repository (e.g. like I do here), stow just takes care of creating the necessary symbolic links (and skipping those that already exist).
-
NPM malware and what it could imply for Cargo
I experimented a bit with running rust-analyzer under Bubblewrap when using it through NeoVim's LSP integration (see here). Overall it's doable, but it's a tedious process of finding out what needs to write and where, what capabilities you need, etc. I don't see this seeing adoption unless it becomes a first-class feature of the tool in question.
-
Systemd service sandboxing and security hardening 101
You can also use Bubblewrap, but getting it up and running requires a lot more fiddling around. For example, this is what I use to isolate Zoom from the rest of my system: https://gitlab.com/yorickpeterse/dotfiles/-/blob/0a0492c78b6...
In my case I'm using Bubblewrap because Firejail was only used for Zoom, and this felt a bit of a waste considering Bubblewrap was already installed.
-
What do you use the tabline for?
This is implemented using some custom Lua code.
- Lists of lua-based nvim config files?
-
Is there a way to set abbreviations through lua?
There's no first-class API for this. I use this setup. This is OK, though I only have two abbreviations, and it does feel a bit overkill for just that.
-
When using the terminal emulator and opening a file within a terminal emulator, open it instead in a new buffer.
I've been using neovim-remote for quite some time, and it works perfectly fine. Here is what I use to open NeoVim as usual outside of an existing NeoVim session, and inside the existing session whenever I run nvim from NeoVim's terminal emulator.
-
neovim lsp - how do you get diagnostic mesages to show at the bottom instead of in-line?
You can use this code I wrote for that. You then hook it up like this.
-
Which one would you rather use for completion?
Adjust the icons LSP uses for various symbol types like this. If you leave this out, you need to adjust these lines to use the correct text/icons instead.
-
Neovim 0.5 Is Overpowering
The documentation is there, but it's a bit lacking/confusing here and there. It's also mostly foundational work, and you still need to cobble things together (either manually or using a plugin).
With that said, you can build things quite nicely with it. For example, I have a custom linter setup, custom loclist/quickfix list formatting and populating from LSP data, and a bunch of other things; all using the foundational work coming in NeoVim 0.5.
If anybody is curious, you can find my NeoVim configuration here: https://gitlab.com/yorickpeterse/dotfiles/-/tree/master/dotf...
p.s. In case anybody wonders "why Lua?", for me this mostly comes down to this: I hate Lua, but I hate Vimscript even more.
What are some alternatives?
Wireshark - Read-only mirror of Wireshark's Git repository at https://gitlab.com/wireshark/wireshark. ⚠️ GitHub won't let us disable pull requests. ⚠️ THEY WILL BE IGNORED HERE ⚠️ Upload them at GitLab instead.
nvim-autopairs - autopairs for neovim written in lua
perf-tools - Performance analysis tools based on Linux perf_events (aka perf) and ftrace
NeoVim-config - My neovim config written in Lua!
httpstat - curl statistics made simple
completion-nvim - A async completion framework aims to provide completion to neovim's built in LSP written in Lua
mitmproxy - An interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers.
asyncomplete.vim - async completion in pure vim script for vim8 and neovim
mtr - Official repository for mtr, a network diagnostic tool
config_manager - My configuration files and tools
Dripcap
vim-vsnip - Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.