Re: [linux PATCH v3 2/5] netfilter: nf_nat_masquerade_ipv4: code factorization

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

 



On 1. Juli 2014 18:30:54 MESZ, Arturo Borrero Gonzalez <arturo.borrero.glez@xxxxxxxxx> wrote:
>Let's refactor the code so we can reach the masquerade functionality
>from
>outside the xt context (ie, nftables).
>
>The patch includes adding an atomic counter to the masquerade notifier:
>the
>stuff to be done by the notifier is the same in any case, and agnostic
>about who called it. Only one notification handler is needed.
>
>This factorization only involves IPv4; a similar patch will follow to
>handle
>IPv6.

Just a suggestion, the NAT support is parameterizable at  runtime.
An alternative would be an expression to load the local address.


-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
--
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