ipt_xor
ipt_xor copied to clipboard
Broken on Debian 12
Hey,
I tried your kernel module, however it seems not to work on Debian 12 at all. It does compile, its slightly smaller, seems to load fine, however iptables is unhappy.
debian 11
rwxr-xr-x 1 root root 16960 Apr 2 15:16 /usr/lib/x86_64-linux-gnu/xtables/libxt_XOR.so
debian 12
rwxr-xr-x 1 root root 14864 Apr 1 16:23 /usr/lib/x86_64-linux-gnu/xtables/libxt_XOR.so
Debian 12 build
gcc -O2 -Wall -I../include -fPIC -c -o libxt_XOR.o libxt_XOR.c
libxt_XOR.c:119:13: warning: ‘_init’ defined but not used [-Wunused-function]
119 | static void _init(void)
| ^~~~~
gcc -shared -o libxt_XOR.so libxt_XOR.o
rm libxt_XOR.o
make -C /lib/modules/6.1.0-18-amd64/build M=$PWD;
make[1]: Entering directory '/usr/src/linux-headers-6.1.0-18-amd64'
CC [M] /tmp/ipt_xor/kernel/xt_XOR.o
MODPOST /tmp/ipt_xor/kernel/Module.symvers
CC [M] /tmp/ipt_xor/kernel/xt_XOR.mod.o
LD [M] /tmp/ipt_xor/kernel/xt_XOR.ko
BTF [M] /tmp/ipt_xor/kernel/xt_XOR.ko
Skipping BTF generation for /tmp/ipt_xor/kernel/xt_XOR.ko due to unavailability of vmlinux
Any ideas?