Moin,
Ich versuche schon seit einer weile geoip für iptables zum laufen zu bekommen.
Aber irgendwie motzt er immer rum mit dem Header.
Viell hat ja jemand noch eine Lösung parat oder kann mir sagen welcher Kernel mit xtables wieder läuft
Hier mal das Log:
Edit:
Versionen:
Ich versuche schon seit einer weile geoip für iptables zum laufen zu bekommen.
Aber irgendwie motzt er immer rum mit dem Header.
Viell hat ja jemand noch eine Lösung parat oder kann mir sagen welcher Kernel mit xtables wieder läuft
Hier mal das Log:
Code:
root@host /usr/src # module-assistant --verbose --text-mode auto-install xtables-addons
xtables-addons
Updating info about xtables-addons-source
Updated infos about 1 packages
Getting source for kernel version: 4.15.17-3-pve
Kernel headers available in /usr/src/linux-headers-4.15.17-3-pve
Creating symlink...
apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Done!
unpack
Removing old /usr/src/modules/xtables-addons/ tree
rm -rf /usr/src/modules/xtables-addons
Extracting the package tarball, /usr/src/xtables-addons.tar.bz2, please wait...
tar --bzip2 -x -f /usr/src/xtables-addons.tar.bz2
"/usr/share/modass/packages/default.sh" build KVERS=4.15.17-3-pve KSRC=/usr/src/linux kdist_image
debian/rules kdist_clean
/usr/bin/make -C /usr/src/linux M=/usr/src/modules/xtables-addons/extensions XA_ABSTOPSRCDIR=/usr/src/modules/xtables-addons XA_TOPSRCDIR=/usr/src/modules/xtables-addons DEPMOD=/bin/true clean
make[1]: Entering directory '/usr/src/linux-headers-4.15.17-3-pve'
make[1]: Leaving directory '/usr/src/linux-headers-4.15.17-3-pve'
dh_prep
dh_clean
debian/rules KVERS=4.15.17-3-pve KSRC=/usr/src/linux kdist_image
/usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory '/usr/src/modules/xtables-addons'
/usr/bin/make -C /usr/src/linux M=/usr/src/modules/xtables-addons/extensions XA_ABSTOPSRCDIR=/usr/src/modules/xtables-addons XA_TOPSRCDIR=/usr/src/modules/xtables-addons DEPMOD=/bin/true clean
make[2]: Entering directory '/usr/src/linux-headers-4.15.17-3-pve'
make[2]: Leaving directory '/usr/src/linux-headers-4.15.17-3-pve'
dh_prep
dh_clean
for templ in ; do \
cp $templ `echo $templ | sed -e 's/_KVERS_/4.15.17-3-pve/g'` ; \
done
for templ in `ls debian/*.modules.in` ; do \
test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \
sed -e 's/##KVERS##/4.15.17-3-pve/g ;s/#KVERS#/4.15.17-3-pve/g ; s/_KVERS_/4.15.17-3-pve/g ; s/##KDREV##//g ; s/#KDREV#//g ; s/_KDREV_//g ' < $templ > ${templ%.modules.in}; \
done
dh binary-arch
dh_testdir -a
dh_update_autotools_config -a
dh_auto_configure -a
debian/rules override_dh_auto_build
make[2]: Entering directory '/usr/src/modules/xtables-addons'
dh_auto_build -- -C /usr/src/linux M=/usr/src/modules/xtables-addons/extensions XA_ABSTOPSRCDIR=/usr/src/modules/xtables-addons XA_TOPSRCDIR=/usr/src/modules/xtables-addons DEPMOD=/bin/true
make -j1 -C /usr/src/linux M=/usr/src/modules/xtables-addons/extensions XA_ABSTOPSRCDIR=/usr/src/modules/xtables-addons XA_TOPSRCDIR=/usr/src/modules/xtables-addons DEPMOD=/bin/true
make[3]: Entering directory '/usr/src/linux-headers-4.15.17-3-pve'
CC [M] /usr/src/modules/xtables-addons/extensions/compat_xtables.o
CC [M] /usr/src/modules/xtables-addons/extensions/xt_CHAOS.o
CC [M] /usr/src/modules/xtables-addons/extensions/xt_DELUDE.o
CC [M] /usr/src/modules/xtables-addons/extensions/xt_DHCPMAC.o
CC [M] /usr/src/modules/xtables-addons/extensions/xt_DNETMAP.o
/usr/src/modules/xtables-addons/extensions/xt_DNETMAP.c: In function ‘dnetmap_tg’:
/usr/src/modules/xtables-addons/extensions/xt_DNETMAP.c:380:2: error: implicit declaration of function ‘NF_CT_ASSERT’ [-Werror=implicit-function-declaration]
NF_CT_ASSERT(hooknum == NF_INET_POST_ROUTING ||
^~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:331: recipe for target '/usr/src/modules/xtables-addons/extensions/xt_DNETMAP.o' failed
make[4]: *** [/usr/src/modules/xtables-addons/extensions/xt_DNETMAP.o] Error 1
Makefile:1552: recipe for target '_module_/usr/src/modules/xtables-addons/extensions' failed
make[3]: *** [_module_/usr/src/modules/xtables-addons/extensions] Error 2
make[3]: Leaving directory '/usr/src/linux-headers-4.15.17-3-pve'
dh_auto_build: make -j1 -C /usr/src/linux M=/usr/src/modules/xtables-addons/extensions XA_ABSTOPSRCDIR=/usr/src/modules/xtables-addons XA_TOPSRCDIR=/usr/src/modules/xtables-addons DEPMOD=/bin/true returned exit code 2
debian/rules:51: recipe for target 'override_dh_auto_build' failed
make[2]: *** [override_dh_auto_build] Error 2
make[2]: Leaving directory '/usr/src/modules/xtables-addons'
debian/rules:48: recipe for target 'binary-modules' failed
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory '/usr/src/modules/xtables-addons'
/usr/share/modass/include/common-rules.make:56: recipe for target 'kdist_build' failed
make: *** [kdist_build] Error 2
BUILD FAILED!
See /var/cache/modass/xtables-addons-source.buildlog.4.15.17-3-pve.1529326287 for details.
Build failed. Press Return to continue...
Edit:
Versionen:
Code:
root@host ~ # pveversion -v
proxmox-ve: 5.2-2 (running kernel: 4.15.17-3-pve)
pve-manager: 5.2-2 (running version: 5.2-2/b1d1c7f4)
pve-kernel-4.15: 5.2-3
pve-kernel-4.13: 5.1-45
pve-kernel-4.15.17-3-pve: 4.15.17-12
pve-kernel-4.13.16-3-pve: 4.13.16-49
pve-kernel-4.13.13-6-pve: 4.13.13-42
corosync: 2.4.2-pve5
criu: 2.11.1-1~bpo90
glusterfs-client: 3.8.8-1
ksm-control-daemon: not correctly installed
libjs-extjs: 6.0.1-2
libpve-access-control: 5.0-8
libpve-apiclient-perl: 2.0-4
libpve-common-perl: 5.0-33
libpve-guest-common-perl: 2.0-16
libpve-http-server-perl: 2.0-9
libpve-storage-perl: 5.0-23
libqb0: 1.0.1-1
lvm2: 2.02.168-pve6
lxc-pve: 3.0.0-3
lxcfs: 3.0.0-1
novnc-pve: 1.0.0-1
proxmox-widget-toolkit: 1.0-19
pve-cluster: 5.0-27
pve-container: 2.0-23
pve-docs: 5.2-4
pve-firewall: 3.0-12
pve-firmware: 2.0-4
pve-ha-manager: 2.0-5
pve-i18n: 1.0-6
pve-libspice-server1: 0.12.8-3
pve-qemu-kvm: 2.11.1-5
pve-xtermjs: 1.0-5
qemu-server: 5.0-28
smartmontools: 6.5+svn4324-1
spiceterm: 3.0-5
vncterm: 1.5-3
Last edited: