Module Name: src Committed By: rmind Date: Fri Dec 6 01:33:37 UTC 2013
Modified Files: src/sys/net/npf: npf.h npf_alg.c npf_alg_icmp.c npf_bpf.c npf_impl.h npf_inet.c npf_nat.c npf_session.c Log Message: NPF: - Adjust NAT to not assume flow direction in some cases and thus support less usual setups which are possible when using 'map' with a custom filter criteria. - Introduce NPF_SRC/NPF_DST and replace npc_src/npc_dst with npc_ips[2] for more convenient handling. - ICMP ALG: restrict matching only to the outgoing traffic, but be more direction-agnostic elsewhere. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/net/npf/npf.h cvs rdiff -u -r1.9 -r1.10 src/sys/net/npf/npf_alg.c cvs rdiff -u -r1.17 -r1.18 src/sys/net/npf/npf_alg_icmp.c cvs rdiff -u -r1.5 -r1.6 src/sys/net/npf/npf_bpf.c cvs rdiff -u -r1.44 -r1.45 src/sys/net/npf/npf_impl.h cvs rdiff -u -r1.27 -r1.28 src/sys/net/npf/npf_inet.c cvs rdiff -u -r1.22 -r1.23 src/sys/net/npf/npf_nat.c cvs rdiff -u -r1.29 -r1.30 src/sys/net/npf/npf_session.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.