MRchildNEO / scholarzhang

Automatically exported from code.google.com/p/scholarzhang
0 stars 0 forks source link

libipt_ZHANG.so missing #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
# iptables -A INPUT -p tcp --sport 80 --tcp-flags FIN,SYN,RST,ACK SYN,ACK
-m state --state ESTABLISHED -m set --match-set NOCLIP src -j ZHANG

What do you see?
iptables v1.4.6: Couldn't load target
`ZHANG':/usr/lib/iptables/libipt_ZHANG.so: cannot open shared object file:
No such file or directory

What version of the product are you using? On what operating system?
svn r37

Please provide any additional information below.
After `make`, at $SVN_ROOT/west-chamber:
% find . | grep ZHANG       
./extensions/xt_ZHANG.c
./extensions/xt_ZHANG.o
./extensions/libxt_ZHANG.c
./extensions/xt_ZHANG.ko
./extensions/xt_ZHANG.Kconfig
./extensions/.libxt_ZHANG.oo.d
./extensions/xt_ZHANG.mod.c
./extensions/libxt_ZHANG.so
./extensions/.svn/text-base/xt_ZHANG.Kconfig.svn-base
./extensions/.svn/text-base/xt_ZHANG.c.svn-base
./extensions/.svn/text-base/libxt_ZHANG.c.svn-base
./extensions/.svn/text-base/libxt_ZHANG.man.svn-base
./extensions/.xt_ZHANG.o.cmd
./extensions/.xt_ZHANG.ko.cmd
./extensions/xt_ZHANG.mod.o
./extensions/.tmp_versions/xt_ZHANG.mod
./extensions/libxt_ZHANG.oo
./extensions/.xt_ZHANG.mod.o.cmd
./extensions/libxt_ZHANG.man

No libipt_ZHANG.so found

Original issue reported on code.google.com by arcpp.zju@gmail.com on 11 Mar 2010 at 2:40

GoogleCodeExporter commented 8 years ago
please provide additional information about your distro and version, and 
recheck your 
options for configure against the file hierarchy convention of your distro.

it will be libxt_ZHANG.so since it's xtables object.

Original comment by klzg...@gmail.com on 11 Mar 2010 at 2:48

GoogleCodeExporter commented 8 years ago
我想加入这个软件的开发
拥有多年c经验和python经验.资深程序员
联系mail  kulasama@gmail.com

Original comment by kulasama@gmail.com on 11 Mar 2010 at 3:22

GoogleCodeExporter commented 8 years ago
You can copy ./extensions/libxt_ZHANG.so to /lib/xtables/libipt_ZHANG.so
and then it can be used.

so as libipt_gfw.so, libipt_CUI.so

Original comment by LinMR...@gmail.com on 11 Mar 2010 at 4:11

GoogleCodeExporter commented 8 years ago
./configure的时侯加上选项--libexecdir=/lib

Original comment by zel...@gmail.com on 11 Mar 2010 at 4:20

GoogleCodeExporter commented 8 years ago

Original comment by yingyingcui.scholarzhang@gmail.com on 11 Mar 2010 at 7:12

GoogleCodeExporter commented 8 years ago
@Comment 2

Archlinux, newest version. i686.

So what's the differences between `ipt` and `xt` ?

Original comment by arcpp.zju@gmail.com on 11 Mar 2010 at 12:42

GoogleCodeExporter commented 8 years ago
Issue 12 has been merged into this issue.

Original comment by klzg...@gmail.com on 11 Mar 2010 at 2:53

GoogleCodeExporter commented 8 years ago
Issue 14 has been merged into this issue.

Original comment by klzg...@gmail.com on 11 Mar 2010 at 2:54

GoogleCodeExporter commented 8 years ago
Issue 28 has been merged into this issue.

Original comment by yingyingcui.scholarzhang@gmail.com on 13 Mar 2010 at 10:41

GoogleCodeExporter commented 8 years ago
@Comment 3
没有libipt_gfw.so, libipt_CUI.so,只有libxt_gfw.so, libxt_CUI.so

Original comment by chenshuj...@gmail.com on 4 May 2010 at 7:11

GoogleCodeExporter commented 8 years ago
ubuntu 用户,安装的时候有个坑,说出来大家注意一下。
1. 安装前先把 xtables-addons-* 包删除。
2. 如果第一次安装失败,把 west-chamber 
目录全部删除,重新checkout。不要用 svn stat|awk -F" " '{print 
$2}'|xargs rm -rf 这种方式删除非 svn 文件,因为有 so 
文件被加入 ignore 
列表。重新安装时,这些文件不会重新生成。。

Original comment by lir...@gmail.com on 14 Jul 2011 at 1:55

GoogleCodeExporter commented 8 years ago

Original comment by kiz...@gmail.com on 17 Sep 2011 at 2:42