The most recent code is available at the
sourceforge ebtables CVS repository. To get a copy of the repository, do the following:
# cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ebtables login
# cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ebtables co ebtables2
The current userspace code is in the ebtables2/userspace/ebtables2 directory. To compile the
CVS userspace tool you'll need to do the following:
# make NONSTANDARD=y KERNEL_INCLUDES=/usr/src/linux/include/
# make install
Obviously you'll need to use the right kernel directory. Why is compiling the CVS different?
Because the kernel include files are not maintained in the userspace directory of the CVS.
When a new ebtables release is made, the kernel include files get copied in the tar file, so
the standard installation knows where to get its kernel include files.