Closed GoogleCodeExporter closed 9 years ago
Issue 120 has been merged into this issue.
Original comment by yingyingcui.scholarzhang@gmail.com
on 17 Oct 2010 at 6:08
内核的netfilter部分变动挺快的,这个就是把Xtables-addons套装拿
来改了一下,核心文件就几个,当时是1.22,现在xtables-addons��
�1.30了,这就是问题所在。估计liruqi在弄这个吧?交给他了。
Original comment by yingyingcui.scholarzhang@gmail.com
on 17 Oct 2010 at 6:12
hi, I've create a patch, please test it.
http://pastebin.com/wE52WbbF
Original comment by tewil...@gmail.com
on 17 Oct 2010 at 1:42
[deleted comment]
Can you test revision r105?
Original comment by yingyingcui.scholarzhang@gmail.com
on 18 Oct 2010 at 3:22
Hi, sorry for test it late.
now I can compile the package successfully.
But when run the iptables bla bla.
I get errors as below:
/usr/lib/iptables/libxt_ZHANG.so: libxtables.so.4: cannot open shared object
file: No such file or directory
/usr/lib/iptables/libxt_ZHANG.so: libxtables.so.4: cannot open shared object
file: No such file or directory
iptables v1.4.9: Couldn't load target
`ZHANG':/usr/lib/iptables/libipt_ZHANG.so: cannot open shared object file: No
such file or directory
Try `iptables -h' or 'iptables --help' for more information.
/usr/lib/iptables/libxt_CUI.so: libxtables.so.4: cannot open shared object
file: No such file or directory
/usr/lib/iptables/libipt_CUI.so: libxtables.so.4: cannot open shared object
file: No such file or directory
/usr/lib/iptables/libxt_CUI.so: libxtables.so.4: cannot open shared object
file: No such file or directory
/usr/lib/iptables/libipt_CUI.so: libxtables.so.4: cannot open shared object
file: No such file or directory
iptables v1.4.9: Couldn't load target `CUI':(null)
Try `iptables -h' or 'iptables --help' for more information.
/usr/lib/iptables/libxt_gfw.so: libxtables.so.4: cannot open shared object
file: No such file or directory
/usr/lib/iptables/libipt_gfw.so: libxtables.so.4: cannot open shared object
file: No such file or directory
iptables v1.4.9: Couldn't load match `gfw':(null)
Try `iptables -h' or 'iptables --help' for more information.
/usr/lib/iptables/libxt_gfw.so: libxtables.so.4: cannot open shared object
file: No such file or directory
/usr/lib/iptables/libipt_gfw.so: libxtables.so.4: cannot open shared object
file: No such file or directory
iptables v1.4.9: Couldn't load match `gfw':(null)
=============================================================
I searched in other issues then make symbollink from libxt_ZHANG to
libipt_ZHANG,
from libxt_CUI to libipt_CUI, and so on.
Then the error seems changed:
Try `ipset -H' or 'ipset --help' for more information.
/usr/lib/iptables/libxt_ZHANG.so: libxtables.so.4: cannot open shared object
file: No such file or directory
/usr/lib/iptables/libxt_ZHANG.so: libxtables.so.4: cannot open shared object
file: No such file or directory
iptables v1.4.9: Couldn't load target
`ZHANG':/usr/lib/iptables/libipt_ZHANG.so: cannot open shared object file: No
such file or directory
Try `iptables -h' or 'iptables --help' for more information.
/usr/lib/iptables/libxt_CUI.so: libxtables.so.4: cannot open shared object
file: No such file or directory
/usr/lib/iptables/libipt_CUI.so: libxtables.so.4: cannot open shared object
file: No such file or directory
/usr/lib/iptables/libxt_CUI.so: libxtables.so.4: cannot open shared object
file: No such file or directory
/usr/lib/iptables/libipt_CUI.so: libxtables.so.4: cannot open shared object
file: No such file or directory
iptables v1.4.9: Couldn't load target `CUI':(null)
Try `iptables -h' or 'iptables --help' for more information.
/usr/lib/iptables/libxt_gfw.so: libxtables.so.4: cannot open shared object
file: No such file or directory
/usr/lib/iptables/libipt_gfw.so: libxtables.so.4: cannot open shared object
file: No such file or directory
iptables v1.4.9: Couldn't load match `gfw':(null)
====================================================================
I searched in my /usr/lib/. there is no libxtables.so.4 but libxtables.so.5.
Trying symbollink from libxtables.so.5 to libxtables.so.4 doesn't work.
iptables: target "ZHANG" has version "libxtables.so.4", but "libxtables.so.5"
is required.
iptables: target "CUI" has version "libxtables.so.4", but "libxtables.so.5" is
required.
iptables: match "gfw" has version "libxtables.so.4", but "libxtables.so.5" is
required.
iptables: match "gfw" has version "libxtables.so.4", but "libxtables.so.5" is
required.
======================================================================
I'm using archlinux with kernel 2.6.35 ,iptables 1.4.9, and ipset 4.4. Sorry
for the poor typesetting.
Original comment by QiuWei1...@gmail.com
on 20 Oct 2010 at 12:14
[deleted comment]
fixed by r105
Original comment by yingyingcui.scholarzhang@gmail.com
on 23 Oct 2010 at 7:23
I got the similar error:
iptables: target "ZHANG" has version "libxtables.so.2", but "libxtables.so.5"
is required.
....
I have compiled iptables 1.4.10 and xtables-addons 1.34, recompile web-chamber
doesn't work, is there any solution for it?
Original comment by ubunt...@gmail.com
on 10 Apr 2011 at 4:28
> iptables: target "ZHANG" has version "libxtables.so.2", but "libxtables.so.5"
is required.
This means you need to update the version of your iptables.
Original comment by kiz...@gmail.com
on 17 Sep 2011 at 1:57
Original comment by kiz...@gmail.com
on 17 Sep 2011 at 2:42
Original issue reported on code.google.com by
QiuWei1...@gmail.com
on 23 Aug 2010 at 6:38