https://github.com/adilcan/dropify
Simple eBPF packet dropper
https://github.com/adilcan/dropify
Last synced: 4 months ago
JSON representation
Simple eBPF packet dropper
- Host: GitHub
- URL: https://github.com/adilcan/dropify
- Owner: adilcan
- License: apache-2.0
- Created: 2025-02-14T17:08:07.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-02-14T18:43:49.000Z (4 months ago)
- Last Synced: 2025-02-14T19:33:36.720Z (4 months ago)
- Language: Go
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dropify - eBPF Packet Dropper
Please note that this project is still work in progress, and it shouldn't be used in a production environment.
This project uses eBPF and Go to drop all packets on a specified network interface using Traffic Control (TC).
## Prerequisites
- Linux kernel with eBPF support
- Go 1.18+## Installation & Usage
### 1. Clone
```sh
git clone https://github.com/yourusername/ebpf-drop-packets.git
cd ebpf-drop-packets
```### 2. Running
```sh
go run main.go -iface eth0
```
Replace eth0 with your interface.