Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265460 - net-firewall/ipp2p-0.8.2-r4: iptables: match "ipp2p" has version "1.4.3.2", but "libxtables.so.2" is required
Summary: net-firewall/ipp2p-0.8.2-r4: iptables: match "ipp2p" has version "1.4.3.2", b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Alin Năstac (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-08 16:17 UTC by manwe
Modified: 2009-04-25 11:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for kernel 2.6.29 (ipp2p-0.8.2-kernel-2.6.29.patch,11.76 KB, patch)
2009-04-08 16:19 UTC, manwe
Details | Diff
Updated iptables-1.4.3 patch. (ipp2p-0.8.2-iptables-1.4.3.patch,12.10 KB, patch)
2009-04-22 12:07 UTC, Paul Ezvan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description manwe 2009-04-08 16:17:56 UTC
Kernel zen-sources-2.6.29-r1. At first iptables was unable to load ipp2p: 

/lib64/xtables/libipt_ipp2p.so: /lib64/xtables/libipt_ipp2p.so: undefined symbol: exit_error
iptables v1.4.3.2: Couldn't load match `ipp2p':(null)

But this I've figured out (hopefully) with patch which I'll submit. But after that, iptables throws:

iptables: match "ipp2p" has version "1.4.3.2", but "libxtables.so.2" is required.

and I'm unable to figure this out. Lib libxtables.so.2 is in the system (symlink to /usr/lib64/libxtables.so.2.0.0).

Reproducible: Always

Steps to Reproduce:
# emerge ipp2p
# iptables -A FORWARD -d 192.168.1.2 -m ipp2p --ipp2p -j DROP




Portage 2.2_rc28 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-zen1-nyth-v5 x86_64)
=================================================================
System uname: Linux-2.6.29-zen1-nyth-v5-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-glibc2.2.5
Timestamp of tree: Tue, 07 Apr 2009 20:00:05 +0000
app-shells/bash:     4.0_p10-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.8
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ABI="amd64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ARCH="amd64"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CC="x86_64-pc-linux-gnu-gcc-4.3.3"
CDEFINE_amd64="__x86_64__"
CDEFINE_x86="__i386__"
CFLAGS="-O2 -pipe -march=native"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
CXX="x86_64-pc-linux-gnu-g++-4.3.3"
CXXFLAGS="-O2 -pipe -march=native"
DEFAULT_ABI="amd64"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose --ask --tree --keep-going"
EMERGE_WARNING_DELAY="10"
LDFLAGS="-Wl,--as-needed,-O1"
LDFLAGS_x86="-m elf_i386"
Comment 1 manwe 2009-04-08 16:19:43 UTC
Created attachment 187699 [details, diff]
Patch for kernel 2.6.29
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2009-04-10 22:26:50 UTC
Fixed in cvs without rev bumping.

Actually your patch makes ipp2p compatible with iptables-1.4.3, not with kernel-2.6.29.
Comment 3 Paul Ezvan 2009-04-22 12:06:22 UTC
The patch pushed in CVS doesn't resolve the issue "iptables: match "ipp2p" has version "1.4.3.2", but "libxtables.so.2" is
required.".
I'm joining an updated patch which solves the issue.
Comment 4 Paul Ezvan 2009-04-22 12:07:25 UTC
Created attachment 189150 [details, diff]
Updated iptables-1.4.3 patch.
Comment 5 Alin Năstac (RETIRED) gentoo-dev 2009-04-25 11:10:39 UTC
Fixed in cvs, without revision bump.