/usr/share/doc/west-chamber-common/README.Debian is in west-chamber-common 20100405+svn20110916.r119-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | west-chamber for Debian
-----------------------
= Install =
There are 2 ways to install west-chamber. By DKMS or by module-assistant.
== DKMS ==
# execute the following command:
sudo apt-get install west-chamber-dkms west-chamber-common
== module-assistant ==
# execute the following commands:
sudo apt-get install west-chamber-source west-chamber-common
sudo m-a auto-install xtables-addons
sudo m-a auto-install west-chamber
= Quick Usage =
# execute the following commands:
sudo ipset -R < /usr/share/doc/west-chamber-common/examples/ipsets/YOUTUBE
sudo ipset -R < /usr/share/doc/west-chamber-common/examples/ipsets/GOOGLE
sudo ipset -R < /usr/share/doc/west-chamber-common/examples/ipsets/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
sudo iptables -A INPUT -p tcp --sport 80 -m state --state \
ESTABLISHED -m gfw -j LOG --log-level info --log-prefix "gfw: "
sudo iptables -A INPUT -p udp --sport 53 -m state --state \
ESTABLISHED -m gfw -j DROP
# enjoy
= About module-assistant package =
Please see ./README for a description of the west-chamber software.
The Debian west-chamber source package provides two packages,
1) west-chamber-common, which the provides the userspace addons for xtables
2) west-chamber-source, which provides the source for the kernel modules
The west-chamber-source package can be used in several ways,
- Using the module-assistant command provided by module-assistant package in
Debian. This will produce a corresponding west-chamber-modules package for
the Debian kernel-image package that you are using very quickly.
- Using the make-kpkg(1) command provided by the kernel-package Debian
package. This will produce a corresponding west-chamber-modules package for
the Debian kernel-image package that you are using. This is "the Debian
way". See the "modules_image" section of the make-kpkg(1) man page.
- Changing to the /usr/src/modules/west-chamber/ directory and building as
the README file instructs using "make; make install". This will build
and install a module specific to the system you are building on and is
not under control of the packaging system.
= More Info =
* http://code.google.com/p/scholarzhang/wiki/USAGE
-- Ying-Chun Liu (PaulLiu) <paulliu@debian.org>, Fri, 16 Dec 2011 02:37:20 +0800
|