Module Name: src Committed By: rmind Date: Sun Aug 12 03:35:15 UTC 2012
Modified Files: src/lib/libnpf: npf.c npf.h src/sys/modules/npf: Makefile src/sys/net/npf: npf_handler.c npf_impl.h npf_nat.c npf_ruleset.c npf_session.c npf_state.c npf_tableset.c src/usr.sbin/npf/npfctl: npf_build.c npf_data.c npf_parse.y npfctl.c npfctl.h src/usr.sbin/npf/npftest: npfstream.c npftest.c npftest.h src/usr.sbin/npf/npftest/libnpftest: Makefile npf_test.h npf_test_subr.c Added Files: src/usr.sbin/npf/npftest: README npftest.conf src/usr.sbin/npf/npftest/libnpftest: npf_nat_test.c npf_rule_test.c Log Message: - Extend npftest: add ruleset inspection testing from the config generated by npfctl debug functionality. Auto-create npftest interfaces for this. - NPF sessions: combine protocol and interface into a separate substructure, share between the entries and thus fix the handling of them. Constify. - npftest: add regression tests for NAT policies. - npf_build_nat: simplify and fix bi-NAT regression. - Bump yacc stack size for npfctl. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/lib/libnpf/npf.c cvs rdiff -u -r1.9 -r1.10 src/lib/libnpf/npf.h cvs rdiff -u -r1.9 -r1.10 src/sys/modules/npf/Makefile cvs rdiff -u -r1.20 -r1.21 src/sys/net/npf/npf_handler.c \ src/sys/net/npf/npf_impl.h cvs rdiff -u -r1.15 -r1.16 src/sys/net/npf/npf_nat.c cvs rdiff -u -r1.13 -r1.14 src/sys/net/npf/npf_ruleset.c \ src/sys/net/npf/npf_tableset.c cvs rdiff -u -r1.16 -r1.17 src/sys/net/npf/npf_session.c cvs rdiff -u -r1.10 -r1.11 src/sys/net/npf/npf_state.c cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/npf/npfctl/npf_build.c cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/npf/npfctl/npf_data.c \ src/usr.sbin/npf/npfctl/npfctl.c cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/npf/npfctl/npf_parse.y cvs rdiff -u -r1.18 -r1.19 src/usr.sbin/npf/npfctl/npfctl.h cvs rdiff -u -r0 -r1.1 src/usr.sbin/npf/npftest/README \ src/usr.sbin/npf/npftest/npftest.conf cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/npf/npftest/npfstream.c cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/npf/npftest/npftest.c \ src/usr.sbin/npf/npftest/npftest.h cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/npf/npftest/libnpftest/Makefile cvs rdiff -u -r0 -r1.1 src/usr.sbin/npf/npftest/libnpftest/npf_nat_test.c \ src/usr.sbin/npf/npftest/libnpftest/npf_rule_test.c cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/npf/npftest/libnpftest/npf_test.h cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/npf/npftest/libnpftest/npf_test_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.