Re: arptables issue with user-defined chains and -j RETURN

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

 



Bart De Schuymer wrote:
Op wo, 11-06-2008 te 08:14 +0200, schreef Patrick McHardy:
I think the error is in userspace, it shouldn't define the value
dependant on a non-fixed value. If the kernel did this as well
before the intoduction of x_tables (which defined ARPT_RETURN
to XT_RETURN), compatibility was already broken by the introduction
of NF_STOP a long time ago. So I think the correct fix is to
resync the arp_tables userspace header files with the kernel.

Things compile fine from CVS using the KERNEL_DIR directive with your
favorite kernel source.
I'm having more trouble than I like getting things to compile by just
also including x_tables.h in the local arptables directory (__be16 isn't
defined). I guess my /usr/include/linux directory isn't up-to-date. Is
there any directive about this? How does iptables cope with this?


For iptables we ended up adding the types.h file to the
iptables source. I think arptables should do the same
to support compilation on old systems.
--
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