technote:ebpf_configuration
This is an old revision of the document!
Table of Contents
eBPF Configuration Tech Note
This page outlines how to configure and enable eBPF integration for TapeTrack Server on Linux systems. eBPF (Extended Berkeley Packet Filter) allows TapeTrack to dynamically manage IP-level blocking at the kernel level during the time-out period.
Prerequisites
Before enabling eBPF support, ensure the following:
- Linux kernel version 4.4 or later
- Root or sudo privileges
- TapeTrack Server binary supports the `-B` argument
- A preloaded eBPF table is available and accessible
Setup
Create or Load an eBPF Table
Use your preferred method to create an eBPF table that supports IP filtering. This may involve:
- Using `bpftool` or `tc` to define a map
- Preloading the table with default values
- Ensuring the table is accessible to the TapeTrack Server process
Example: ```bash bpftool map create /sys/fs/bpf/tapetrack_block_map type hash key 4 value 4 entries 1024 name tapetrack_block_map
technote/ebpf_configuration.1759459455.txt.gz · Last modified: 2025/10/03 02:44 by Scott Cunliffe