Package Details: mimic-bpf 0.4.2-1

Git Clone URL: https://aur.archlinux.org/mimic-bpf.git (read-only, click to copy)
Package Base: mimic-bpf
Description: eBPF UDP -> TCP obfuscator
Upstream URL: https://github.com/hack3ric/mimic
Licenses: GPL-2.0-only
Submitter: hack3ric
Maintainer: hack3ric
Last Packager: hack3ric
Votes: 0
Popularity: 0.000000
First Submitted: 2024-03-16 06:31 (UTC)
Last Updated: 2024-05-24 13:44 (UTC)

Required by (0)

Sources (1)

Latest Comments

hack3ric commented on 2024-05-31 14:41 (UTC)

Also, CONFIG_DEBUG_INFO_BTF is enabled on linux-zen; you filtered all lines containing BPF, but this one is BTF instead:

$ zgrep BTF /proc/config.gz
CONFIG_VIDEO_SONY_BTF_MPX=m
CONFIG_DEBUG_INFO_BTF=y
CONFIG_PAHOLE_HAS_SPLIT_BTF=y
CONFIG_DEBUG_INFO_BTF_MODULES=y
# CONFIG_MODULE_ALLOW_BTF_MISMATCH is not set
CONFIG_PROBE_EVENTS_BTF_ARGS=y

hack3ric commented on 2024-05-31 14:34 (UTC)

@AveryFreeman Yes, the kernel module is used to work around checksum offload support. These kernel config is needed to run the eBPF part of the program. I'll probably add this to documentation :)

AveryFreeman commented on 2024-05-29 14:40 (UTC)

linux-zen has 2 out of 3 of the kernel build flags enabled by default - are the dkms modules necessary? Reference: https://github.com/hack3ric/mimic?tab=readme-ov-file#kernel-support

# requirements:
CONFIG_BPF_SYSCALL=y
CONFIG_BPF_SYSCALL=y
CONFIG_DEBUG_INFO_BTF=y

# analysis:
uname -r; zgrep BPF /proc/config.gz | egrep 'SYSCALL|JIT|DEBUG'
6.9.2-zen1-1-zen
CONFIG_HAVE_EBPF_JIT=y
CONFIG_ARCH_WANT_DEFAULT_BPF_JIT=y
CONFIG_BPF_SYSCALL=y
CONFIG_BPF_JIT=y
CONFIG_BPF_JIT_ALWAYS_ON=y
CONFIG_BPF_JIT_DEFAULT_ON=y