Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kwakubiney/inferno

Firewall built with eBPF
https://github.com/kwakubiney/inferno

ebpf

Last synced: 14 days ago
JSON representation

Firewall built with eBPF

Awesome Lists containing this project

README

        

# inferno
Firewall built with eBPF and Go.

# Inspiration
- [When you need to overcome your fear and build your own data-driven eBPF firewall](https://www.youtube.com/watch?v=b7zEnP9W-Cw)

# Usage

- Run `sudo apt-get install libbpf-dev` to get the necessary header files

- Build with `make`

- Run `./fw add --i ` to block ingress traffic from specified IP address

- Run `./fw add --e ` to block egress traffic to specified IP address

- Run `./fw remove --i ` to allow ingress traffic from specified IP address

- Run `./fw remove --e ` to allow egress traffic to specified IP address

- Run `make clean` to unload the eBPF program