blob: 2d1e42fb718bc7e08773470d20288b4b9cb496c1 [file] [log] [blame]
Bart De Schuymer1abc55d2002-06-01 19:23:47 +00001FOLLOW THESE SIMPLE GUIDELINES:
2-------------------------------
3
Bart De Schuymer4c732c42003-04-01 17:06:51 +00004Compiling the source code and putting the files in the right directories:
Bart De Schuymer4a721be2002-11-20 19:40:47 +00005%make install
Bart De Schuymer1abc55d2002-06-01 19:23:47 +00006
Bart De Schuymer4a721be2002-11-20 19:40:47 +00007If you are using the CVS code or need your own kernel includes, do this
8instead (change the include directory to the appropriate one):
Bart De Schuymer06a96822003-02-19 20:09:51 +00009%make install KERNEL_INCLUDES=/usr/src/linux/include
Bart De Schuymer1abc55d2002-06-01 19:23:47 +000010
11WHAT GETS INSTALLED?
12--------------------
13
Bart De Schuymer1abc55d2002-06-01 19:23:47 +000014- The ebtables manual gets installed in /usr/local/man/man8
15 To put the manual somewhere else, include MANDIR=<<man-path/man>> as
16 option on the command line.
17 The Makefile will append /man8/ebtables.8.
Bart De Schuymera2960382003-04-01 17:29:13 +000018- ethertypes is by default placed in /etc/, if you
19 want to change this, include ETHERTYPESPATH=<<path>>.
Bart De Schuymer32890542002-07-10 20:09:56 +000020- the userspace program ebtables is compiled and the executable is copied
Bart De Schuymer598ca8f2004-11-29 22:00:36 +000021 by default to /usr/sbin/ebtables. If you want to put the executable
Bart De Schuymera2960382003-04-01 17:29:13 +000022 somewhere else, include BINPATH=<<path>>.
Bart De Schuymer1abc55d2002-06-01 19:23:47 +000023
24That's all
Bart De Schuymer30c04a22004-11-29 21:25:36 +000025
26ADDITIONAL PROGRAM(S):
27----------------------
28examples/ulog/test_ulog.c
29
30Contains an example to receive and parse netlink messages containing
31packets seen by the ebtables ulog watcher.
32
33Compile with:
34%make test_ulog.c KERNEL_INCLUDES=/usr/src/linux/include
35
36Usage:
37%examples/ulog/test_ulog NETLINK_GROUP
38%ebtables -A chain --ulog-nlgroup NETLINK_GROUP