LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: viogus

ebuild for 西厢计划(west-chamber)

[复制链接]
发表于 2010-3-14 17:21:18 | 显示全部楼层
Post by zhllg;2075311
use west-chamber from gentoo china overlay
then

/etc/init.d/west-chamber start

all done


I just use this which is same as manual input the command

perhaps the problem is I use it behind the route.
回复 支持 反对

使用道具 举报

发表于 2010-3-14 21:15:42 | 显示全部楼层
我也是这问题,你解决了没?说一把!
Post by danielliu;2074947
[32;01m* [0m CPV:  net-firewall/west-chamber-0.0.1
[32;01m* [0m REPO: gentoo-china
[32;01m* [0m USE:  elibc_glibc kernel_linux userland_GNU x86 xtables_addons_cui xtables_addons_gfw xtables_addons_ipset xtables_addons_zhang
[32;01m* [0m Determining the location of the kernel source code
[32;01m* [0m Found kernel source directory:
[32;01m* [0m     /usr/src/linux
[32;01m* [0m Found kernel object directory:
[32;01m* [0m     /lib/modules/2.6.33-gentoo/build
[32;01m* [0m Found sources for kernel version:
[32;01m* [0m     2.6.33-gentoo
[32;01m* [0m Checking for suitable kernel configuration options...
[A [129C   [34;01m[  [32;01mok [34;01m ] [0m
>>> Unpacking source...
>>> Unpacking west-chamber-0.0.1.tar.gz to /var/tmp/portage/net-firewall/west-chamber-0.0.1/work
>>> Source unpacked in /var/tmp/portage/net-firewall/west-chamber-0.0.1/work
>>> Preparing source in /var/tmp/portage/net-firewall/west-chamber-0.0.1/work/west-chamber-0.0.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-firewall/west-chamber-0.0.1/work/west-chamber-0.0.1 ...
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:8: installing `./compile'
configure.ac:10: installing `./config.guess'
configure.ac:10: installing `./config.sub'
configure.ac:5: installing `./install-sh'
configure.ac:6: installing `./missing'
extensions/ipset/Makefile.am: installing `./depcomp'
* econf: updating west-chamber-0.0.1/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating west-chamber-0.0.1/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/ --libexecdir=/lib/ --with-kbuild=/usr/src/linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk

R: /usr/src/linux-2.6.33-gentoo/.13050.o
C: rm -f .13050.tmp .13050.o

F: open_wr
S: deny
P: .13055.tmp
A: /usr/src/linux-2.6.33-gentoo/.13055.tmp
R: /usr/src/linux-2.6.33-gentoo/.13055.tmp
C: /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/as -Qy -o .13055.tmp -

F: unlinkat
S: deny
P: .13055.tmp
A: /usr/src/linux-2.6.33-gentoo/.13055.tmp
R: /usr/src/linux-2.6.33-gentoo/.13055.tmp
C: rm -f .13055.tmp .13055.o

F: unlinkat
S: deny
P: .13055.o
A: /usr/src/linux-2.6.33-gentoo/.13055.o
R: /usr/src/linux-2.6.33-gentoo/.13055.o
C: rm -f .13055.tmp .13055.o

F: open_wr
S: deny
P: .13060.tmp
A: /usr/src/linux-2.6.33-gentoo/.13060.tmp
R: /usr/src/linux-2.6.33-gentoo/.13060.tmp
C: /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/as -Qy -o .13060.tmp -

F: unlinkat
S: deny
P: .13060.tmp
A: /usr/src/linux-2.6.33-gentoo/.13060.tmp
R: /usr/src/linux-2.6.33-gentoo/.13060.tmp
C: rm -f .13060.tmp .13060.o

F: unlinkat
S: deny
P: .13060.o
A: /usr/src/linux-2.6.33-gentoo/.13060.o
R: /usr/src/linux-2.6.33-gentoo/.13060.o
C: rm -f .13060.tmp .13060.o

此处略去N字

F: unlinkat
S: deny
P: .13067.o
A: /usr/src/linux-2.6.33-gentoo/.13067.o
R: /usr/src/linux-2.6.33-gentoo/.13067.o
C: rm -f .13067.tmp .13067.o
[31;01m-------------------------------------------------------------------------------- [0m
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-3-14 21:32:05 | 显示全部楼层
Post by KenShinXF;2075322
I just use this which is same as manual input the command

perhaps the problem is I use it behind the route.


只要路由遵守RFC就可以,我的在路由后就可用。试试看别的路由,或者直联。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-3-14 21:33:24 | 显示全部楼层
@nainade
去掉sandbox支持,x86上sandbox的bug
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-3-14 21:36:29 | 显示全部楼层
Post by zhllg;2075250
我去掉了内置的ipset,加上了conf和init
正在测试,马上commit

赞,这两天上网不方便,出差ing.
回复 支持 反对

使用道具 举报

发表于 2010-3-14 22:29:19 | 显示全部楼层
Post by viogus;2075360
@nainade
去掉sandbox支持,x86上sandbox的bug

谢谢,正常安装了。

不过新增加了 IPset的问题:

(1)在kernel中没有找到ipset的设置。内核版本:2.6.30-gentoo-r5 (AMD64)
(2)目前我的ipset包是net-firewall/ipset-2.4.7是不是太低了,好像wiki上说应该是4.2为好,不过我编译失败。
servera netfilter # sudo /etc/init.d/west-chamber restart
* Stoping West Chamber...
FATAL: Module ip_set not found.
ipset v2.4.7: Error from kernel: Protocol not available
FATAL: Module ip_set not found.
ipset v2.4.7: Error from kernel: Protocol not available
FATAL: Module ip_set not found.
ipset v2.4.7: Error from kernel: Protocol not available                   [ !! ]
* ERROR: west-chamber failed to stop
回复 支持 反对

使用道具 举报

发表于 2010-3-15 09:39:03 | 显示全部楼层
我用的是4.2 ~x86
回复 支持 反对

使用道具 举报

发表于 2010-3-15 13:19:54 | 显示全部楼层

ipset 出错

# ipset -R < YOUTUBE
FATAL: Module ip_set not found!
ipset v4.2: couldn't vertify kernel module version!

请问这个怎么解决?我是slackware 13
回复 支持 反对

使用道具 举报

发表于 2010-3-15 14:06:20 | 显示全部楼层
Module ip_set not found!

find it...
回复 支持 反对

使用道具 举报

发表于 2010-3-15 14:37:51 | 显示全部楼层
youtube还是上不去
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表