Re: Fwd: ebtables broken for kernel above 2.6.28

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 2009-05-29 07:51, sachin sanap wrote:

>Iam facing problem with ebtables binay on 2.6.28 kernel (same binary
>works well with 2.6.27). Its mostly a structure alignment issue with
>standard targets like DROP,ACCEPT etc. Message seen by user is
>"eb_tables: standard target: invalid size 8 != 4"
>Iam trying to fix it, this mail is just to check if its already fixed
>by someone else?

Indeed this seems to happen, but only when using a mixed-bitness
combination:

/tmp/usr/sbin # LD_LIBRARY_PATH=../lib ./ebtables -A INPUT -j ACCEPT
The kernel doesn't support the ebtables 'filter' table.

/tmp/usr/sbin # uname -a
Linux sovereign 2.6.29.3-jen80-default #1 SMP 2009-04-06 18:10:58 +0200 
x86_64 x86_64 x86_64 GNU/Linux

/tmp/usr/sbin # file ebtables
ebtables: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for 
GNU/Linux 2.6.4, dynamically linked (uses shared libs), stripped

ebtables does work when it is 64-bit too, so the immediate workaround —
assuming you are on x86 — is to not use a 32-bit userspace with a
64-bit kernel.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux