|
INSTALL
instructions for installation.
Phase-Deploy Moved to INSTALL page in svn. Ubuntu 用户安装可以参考这篇。 |
► Sign in to add a comment
|
Search
|
|
INSTALL
instructions for installation.
Phase-Deploy Moved to INSTALL page in svn. Ubuntu 用户安装可以参考这篇。 |
LInux,沒有windows
mac现在也不支持?
编译完成了,需要运行吗?要怎么运行呢?
ubuntu 9.04 iptables 和 iptables-dev 都是1.4.1的,这样会影响编译的吗?
删除了一些留言,作者们请见谅。碰到问题情先阅读issue list,如果没有找到答案再提出新issue。
注意一下,这里的configure参数可能不正确,请尽可能参照发行版里xtables-addons的配置。
这里实际上是写了三个内核模块,zhang, cui, gfw。 个人觉得命名上,gfw也改用拼音qiang得了。 另外,把cui当成服务器端,似乎不恰当哈。觉得崔也想见张呢,回头我再读下这段。
或者应该是gfwclien, gfwserver, gfw比较合适?当然,名字是随意的,回头要认真看前辈之前的分析文章,然后详细看前辈代码层的实现。
Mac好像不行。 supports shared libraries... yes checking dynamic linker characteristics... darwin10.2.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no ./configure: line 10984: syntax error near unexpected token `libxtables,' ./configure: line 10984: ` PKG_CHECK_MODULES(libxtables, xtables >= 1.4.3)'
下载iptables,好像只能在linux上用。make时直接出错了。 libxt_CLASSIFY.c:95: error: 'const struct xt_classify_target_info' has no member named 'priority' libxt_CLASSIFY.c:95: error: 'const struct xt_classify_target_info' has no member named 'priority' make2?: [libxt_CLASSIFY.oo] Error 1 make1?: [all-recursive] Error 1
from 小高子 xiaogaozi: http://blog.xiaogaozi.org/2010/03/ubuntu.html
./autogen.sh CFLAGS="" ./configure --prefix=/usr --libexecdir=/lib make && sudo make install echo make-finished cd examples/ sudo ipset -R < CHINA sudo ipset -R < GOOGLE sudo ipset -R < YOUTUBE sudo ipset -R < NOCLIP sudo 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 -m comment --comment "client-side connection obfuscation" sudo iptables -A INPUT -p tcp --dport 80 --tcp-flags FIN,SYN,RST,ACK SYN -m state --state NEW -j CUI -m set --match-set CHINA src -m comment --comment "server-side connection obfuscation" sudo iptables -A INPUT -p tcp --sport 80 -m state --state ESTABLISHED -m gfw -j LOG --log-level info --log-prefix "gfw: " -m comment --comment "log gfw tcp reset" sudo iptables -A INPUT -p udp --sport 53 -m state --state ESTABLISHED -m gfw -j DROP -m comment --comment "drop gfw dns hijacks"
在configure时出现 ./configure: line 10614: syntax error near unexpected token `libxtables,' ./configure: line 10614: ` PKG_CHECK_MODULES(libxtables, xtables >= 1.4.3)' 看不太懂…是参数的问题?说尽可能参照发行版里xtables-addons的配置。话说怎么个参照法啊?请高人来指点一下……
MAC 上面编译失败,没有 libxtables 这个包
In ArchLinux?, you need to do little fix.
--- ln -s /usr/libexec/xtables/libxt_ZHANG.so /usr/lib/iptables/libxt_ZHANG.so ln -s /usr/libexec/xtables/libxt_CUI.so /usr/lib/iptables/libxt_CUI.so ln -s /usr/libexec/xtables/libxt_gfw.so /usr/lib/iptables/libxt_gfw.so ---
done.
Good Job. :-)
急切盼望能够提供mac的解决方案。
on Ubuntu Karmic,
1) if "ipset kernel/userspace version mismatch" try install "module-assistant" m-a a-i ipset. 2) Ubuntu is Debian, so --libexecdir=/lib.
everything else works just fine.
keep up the good work!!
沒有windows ?
发行一个openwrt安装包吧
windows版本如何安装?求解
能做到路由器的内核中就爽了,比如楼上说的openwrt或者tomato
我的是ubuntu 9,04 ,为啥装不了xtables-addons这个软件包阿,说是找不到软件源啊
当执行sudo ipset -R < CHINA 时有错误: ipset v2.5.0: Set type nethash is of wrong protocol version 4! I'm of version 3. 有没有童鞋遇到这个问题啊。难道要升级kerlel么?
还没有支持twitter和facebook???希望也能支持啊。。。
fc12, iptables=1.4.7 我的xtables.h在/usr/local/include CFLAGS="-O3" ./configure --prefix=/usr --with-xtlibdir=/lib/xtables/ --with-xtables=/usr/local/include make make install
hello, dyno.fu: I have the "ipset kernel/userspace version mismatch" problem and I try your method. But when I input "module-assistant", there is another problem "/usr/share/modass/packages/default.sh: 1: debian/rules: not found".
I ./configure with the --libexecdir=/lib.
what should I do, thanks very much
>>当执行sudo ipset -R < CHINA 时有错误: ipset v2.5.0: Set type nethash is of wrong protocol >>version 4! I'm of version 3. 有没有童鞋遇到这个问题啊。难道要升级kerlel么? I have the same problem 。Because the ipset command is not the one you installed from west champer。Please make sure the ipset command you run is the one you installed from west champer source.
现在能用么
youtube, blogger可用,最新svn
ubuntu下做到make那步,提示没有Makefile,请问如何解决? 之前的步骤都成功,apt-get install需要的包都装好
照着小高子的方法坐,在楼上,把他的语句分开。没有makefile,显然是configure没成功吧
我都装好了..造成Google的好多网站都无法访问了..请问我如何卸载呢???
Ubuntu 10.04
./configure: line 10614: syntax error near unexpected token `libxtables,' ./configure: line 10614: ` PKG_CHECK_MODULES(libxtables, xtables >= 1.4.3)'
Comment by guanghuizhg, May 16, 2010
Ubuntu 10.04
./configure: line 10614: syntax error near unexpected token libxtables,' ./configure: line 10614: PKG_CHECK_MODULES(libxtables, xtables >= 1.4.3)'
装一下pkg-config
openwrt可以用不?
老大,能给个菜鸟傻瓜手把手教程不? 我用的是kubuntu10.04,之前已经用了miredo通过ipv6部分翻了,但是翻的不彻底不爽。现在安装西厢具体需要怎么做? 我按照说明的上来可是第一步./autogen.sh,就提示: ./autogen.sh: line 3: autoreconf:找不到命令
希望能得到回复,我也再研究研究,使用linux就是为了学到更多的东西,谢谢
Ubuntu 11.04,在linux kernel 2.6.38-8下编译通过,但make失败。
我也是用的 11.04 linux kernel 2.6.38-8, 之前 iptables 配置失败。
今天的 commit fix了这个问题,你更新代码试试看。