MetPX / MetPX/sarrac

libshim wrapper around containers using bpf?

Open
#146 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
4
Forks
1
Avg merge
5d 1h
Merged PRs (30d)
1

Description

while we can intercept calls using a shim library in programs running on a traditional linux server, sometimes code arrives that meant to be deployed as an opaque binary container. It could be impractical to insert the shared library into containers like that, and it might be a lot more elegant to use container mechanisms instead.

reading materials:

* https://kinvolk.io/blog/2022/03/bringing-seccomp-notify-to-runc-and-kubernetes/
* https://www.man7.org/linux/man-pages/man2/seccomp.2.html

So... the gist is that we might be able to use bpf filtering around containers, usually used for security, to intercept calls to underlying disks, and map the calls to the existing libsr3shim, or something very like it, to create posts of files written by the container.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the linked seccomp and seccomp-notify materials, then inspect the existing libsr3shim implementation. Determine whether container system-call filtering can intercept writes and connect them to the existing shim behavior. Done means a demonstrated approach for creating posts of files written by an opaque container.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
operating-systems, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.