galaxy001 / scholarzhang

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

怎么关闭/清除这些模块?打开后对正常上网和机器负荷有影响有多大? #125

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
我常用wine加一些破网软件上网,非root用户下就可以运行,不需�
��就可以关掉.
而该项目安装用root也就罢了,使用时还要用root,因为不清楚如�
��清除这些模块,我怕一旦打开后,这些模块就会一直开着,即使
清除个人用户配置也办法,因为root的配置时不写在/home中的.
1.看到它的工作原理,你们应该没有提供被gfw屏蔽的列表吧,那�
��说明,当我上sina.com时,该模块应该也起作用,那么我浏览正常�
��站会不会出现错误? 
 我用firefox+autoproxy+freegate就能实现只在浏览屏蔽网站时才通过代理. 
我想要的功能是,当程序启动时,该程序会在本机开放一个代理
端口,所用通过该端口的数据包才会被处理.
2.运行时不要用root权限
3.提供安全的,了然的,有说明的卸载功能.
这些东西都要root,我实在不敢乱动
[code]read more details at http://code.google.com/p/scholarzhang/wiki/USAGE
the file you need is installed at /usr/share/west-chamber/examples/
run following commands with root to make it work
----------------------------------------------------
cd /usr/share/west-chamber/examples
ipset -R < CHINA
ipset -R < GOOGLE
ipset -R < YOUTUBE
ipset -R < NOCLIP
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"
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"
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 resets"
iptables -A INPUT -p udp --sport 53 -m state --state ESTABLISHED -m gfw -j DROP 
-m comment --comment "drop gfw dns hijacks"
----------------------------------------------------
you may need an unaffected DNS to make it work
----------------------------------------------------
restart the network
[/code]
能使其不使用时保持关闭,使用完后

Original issue reported on code.google.com by Struggle...@gmail.com on 24 May 2011 at 2:55

GoogleCodeExporter commented 9 years ago
这些是内核模块。可以使用modprobe或者rmmod卸载。工作时对网�
��性能几乎没有影响。

内核模块在内核空间工作,与用户帐号权限无关;但是加载��
�卸载需要root权限。

这个项目旨在不依靠代理而正常访问,如果你需要使用代理��
�不需要使用这个项目。

Original comment by kiz...@gmail.com on 9 Sep 2011 at 9:36

GoogleCodeExporter commented 9 years ago

Original comment by kiz...@gmail.com on 17 Sep 2011 at 1:53

GoogleCodeExporter commented 9 years ago

Original comment by kiz...@gmail.com on 17 Sep 2011 at 1:59