Re: Compiling ebtables statically or dynamically results in different behaviour

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

 



What is your exact command and what type of processor are you using?

cheers,
Bart

>----- Oorspronkelijk bericht -----
>Van
: Tim Verhoeven [mailto:tim.verhoeven.be@xxxxxxxxx]
>Verzonden
: dinsdag
, april
 7, 2009 03:53 PM
>Aan
: netfilter-devel@xxxxxxxxxxxxxxx
>Onderwerp
: Compiling ebtables statically or dynamically results in different 	behaviour
>
>Hi,
>
>I have a very strange problem with ebtables. I'm using it on CentOS 5
>(2.6.18 kernel) and when using the dynamically compiled version
>(version 2.0.8-2) I can't create a new chain. When using the same
>version but compiled statically it works. The difference is clearly to
>see when using a strace :
>
>Good behavior (statically compiled) :
>
>setsockopt(3, SOL_IP, 0x80 /* IP_??? */,
>"filter\0\0\0\352tv;\0\0\0\0\0\0\0\0\0\0\0008\2\0\0\0\0\0\0"..., 312)
>= 0
>exit_group(0)                           = ?
>
>
>Bad behavior (dynamically compiled) :
>
>setsockopt(3, SOL_IP, 0x80 /* IP_??? */,
>"filter\0\0\0\352tv;\0\0\0\0\0\0\0\0\0\0\0e\3\0\0\0\0\0\0"..., 312) =
>-1 EINVAL (Invalid argument)
>write(2, "The kernel doesn't support a cer"..., 113The kernel doesn't
>support a certain ebtables extension, consider recompiling your kernel
>or insmod the extension) = 113
>write(2, ".\n", 2.
>)                      = 2
>exit_group(-1)                          = ?
>
>For some reason the one version sets different options then the other.
>I've tried different things (compiling against the standard kernel
>include files (kernel-devel), compiling against the included include
>files, using some gcc options, ...). But none of those worked. Any
>hints are appreciated.



--
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