Busybox: Upgrade to 1.21.1 (stable). lsof active.
[tomato.git] / release / src / router / iptables / INSTALL
blob5e840c657467e21169cca061894e8157f906f07a
1 FOLLOW THESE STEPS:
3 0) There may be some outstanding bugfixes or tweaks which are not yet
4    in the official kernel.  Those are now (as of iptables-1.2.7) kept
5    in a seperate package, called patch-o-matic.  It is available from
6    ftp://ftp.netfilter.org/pub/patch-o-matic/
8 1) Next, make the package.
9         % make KERNEL_DIR=<<where-you-built-your-kernel>>
11 2) Finally, you need to to install the shared libraries, and the binary:
12         # make install KERNEL_DIR=<<where-you-built-your-kernel>>
14 If you are a developer, you can install the headers, development libraries
15 and associated development man pages, with:
16         # make install-devel
18 That's it!
19 ================================================================
20 PROBLEMS YOU MAY ENCOUNTER:
22 1) This package requires a 2.4.4 kernel, or above.
24 2) If you get the kernel directory wrong, you may see a message like:
25         Please try `make KERNEL_DIR=path-to-correct-kernel'
27 3) If you want to specify alternate directories for installation
28 (instead of /usr/local/ bin lib man), do this:
30         % make BINDIR=/usr/bin LIBDIR=/usr/lib MANDIR=/usr/man
31         # make BINDIR=/usr/bin LIBDIR=/usr/lib MANDIR=/usr/man install
33 4) If you want to build a statically linked version of the iptables binary,
34    without the need for loading the plugins at runtime (e.g. for an embedded
35    device or router-on-a-disk), please use
37         % make NO_SHARED_LIBS=1
39 5) If you want to build a single BusyBox style multipurpose binary instead of
40    the individual iptables, iptables-save and iptables-restore binaries, then
41    please use
43         % make DO_MULTI=1
45 NOTE: make sure you build with at least the correct LIBDIR=
46 specification, otherwise iptables(8) won't know where to find the
47 dynamic objects.