Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kmod-amneziawg: add new package #23632

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

leninalive
Copy link

Maintainer: me
Compile tested: x86_64, arm64
Run tested: x86_64, arm64, mipsle

Description:
AmneziaWG VPN kernel module makes it resource efficient to connect to Amnezia VPN services. It is the hardened version of WireGuard protocol that allows to change key WG header values and add junk to handshake.

@stangri
Copy link
Member

stangri commented Mar 13, 2024

@leninalive please fix the signed-of-by as it's failing test formalities check:

: Signed-off-by is missing or doesn't match author (should be 'Signed-off-by: Iurii Egorov <ye@amnezia.org>')
Error: Process completed with exit code 1.

Signed-off-by: Iurii Egorov <ye@amnezia.org>
Signed-off-by: Iurii Egorov <ye@amnezia.org>
@Alexey71
Copy link

Alexey71 commented Sep 29, 2024

Error build kmod-amneziawg. How fix?

make[3]: Entering directory '/home/alexey/openwrt-R4/package/kmod-amneziawg'
rm -f /home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/kmod-amneziawg-0.0.1/.built
touch /home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/kmod-amneziawg-0.0.1/.built_check
make -C "/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/linux-6.6.52" KCFLAGS="-fmacro-prefix-map=/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl=target-aarch64_cortex-a53_musl -fno-caller-saves " HOSTCFLAGS="-O2 -I/home/alexey/openwrt-R4/staging_dir/host/include -I/home/alexey/openwrt-R4/staging_dir/hostpkg/include -I/home/alexey/openwrt-R4/staging_dir/target-aarch64_cortex-a53_musl/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="aarch64-openwrt-linux-musl-" ARCH="arm64" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" KBUILD_BUILD_TIMESTAMP="Sat Sep 28 23:46:33 2024" KBUILD_BUILD_VERSION="0" KBUILD_HOSTLDFLAGS="-L/home/alexey/openwrt-R4/staging_dir/host/lib" CONFIG_SHELL="bash" V=''  cmd_syscalls= KBUILD_EXTRA_SYMBOLS="/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/symvers/gpio-button-hotplug.symvers" CC="aarch64-openwrt-linux-musl-gcc" KERNELRELEASE=6.6.52 M="/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/kmod-amneziawg-0.0.1" EXTRA_CFLAGS="" modules
make[4]: Entering directory '/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/linux-6.6.52'
  MODPOST /home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/kmod-amneziawg-0.0.1/Module.symvers
ERROR: modpost: "udp_sock_create4" [/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/kmod-amneziawg-0.0.1/amneziawg.ko] undefined!
ERROR: modpost: "udp_tunnel6_xmit_skb" [/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/kmod-amneziawg-0.0.1/amneziawg.ko] undefined!
ERROR: modpost: "udp_tunnel_sock_release" [/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/kmod-amneziawg-0.0.1/amneziawg.ko] undefined!
ERROR: modpost: "setup_udp_tunnel_sock" [/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/kmod-amneziawg-0.0.1/amneziawg.ko] undefined!
ERROR: modpost: "udp_sock_create6" [/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/kmod-amneziawg-0.0.1/amneziawg.ko] undefined!
ERROR: modpost: "udp_tunnel_xmit_skb" [/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/kmod-amneziawg-0.0.1/amneziawg.ko] undefined!
make[6]: *** [scripts/Makefile.modpost:145: /home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/kmod-amneziawg-0.0.1/Module.symvers] Error 1
make[5]: *** [/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/linux-6.6.52/Makefile:1873: modpost] Error 2
make[4]: *** [Makefile:234: __sub-make] Error 2
make[4]: Leaving directory '/home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/linux-6.6.52'
make[3]: *** [Makefile:47: /home/alexey/openwrt-R4/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/kmod-amneziawg-0.0.1/.built] Error 2
make[3]: Leaving directory '/home/alexey/openwrt-R4/package/kmod-amneziawg'
time: package/kmod-amneziawg/compile#0.50#0.12#0.82
    ERROR: package/kmod-amneziawg failed to build.
make[2]: *** [package/Makefile:177: package/kmod-amneziawg/compile] Error 1
make[2]: Leaving directory '/home/alexey/openwrt-R4'
make[1]: *** [package/Makefile:171: /home/alexey/openwrt-R4/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/alexey/openwrt-R4'
make: *** [/home/alexey/openwrt-R4/include/toplevel.mk:248: world] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants