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 | 3289054 | 2002-07-10 20:09:56 +0000 | [diff] [blame] | 20 | - the userspace program ebtables is compiled and the executable is copied |
Bart De Schuymer | 598ca8f | 2004-11-29 22:00:36 +0000 | [diff] [blame] | 21 | by default to /usr/sbin/ebtables. If you want to put the executable |
Bart De Schuymer | a296038 | 2003-04-01 17:29:13 +0000 | [diff] [blame] | 22 | somewhere else, include BINPATH=<<path>>. |
Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 23 | |
| 24 | That's all |
Bart De Schuymer | 30c04a2 | 2004-11-29 21:25:36 +0000 | [diff] [blame] | 25 | |
| 26 | ADDITIONAL PROGRAM(S): |
| 27 | ---------------------- |
| 28 | examples/ulog/test_ulog.c |
| 29 | |
| 30 | Contains an example to receive and parse netlink messages containing |
| 31 | packets seen by the ebtables ulog watcher. |
| 32 | |
| 33 | Compile with: |
| 34 | %make test_ulog.c KERNEL_INCLUDES=/usr/src/linux/include |
| 35 | |
| 36 | Usage: |
| 37 | %examples/ulog/test_ulog NETLINK_GROUP |
| 38 | %ebtables -A chain --ulog-nlgroup NETLINK_GROUP |