Re: src: remove dependency on libiptc headers

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

 



Pablo Neira Ayuso wrote:
Jan Engelhardt wrote:
On Monday 2008-08-04 10:35, Pablo Neira Ayuso wrote:
The API actually remains the same, due to the nature of char[]
decaying into char* (and .name is also only used in the registrator);
the ABI (indicated by XTABLES_VERSION) changes yes, and that is fine
because we moved from 1.4.1 to 1.4.2-rc1.
Sure, but say that someone uses whatever iproute2 version <=
iproute2-2.6.26 - which does not check for any ABI version numbering
AFAICS - and then it compiles whatever >= 1.4.2-rc1 by hand, then
jamal's ipt thing will not work as they use different ABIs.

I'm not talking on how to solve future interdependecy problems - which
you seems to have it done by exporting xtables as library - but the
problems that the size change of .name will trigger for some time.
If the ABI changes, the libxtables.so ABI version number just get
bumped, that is what they are there for.

Great. You're breaking previous backward compatibility with old iproute2
versions since they are not checking that number.

Jumping in late, but I already applied that patch. The iproute
compabibility is already broken regulary because the "interface"
is a huge hack and it duplicates all kinds of internal functions.
So this doesn't really make things worse. I don't think its
reasonable to not change internal functions/structs because
something external is dlopening and fiddling in iptables internals.
Once iproute makes use of libxtables I'm willing to be more
careful about this.
--
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