Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 1 | FOLLOW THESE SIMPLE GUIDELINES: |
| 2 | ------------------------------- |
| 3 | |
Bart De Schuymer | 4c732c4 | 2003-04-01 17:06:51 +0000 | [diff] [blame] | 4 | Compiling the source code and putting the files in the right directories: |
Bart De Schuymer | 4a721be | 2002-11-20 19:40:47 +0000 | [diff] [blame] | 5 | %make install |
Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 6 | |
Bart De Schuymer | 4a721be | 2002-11-20 19:40:47 +0000 | [diff] [blame] | 7 | If you are using the CVS code or need your own kernel includes, do this |
| 8 | instead (change the include directory to the appropriate one): |
Bart De Schuymer | 06a9682 | 2003-02-19 20:09:51 +0000 | [diff] [blame] | 9 | %make install KERNEL_INCLUDES=/usr/src/linux/include |
Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 10 | |
| 11 | WHAT GETS INSTALLED? |
| 12 | -------------------- |
| 13 | |
Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 14 | - 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 Schuymer | a296038 | 2003-04-01 17:29:13 +0000 | [diff] [blame] | 18 | - ethertypes is by default placed in /etc/, if you |
| 19 | want to change this, include ETHERTYPESPATH=<<path>>. |
Bart De Schuymer | 6622a01 | 2005-01-19 21:09:05 +0000 | [diff] [blame] | 20 | - 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 Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 27 | |
| 28 | That's all |
Bart De Schuymer | 30c04a2 | 2004-11-29 21:25:36 +0000 | [diff] [blame] | 29 | |
| 30 | ADDITIONAL PROGRAM(S): |
| 31 | ---------------------- |
| 32 | examples/ulog/test_ulog.c |
| 33 | |
| 34 | Contains an example to receive and parse netlink messages containing |
| 35 | packets seen by the ebtables ulog watcher. |
| 36 | |
| 37 | Compile with: |
| 38 | %make test_ulog.c KERNEL_INCLUDES=/usr/src/linux/include |
| 39 | |
| 40 | Usage: |
| 41 | %examples/ulog/test_ulog NETLINK_GROUP |
| 42 | %ebtables -A chain --ulog-nlgroup NETLINK_GROUP |