1FOLLOW THESE SIMPLE GUIDELINES:
2-------------------------------
3
4Compiling the source code:
5%make
6Put the files in the right directories:
7%make install
8
9If you are using the CVS code or need your own kernel includes, do this
10instead (change the include directory to the appropriate one):
11%make install KERNEL_INCLUDES=/usr/src/linux/include
12
13If you want to make a static binary for ebtables, containing all the
14extensions, without shared libraries, do this (this will make a
15binary called 'static', which you can rename):
16%make static
17
18WHAT GETS INSTALLED?
19--------------------
20
21- The ebtables manual gets installed in /usr/local/man/man8
22  To put the manual somewhere else, include MANDIR=<<man-path/man>> as
23  option on the command line.
24  The Makefile will append /man8/ebtables.8.
25- ethertypes is by default placed in /etc/, if you
26  want to change this, include ETHERTYPESPATH=<<path>>.
27- The userspace programs ebtables ebtables-save and ebtables-restore are
28  are copied by default to /usr/local/sbin/ebtables. If you want to put
29  the executables somewhere else, include BINPATH=<<path>>.
30- The ebtables initialisation file (enabling use of 'service ebtables') is
31  copied to /etc/rc.d/init.d (change with option INITDIR)
32- The ebtables configuration file (ebtables-config) is copied to /etc/sysconfig
33
34That's all
35
36You can also use a base directory different from the root directory (/),
37using the DESTDIR option. See the Makefile for more details.
38
39
40ADDITIONAL PROGRAM(S):
41----------------------
42-- examples/ulog/test_ulog.c --
43
44Contains an example to receive and parse netlink messages containing
45packets seen by the ebtables ulog watcher.
46
47Compile with:
48%make test_ulog KERNEL_INCLUDES=/usr/src/linux/include
49
50Usage:
51%examples/ulog/test_ulog NETLINK_GROUP
52%ebtables -A chain --ulog-nlgroup NETLINK_GROUP
53
54-- examples/perf_test/perf_test --
55
56A test script to compare the performance for the different ways to
57construct an ebtables table. This is deprecated and should probably
58be ignored.
59