Package: ebtables
Version: 2.0.9.2-2
Severity: normal
Hi,
I am running a 32-bit (i386) userland on top of the 64-bit (amd64) kernel. In
this configuration, ebtables fails to work:
root # lsmod | grep ebtable
ebtable_filter 1599 0
ebtables 13885 1 ebtable_filter
x_tables 12685 2 ebtables,ip_tables
root # ebtables -L
The kernel doesn't support the ebtables 'filter' table.
The direct cause is that ebtables passes wrongly-sized structures to the kernel,
which returns EINVAL, which in turn causes the (confusing) message above.
I checked the source, and it appears that the ebtables user-kernel interface
uses datastructures containing actual pointers (not offsets, like iptables).
As both the kernel and ebtables use their own idea of a pointer, ebtables
fails.
ebtables does seem to contain code to cope with a mixed 32/64-bit environment,
by defining KERNEL_64_USERSPACE_32 and EBT_MIN_ALIGN during compilation,
however the implementation is partial (at least from an x86_64 perspective),
and therefore not functional. In addition, it would make the resulting binary
fail on top of a 32-bit kernel...
Regards,
Rogier.
-- System Information:
Debian Release: 6.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ebtables depends on:
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
Versions of packages ebtables recommends:
ii iptables 1.4.8-3 administration tools for packet fi
ebtables suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]