blob: 371cbe4f91a20c010d6f838d6232a1e71aa6d460 [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 Schuymer6622a012005-01-19 21:09:05 +000020- The pipe used for communication by ebtablesd and ebtablesu is by
21 default the file /etc/ebtables-v$(PROGVERSION)/ebtablesd_pipe. To
22 change the directory, include PIPE_DIR=<<dir>>. There is no option
23 to change the name of the pipe.
24- the userspace programs ebtables ebtablesu and ebtablesd are compiled and
25 the executables are copied by default to /usr/sbin/ebtables. If you want
26 to put the executables somewhere else, include BINPATH=<<path>>.
Bart De Schuymer1abc55d2002-06-01 19:23:47 +000027
28That's all
Bart De Schuymer30c04a22004-11-29 21:25:36 +000029
30ADDITIONAL PROGRAM(S):
31----------------------
32examples/ulog/test_ulog.c
33
34Contains an example to receive and parse netlink messages containing
35packets seen by the ebtables ulog watcher.
36
37Compile with:
38%make test_ulog.c KERNEL_INCLUDES=/usr/src/linux/include
39
40Usage:
41%examples/ulog/test_ulog NETLINK_GROUP
42%ebtables -A chain --ulog-nlgroup NETLINK_GROUP