Skip to content

Commit

Permalink
eguard: doc patch
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskaliX committed Nov 13, 2023
1 parent 08ffe8c commit c945ca8
Show file tree
Hide file tree
Showing 4 changed files with 5,511 additions and 7,784 deletions.
18 changes: 5 additions & 13 deletions plugins/eguard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
> eguard is meant for the formal version of edr. This is based on libbpf-rs and will add BTFhub into this project.
> The tc ingress may impact on the hook already does, considering cgroup_skb in the future.
## Features

- [x] Ingress/Egress ACL
- [x] (Layer 4) TC-based ip restriction
- [x] (Layer 7) Dns-based restriction
- [ ] File access restriction
- [ ] Kernel exploit detection

## Quick start

Expand All @@ -26,13 +27,4 @@ For debugging usage, `make debug`

1. Why Rust

Nothing special. This would be easier if we use golang since edriver is already finished. Just want to try things differently, which means we may trans to golang if the libs of rust is not as good as we want.

2. What the features?

Several basic features which, I think, would be useful in real world. Detection is NOT the purpose of this plugin.

[x] (Layer 4) TC-based ip restriction
[x] (Layer 7) Dns-based restriction
[ ] File access restriction
[ ] Kernel exploit detection
Nothing special. This would be easier if we use golang since edriver is already finished. Just want to try things differently, which means we may trans to golang if the libs of rust is not as good as we expected.
6 changes: 5 additions & 1 deletion plugins/eguard/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@ dns:
domain: "grpc.hades.store"
- name: "eguard_egress_test_dns_1"
action: DENY
domain: "*.baidu.com"
domain: "*.baidu.com"
file:
- name: "file_test_1"
action: DENY
file: /etc/passwd
Loading

0 comments on commit c945ca8

Please sign in to comment.