Re: [PATCH 2/7] extensions: add IPv6 MASQUERADE extension

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

 



On Thu, 9 Aug 2012, Jan Engelhardt wrote:


On Thursday 2012-08-09 23:22, Patrick McHardy wrote:

Is it perhaps feasible to rename libipt_DNAT.c to libxt_DNAT.c
and thus have the v4 and v6 parts in the same file? In userspace
we do not have to fear depending on ipv6.ko like for kernel modules.

I did that at first, but they use different structures
(nf_nat_ipv4_multi_range_compat vs. nf_nat_range), so there's actually
almost no code which can be shared.

Will we be able to use nf_nat_range for IPv4 NAT parts
in the future as well?

I've added a v1 version of SNAT/DNAT, which use nf_nat_range.
We certainly can do this for MASQUERADE as well.
--
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