|
ebtables - sourceforge page - downloads - browse cvs - bridge - netfilter Free firewall software distributed under GNU General Public License |
||||||||||||
|
Releases:
Configuring the kernel:
Compiling and installing the userspace tool ebtables:
If you download the latest release, the steps are simple:
tar -xzf ebtables-v2.0.6.tar.gz cd ebtables-v2.0.6 makeThe above compiles the ebtables source. To install the tool, do the following (you need to be root for this). make installIf you use the CVS version, you will need to specify the directory that contains the header files. You can use the directory in the CVS (see below) or the include directory from a recent 2.6 kernel. make install KERNEL_INCLUDES=<dir>/ebtables2/kernel/linux2.5/include/There are some compile time options to specify the destination directories: LIBDIR, MANDIR, BINDIR,
ETCDIR, ETHERTYPESPATH and DESTDIR.
LIBDIR denotes the directory where to put the shared libraries
and defaults to /usr/lib. MANDIR denotes the directory
where to put the man page and defaults to /usr/local/man (the
/man8 subdirectory should not be specified). BINDIR
denotes the directory where to put the ebtables executable and defaults to
/usr/sbin (or /sbin in earlier versions of ebtables).
ETCDIR denotes the etc directory (defaults to
/etc) and ETHERTYPESPATH denotes the directory where
to put the ethertypes file, which contains the assigned Ethernet
protocol names (defaults to ETCDIR). The DESTDIR denotes
the base directory, by default it is not set. If set, all files will be copied
to places relative to DESTDIR instead of / (the root
directory).
To obtain a local copy of the CVS repository, first execute the following command. When prompted for a password, just hit the Enter key. cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ebtables login To get a local copy of the ebtables userspace code, execute cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ebtables co ebtables2/userspace/ebtables2 To get a local copy of the arptables userspace code, execute cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ebtables co ebtables2/userspace/arptables The 2.4 and 2.6 kernel source files in the CVS are not necessarily up-to-date. They are mostly used to store new modules/updates that aren't in the kernel yet. To get a local copy of the maintained 2.6 kernel source files, execute cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ebtables co ebtables2/kernel/linux2.5 To get a local copy of the full repository, execute cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ebtables co ebtables2 The CVS repository can be browsed here. |
Last modified: Friday, 21-Sep-2007 10:42:07 PDT.