Skip to content

Commit a771291

Browse files
committed
CI build hopefully working
1 parent dabc50c commit a771291

File tree

5 files changed

+14
-25
lines changed

5 files changed

+14
-25
lines changed

.github/workflows/ci.yaml

+3-5
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ jobs:
2424
with:
2525
go-version: '1.22'
2626

27-
- name: Build
28-
run: make all
29-
30-
- name: Test
31-
run: go test -v ./...
27+
- name: Build Docker image
28+
run: |
29+
docker build . -t ebpf-network-vershitifier:latest

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ ADD . /app/
44
WORKDIR /app
55
RUN make clean
66
RUN make all
7-
ENTRYPOINT /app/docker-entrypoint.sh
7+
ENTRYPOINT /app/minderbinder
88

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Yossarian
1+
# Minderbinder
22

33
_"The enemy is anybody who's going to get you killed, no matter which side he's on."_
44

55
## What is this?
6-
Yossarian is a tool that uses eBPF to inject failures into running processes.
6+
Minderbinder is a tool that uses eBPF to inject failures into running processes.
77
Presently it can inject failures into **system calls** by attaching kprobes to the system call handler
88
and failures into **outgoing network traffic** by attaching traffic to the [TC subsystem](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/linux-traffic-control_configuring-and-managing-networking).

config.yaml

+7-16
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,9 @@ agents_of_chaos:
1515
ret_code: -2 # NOENT / no such file or directory
1616
targets:
1717
- process_name: curl
18-
#- process_id: 1234
19-
delay_ms: 100 # Milliseconds
18+
delay_ms: 100
2019
failure_rate: 100
2120

22-
# - name: break_wget_openat
23-
# syscall: openat
24-
# ret_code: -1
25-
# targets:
26-
# - process_name: wget
27-
# failure_rate: 100
2821

2922
- name: break_vim_file_opening
3023
syscall: open
@@ -38,14 +31,12 @@ agents_of_chaos:
3831
outgoing_network:
3932
- name: break_wget_network
4033
targets:
41-
#- process_id: 456
4234
- process_name: wget
43-
delay_ms: 100 # Milliseconds
35+
delay_ms: 100
4436
failure_rate: 100
4537

46-
incoming_network:
47-
- name: break_system_network
48-
delay_ms: 100 # Milliseconds
49-
failure_rate: 10
50-
51-
38+
- name: break_ping
39+
targets:
40+
- process_name: ping
41+
delay_ms: 100 # Try and let DNS through
42+
failure_rate: 50

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module ebpf-syscalls-stats
1+
module minderbinder
22

33
go 1.22
44

0 commit comments

Comments
 (0)