[NETFILTER]: LOCAL_OUT NAT fix.
the 25_natcore-nohelper.patch (incorporated in 2.4.22) did actually make things not better. If a NAT rule was matched, num_manips can still be 0. However, some helpers (like PPTP) need to _always mangle the packets, even if there is no NAT mapping for a particular connection. On the other hand, as soon as CONFIG_IP_NF_LOCAL_NAT was disabled, we did end up half-mangling local (non-NAT'ed) connections. This patch removes the LOCAL_OUT hook from the NAT core unless CONFIG_IP_NF_NAT_LOCAL is enabled.
Showing
Please register or sign in to comment