The NetBSD Project

CVS log for src/sys/rump/net/lib/libnpf/Makefile

[BACK] Up to [cvs.NetBSD.org] / src / sys / rump / net / lib / libnpf

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.20.16.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:19 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.20.16.1: +3 -2 lines
Diff to previous 1.20.16.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.27 / (download) - annotate - [select for diffs], Tue Jul 23 00:52:02 2019 UTC (4 years, 8 months ago) by rmind
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
Changes since 1.26: +3 -2 lines
Diff to previous 1.26 (colored)

NPF improvements:
- Add support for dynamic NETMAP algorithm (stateful net-to-net).
- Add most of the support for the dynamic NAT rules; a little bit more
  userland work is needed to finish this up and enable.
- Replace 'stateful-ends' with more permissive 'stateful-all'.
- Add various tunable parameters and document them, see npf-params(7).
- Reduce the memory usage of the connection state table (conndb).
- Portmap rewrite: use memory more efficiently, handle addresses dynamically.
- Bug fix: add splsoftnet()/splx() around the thmap writers and comment.
- npftest: clean up and simplify; fix some memleaks to make ASAN happy.

Revision 1.20.16.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:54 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.20: +8 -2 lines
Diff to previous 1.20 (colored)

Sync with HEAD

Revision 1.20.14.2 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:52 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.20.14.1: +6 -2 lines
Diff to previous 1.20.14.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.26 / (download) - annotate - [select for diffs], Mon Oct 29 15:37:45 2018 UTC (5 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, isaki-audio2-base, isaki-audio2
Changes since 1.25: +4 -5 lines
Diff to previous 1.25 (colored)

Back to using _NPF_TESTING now that it does not change the semantics of
the calls, but only adds extra functionality.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Oct 26 23:34:32 2018 UTC (5 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.24: +5 -4 lines
Diff to previous 1.24 (colored)

add an _NPF_RUMP define to expose the sampling function.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Oct 26 06:23:02 2018 UTC (5 years, 5 months ago) by kre
Branch: MAIN
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)


Revert previous (unbreak build) - for now anyway.

It turns out _NPF_TESTING is needed for the (rump only) function
npf_state_setsampler() in sys/net/npf/npf_state.c

Revision 1.23 / (download) - annotate - [select for diffs], Fri Oct 26 01:33:33 2018 UTC (5 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored)

Comment out _NPF_TESTING (really should be removed)

Revision 1.22 / (download) - annotate - [select for diffs], Fri Oct 26 00:38:52 2018 UTC (5 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.21: +6 -2 lines
Diff to previous 1.21 (colored)

need libnvpair

Revision 1.20.14.1 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:57 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.20: +3 -1 lines
Diff to previous 1.20 (colored)

Ssync with HEAD

Revision 1.21 / (download) - annotate - [select for diffs], Sat Sep 29 14:41:36 2018 UTC (5 years, 6 months ago) by rmind
Branch: MAIN
CVS Tags: pgoyette-compat-1020, pgoyette-compat-0930
Changes since 1.20: +3 -1 lines
Diff to previous 1.20 (colored)

NPF: Major rework -- migrate NPF to the libnv library.
- This conversion significantly simplifies the code and moves NPF to
  a binary serialisation format (replacing the XML-like format).
- Fix some memory/reference leaks and possibly use-after-free bugs.
- Bump NPF_VERSION as this change makes libnpf incompatible with the
  previous versions.  Also, different serialisation format means NPF
  connection/config saving and loading is not compatible with the
  previous versions either.

Thanks to christos@ for extra testing.

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:19 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.1.2.4: +3 -2 lines
Diff to previous 1.1.2.4 (colored) next main 1.2 (colored)

update from HEAD

Revision 1.14.4.4 / (download) - annotate - [select for diffs], Sun Feb 5 13:41:00 2017 UTC (7 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.14.4.3: +3 -3 lines
Diff to previous 1.14.4.3 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Sync with HEAD

Revision 1.14.8.1 / (download) - annotate - [select for diffs], Wed Jan 18 08:46:46 2017 UTC (7 years, 2 months ago) by skrll
Branch: netbsd-7-nhusb
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Sync with netbsd-5

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:52 2017 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jan 3 03:47:51 2017 UTC (7 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-base, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

need new file

Revision 1.19 / (download) - annotate - [select for diffs], Mon Dec 26 23:05:05 2016 UTC (7 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Sync NPF with the version on github: backport standalone NPF changes,
which allow us to create and run separate NPF instances. Minor fixes.
(from rmind@)

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Sun Dec 18 07:40:50 2016 UTC (7 years, 3 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Pull up following revision(s) (requested by rmind in ticket #1319):
	sys/modules/npf/Makefile: revision 1.19
	sys/net/npf/files.npf: revision 1.18
	sys/net/npf/lpm.c: revision 1.1
	sys/net/npf/lpm.h: revision 1.1
	sys/net/npf/npf_impl.h: revision 1.62
	sys/net/npf/npf_tableset.c: revision 1.24
	sys/net/npf/npf_tableset_ptree.c: file removal
	sys/rump/net/lib/libnpf/Makefile: revision 1.18
This patches ditches the ptree(3) library, because it is broken (you
can get missing entries!).  Instead, as a temporary solution, we switch
to a simple linear scan of the hash tables for the longest-prefix-match
(lpm.c lpm.h) algorithm. In fact, with few unique prefixes in the set,
on modern hardware this simple algorithm is pretty fast anyway!
--
ditch ptree and use lpm
--
remove ptree add lpm

Revision 1.18 / (download) - annotate - [select for diffs], Fri Dec 9 02:50:06 2016 UTC (7 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

remove ptree add lpm

Revision 1.14.4.3 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:38 2016 UTC (8 years ago) by skrll
Branch: nick-nhusb
Changes since 1.14.4.2: +1 -2 lines
Diff to previous 1.14.4.2 (colored) to branchpoint 1.14 (colored)

Sync with HEAD

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jan 26 23:12:19 2016 UTC (8 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.16: +1 -2 lines
Diff to previous 1.16 (colored)

Put the kernelside rump kernel headers into <rump-sys> instead of
sprinkling them around the faction directories.  Avoids having
to add a CPPFLAGS (or several) to pretty much every component
Makefile.

Leave compat headers around in the old locations.

The commit changes some autogenerated files, but I'll fix the
generators shortly and regen.

Revision 1.14.4.2 / (download) - annotate - [select for diffs], Sun Dec 27 12:10:18 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.14.4.1: +3 -1 lines
Diff to previous 1.14.4.1 (colored) to branchpoint 1.14 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.16 / (download) - annotate - [select for diffs], Mon Oct 19 16:16:39 2015 UTC (8 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226
Changes since 1.15: +3 -1 lines
Diff to previous 1.15 (colored)

Add a COMMENT describing what each component roughly does.

"make describe" prints the comment.

Requested/inspired by Vincent Schwarzer on rumpkernel-users

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Tue Sep 22 12:06:16 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Sync with HEAD

Revision 1.15 / (download) - annotate - [select for diffs], Thu Aug 20 12:20:09 2015 UTC (8 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

add ioconf files for pseudo device attach prototypes

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:43 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.1.2.3: +12 -5 lines
Diff to previous 1.1.2.3 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:56:52 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.13: +5 -3 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Rebase.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Jul 19 18:24:16 2014 UTC (9 years, 8 months ago) by rmind
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base, netbsd-7-base, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Branch point for: nick-nhusb, netbsd-7-nhusb, netbsd-7
Changes since 1.13: +5 -3 lines
Diff to previous 1.13 (colored)

NPF: partially rewrite the connection tracking mechanism:
- Separate the tracking interface from the storage (state table)
  and thus prepare to use a new data structure for the storage.
- Fix some race conditions in NAT association logic.

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Thu May 22 11:41:17 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2.2.3: +14 -8 lines
Diff to previous 1.2.2.3 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:20 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.7: +12 -7 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

sync with head

Revision 1.13 / (download) - annotate - [select for diffs], Fri Apr 4 13:57:33 2014 UTC (10 years ago) by njoly
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Branch point for: tls-earlyentropy
Changes since 1.12: +3 -1 lines
Diff to previous 1.12 (colored)

No lint for rumpnet npf library.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 13 02:07:24 2014 UTC (10 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

rename component.c -> npf_component.c

Revision 1.11 / (download) - annotate - [select for diffs], Mon Mar 3 19:09:52 2014 UTC (10 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.10: +3 -1 lines
Diff to previous 1.10 (colored)

also include bsd.own.mk, so value for RUMP_NPF_TESTING can come from mk.conf

Revision 1.10 / (download) - annotate - [select for diffs], Mon Mar 3 14:01:30 2014 UTC (10 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored)

For now, make it possible to not specify -D_NPF_TESTING by compiling
with RUMP_NPF_TESTING_=no.  This in turn makes it possible to use npf
in a rump kernel for real packet filtering instead of just testing.

no change to default

Revision 1.9 / (download) - annotate - [select for diffs], Fri Nov 8 00:38:27 2013 UTC (10 years, 5 months ago) by rmind
Branch: MAIN
Changes since 1.8: +6 -6 lines
Diff to previous 1.8 (colored)

NPF: add support for specifying the interfaces before they are attached.
If an interface is or gets detached, all associated rules and connections
will be deactivated (it might be useful to have an option to invalidate
the associated connections).  Once the interface is reattached they will
become active.

Bump NPF_VERSION.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Sep 19 01:49:07 2013 UTC (10 years, 6 months ago) by rmind
Branch: MAIN
Changes since 1.7: +4 -5 lines
Diff to previous 1.7 (colored)

NPF: G/C n-code in favour of BPF byte-code.  Delete lots of code, mmm!

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:29 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.1.2.2: +4 -3 lines
Diff to previous 1.1.2.2 (colored)

resync from head

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jun 2 02:20:04 2013 UTC (10 years, 10 months ago) by rmind
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

- NPF connection tracking: rework synchronisation on tracking disable/enable
  points and document it.  Split the worker thread into a separate module
  with an interface, so it could be re-used for other tasks.
- Replace ALG list with arrays and thus hit fewer cache lines.
- Misc bug fixes.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Mar 12 21:12:47 2013 UTC (11 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: khorben-n900, agc-symver-base, agc-symver
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

normali{s,z}e

Revision 1.5 / (download) - annotate - [select for diffs], Sun Mar 10 21:01:19 2013 UTC (11 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

remember to detach and add if_npflog module

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:10 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.1.2.1: +3 -5 lines
Diff to previous 1.1.2.1 (colored)

resync with head

Revision 1.2.4.5 / (download) - annotate - [select for diffs], Mon Feb 11 21:49:50 2013 UTC (11 years, 2 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1
Changes since 1.2.4.4: +3 -3 lines
Diff to previous 1.2.4.4 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Pull up following revision(s) (requested by rmind in ticket #817):
	usr.sbin/npf/npfctl/npfctl.8: revision 1.12
	usr.sbin/npf/npfctl/npf.conf.5: revision 1.27
	usr.sbin/npf/npfctl/npf_parse.y: revision 1.18
	usr.sbin/npf/npfctl/npf_build.c: revision 1.20
	usr.sbin/npf/npfctl/npfctl.c: revision 1.28
	lib/libnpf/npf.c: revision 1.16
	usr.sbin/npf/npfctl/npfctl.c: revision 1.29
	lib/libnpf/npf.c: revision 1.17
	sys/modules/npf/Makefile: revision 1.12
	sys/net/npf/npf_rproc.c: revision 1.6
	usr.sbin/npf/npftest/README: revision 1.4
	sys/net/npf/npf_tableset.c: revision 1.17
	sys/net/npf/npf_ctl.c: revision 1.21
	sys/net/npf/npf_ctl.c: revision 1.22
	usr.sbin/npf/npfctl/npfctl.h: revision 1.25
	lib/libnpf/npf.h: revision 1.13
	usr.sbin/npf/npftest/npftest.conf: revision 1.2
	usr.sbin/npf/npfctl/npfctl.h: revision 1.26
	sys/net/npf/npf_ruleset.c: revision 1.17
	lib/libnpf/npf.h: revision 1.14
	sys/net/npf/npf_ruleset.c: revision 1.18
	sys/net/npf/npf_conf.c: revision 1.1
	usr.sbin/npf/npfctl/npf_scan.l: revision 1.10
	sys/net/npf/npf_conf.c: revision 1.2
	sys/net/npf/npf_instr.c: revision 1.16
	sys/net/npf/npf_handler.c: revision 1.26
	sys/net/npf/npf_impl.h: revision 1.26
	usr.sbin/npf/npfctl/npf_disassemble.c: revision 1.14
	sys/net/npf/npf_processor.c: revision 1.15
	sys/net/npf/npf_impl.h: revision 1.27
	sys/net/npf/npf_alg_icmp.c: revision 1.15
	usr.sbin/npf/npfctl/npf_disassemble.c: revision 1.15
	usr.sbin/npf/npfctl/npf_disassemble.c: revision 1.16
	sys/net/npf/npf_ncode.h: revision 1.11
	sys/net/npf/files.npf: revision 1.10
	usr.sbin/npf/npftest/Makefile: revision 1.4
	usr.sbin/npf/npfctl/npfctl.c: revision 1.30
	lib/libnpf/npf.3: revision 1.8
	usr.sbin/npf/npftest/libnpftest/npf_rule_test.c: revision 1.4
	sys/net/npf/npf_session.c: revision 1.21
	usr.sbin/npf/npftest/libnpftest/npf_rule_test.c: revision 1.5
	usr.sbin/npf/npfctl/npf_build.c: revision 1.18
	usr.sbin/npf/npfctl/npf_build.c: revision 1.19
	sys/net/npf/npf_alg.c: revision 1.7
	usr.sbin/npf/npfctl/Makefile: revision 1.10
	sys/net/npf/npf_inet.c: revision 1.21
	sys/net/npf/npf.h: revision 1.26
	sys/net/npf/npf.h: revision 1.27
	usr.sbin/pf/ftp-proxy/Makefile: revision 1.8
	sys/net/npf/npf_nat.c: revision 1.19
	sys/net/npf/npf.c: revision 1.15
	sys/net/npf/npf_state.c: revision 1.14
	sys/net/npf/npf_sendpkt.c: revision 1.14
	sys/rump/net/lib/libnpf/Makefile: revision 1.4
IPv6 linklocal address printing cosmetics
NPF:
- Implement dynamic NPF rules.  Controlled through npf(3) library of via
  npfctl rule command.  A rule can be removed using a unique identifier,
  returned on addition, or using a key which is SHA1 hash of the rule.
  Adjust npftest and add a regression test.
- Improvements to rule inspection mechanism.
- Initial BPF support as an alternative to n-code.
- Minor fixes; bump the version.
Disable -DWITH_NPF for now; will be converted to BPF mechanism.
- Fix NPF config reload with dynamic rules present.
- Implement list and flush commands on a dynamic ruleset.
Allow filtering on IP addresses even if the L4 protocol is unknown.
Patch from spz@.
npftest: adjust for recent change.

Revision 1.2.4.4 / (download) - annotate - [select for diffs], Sat Feb 9 04:13:28 2013 UTC (11 years, 2 months ago) by riz
Branch: netbsd-6
Changes since 1.2.4.3: +1 -3 lines
Diff to previous 1.2.4.3 (colored) to branchpoint 1.2 (colored)

sys/kern/uipc_mbuf.c                            1.148
sys/net/npf/npf.h                               1.25
sys/net/npf/npf_alg.c                           1.6
sys/net/npf/npf_alg_icmp.c                      1.14
sys/net/npf/npf_ext_log.c                       1.2
sys/net/npf/npf_ext_normalise.c                 1.2
sys/net/npf/npf_handler.c                       1.24-1.25
sys/net/npf/npf_impl.h                          1.25
sys/net/npf/npf_inet.c                          1.19-1.20
sys/net/npf/npf_instr.c                         1.15
sys/net/npf/npf_mbuf.c                          1.9-1.10
sys/net/npf/npf_nat.c                           1.18
sys/net/npf/npf_processor.c                     1.13-1.14
sys/net/npf/npf_rproc.c                         1.5
sys/net/npf/npf_ruleset.c                       1.15-1.16
sys/net/npf/npf_sendpkt.c                       1.13
sys/net/npf/npf_session.c                       1.19-1.20
sys/net/npf/npf_state.c                         1.13
sys/net/npf/npf_state_tcp.c                     1.12
sys/rump/net/lib/libnpf/Makefile                1.3
sys/sys/mbuf.h                                  1.151
usr.sbin/npf/npfctl/npfctl.c                    1.27
usr.sbin/npf/npftest/README                     1.3
usr.sbin/npf/npftest/libnpftest/npf_mbuf_subr.c 1.4
usr.sbin/npf/npftest/libnpftest/npf_nat_test.c  1.2
usr.sbin/npf/npftest/libnpftest/npf_nbuf_test.c 1.3-1.4
usr.sbin/npf/npftest/libnpftest/npf_processor_test.c 1.4
usr.sbin/npf/npftest/libnpftest/npf_rule_test.c 1.3
usr.sbin/npf/npftest/libnpftest/npf_state_test.c 1.4

        NPF: rework nbuf interface, simplify ICMP ALG, handle ICMP ECHO
        for traceroute.  Misc. other fixes.
        [rmind, ticket #777]

Update ticket #777 to fix build:

This component is not WARNS>3 clean (example: it includes socketvar.h
which does signed-unsigned comparison in an inline function).  Why it
compiled at all is one of those marvels of compiler technology.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Feb 9 03:35:34 2013 UTC (11 years, 2 months ago) by rmind
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

NPF:
- Implement dynamic NPF rules.  Controlled through npf(3) library of via
  npfctl rule command.  A rule can be removed using a unique identifier,
  returned on addition, or using a key which is SHA1 hash of the rule.
  Adjust npftest and add a regression test.
- Improvements to rule inspection mechanism.
- Initial BPF support as an alternative to n-code.
- Minor fixes; bump the version.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:52 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.2.2.2: +1 -3 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored)

sync with (a bit old) head

Revision 1.3 / (download) - annotate - [select for diffs], Wed Nov 21 11:03:13 2012 UTC (11 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7
Changes since 1.2: +1 -3 lines
Diff to previous 1.2 (colored)

This component is not WARNS>3 clean (example: it includes socketvar.h
which does signed-unsigned comparison in an inline function).  Why it
compiled at all is one of those marvels of compiler technology.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:51 2012 UTC (11 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.1: +7 -3 lines
Diff to previous 1.1 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.2.4.3 / (download) - annotate - [select for diffs], Sun Nov 18 22:38:38 2012 UTC (11 years, 4 months ago) by riz
Branch: netbsd-6
Changes since 1.2.4.2: +7 -3 lines
Diff to previous 1.2.4.2 (colored) to branchpoint 1.2 (colored)

Pull up following revision(s) (requested by rmind in ticket #693):
	lib/npf/ext_normalise/shlib_version: revision 1.1
	lib/libnpf/npf.c: revision 1.13
	distrib/sets/lists/modules/mi: revision 1.48
	sys/net/npf/npf_rproc.c: revision 1.3
	sys/net/npf/npf_rproc.c: revision 1.4
	sys/modules/npf/Makefile: revision 1.11
	usr.sbin/npf/npfctl/npfctl.h: revision 1.20
	lib/npf/ext_log/npfext_log.c: revision 1.1
	lib/libnpf/npf.h: revision 1.11
	sys/net/npf/npf_inet.c: revision 1.17
	sys/net/npf/npf_log.c: file removal
	sys/net/npf/npf_handler.c: revision 1.22
	distrib/sets/lists/base/shl.mi: revision 1.636
	sys/net/npf/npf_impl.h: revision 1.23
	usr.sbin/npf/npfctl/Makefile: revision 1.8
	lib/npf/Makefile: revision 1.1
	lib/npf/ext_log/shlib_version: revision 1.1
	lib/Makefile: revision 1.189
	distrib/sets/lists/comp/shl.mi: revision 1.236
	usr.sbin/npf/npfctl/npf_build.c: revision 1.14
	distrib/sets/lists/base/mi: revision 1.1007
	usr.sbin/npf/npfctl/npf_scan.l: revision 1.6
	distrib/sets/lists/base/mi: revision 1.1009
	sys/net/npf/npf.h: revision 1.21
	lib/npf/ext_normalise/npfext_normalise.c: revision 1.1
	etc/mtree/NetBSD.dist.base: revision 1.105
	lib/libnpf/Makefile: revision 1.3
	etc/mtree/NetBSD.dist.base: revision 1.106
	usr.sbin/npf/npfctl/npf_extmod.c: revision 1.1
	sys/net/npf/npf_ctl.c: revision 1.18
	lib/npf/ext_log/Makefile: revision 1.1
	distrib/sets/lists/comp/mi: revision 1.1781
	usr.sbin/npf/npfctl/npf_var.h: revision 1.4
	sys/net/npf/npf.c: revision 1.13
	sys/modules/Makefile: revision 1.111
	sys/net/npf/npf_ext_log.c: revision 1.1
	lib/npf/Makefile.inc: revision 1.1
	sys/net/npf/npf_ext_normalise.c: revision 1.1
	sys/net/npf/files.npf: revision 1.8
	sys/rump/net/lib/libnpf/Makefile: revision 1.2
	sys/modules/npf_ext_log/Makefile: revision 1.1
	lib/npf/ext_normalise/Makefile: revision 1.1
	usr.sbin/npf/npfctl/npfctl.c: revision 1.20
	usr.sbin/npf/npfctl/npf_parse.y: revision 1.13
	sys/modules/npf_ext_normalise/Makefile: revision 1.1
Implement dynamic NPF extensions interface.  An extension consists of
dynamically loaded module (.so) supplementing npfctl(8) and a kernel
module.  Move normalisation and logging functionality into their own
extensions.  More improvements to come.
Add /usr/lib/npf.
Add ./usr/libdata/debug/usr/lib/npf for rmind
Fix MKDEBUG set lists
ext_ops does not change during the life cycle and can be fetched without
the mutex held. This avoids confusion in the compiler about an uninitialized
variable ext_ops.
ok rmind@

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Sun Nov 18 21:45:08 2012 UTC (11 years, 4 months ago) by riz
Branch: netbsd-6
Changes since 1.2.4.1: +24 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored)

Pull up following revision(s) (requested by rmind in ticket #678):
	sys/rump/librump/rumpkern/rump.c: revision 1.243
	sys/rump/librump/rumpkern/rump.c: revision 1.244
	sys/rump/librump/rumpkern/rump.c: revision 1.245
	sys/rump/librump/rumpkern/rump.c: revision 1.246
	usr.sbin/npf/npftest/npftest.c: revision 1.5
	usr.sbin/npf/npftest/README: revision 1.2
	usr.sbin/npf/npftest/npftest.h: revision 1.5
	sys/rump/net/Makefile.rumpnetcomp: revision 1.5
	sys/rump/net/lib/libnpf/shlib_version: revision 1.1
	sys/net/npf/npf_impl.h: revision 1.22
	sys/rump/dev/lib/libnpf/Makefile: file removal
	usr.sbin/npf/npftest/Makefile: revision 1.3
	sys/rump/dev/lib/libnpf/component.c: file removal
	sys/rump/dev/lib/libnpf/shlib_version: file removal
	sys/net/npf/npf_state.c: revision 1.12
	sys/rump/net/lib/libnpf/component.c: revision 1.1
	usr.sbin/npf/npftest/libnpftest/npf_test_subr.c: revision 1.4
	usr.sbin/npf/npftest/libnpftest/npf_test.h: revision 1.6
	sys/rump/net/lib/libnpf/Makefile: revision 1.1
Move and rename librumpdev_npf to librumpnet_npf.
Enable the build of librumpnet_npf.
Add npf_state_setsampler() for _NPF_TESTING case.  This also fixes the build.
Call pserialize_init() during rump start-up, since librump/net/npf
uses it.
It helps to include the declaration of the routine being called.
We also need kcpuset_init() now.
Use correct routine name - kcpuset_sysinit() vs kcpuset_init()

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:55 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2.2.1: +28 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored)

sync with head

Revision 1.2.4.1, Sun Sep 16 13:47:42 2012 UTC (11 years, 6 months ago) by riz
Branch: netbsd-6
Changes since 1.2: +0 -28 lines
FILE REMOVED

file Makefile was added on branch netbsd-6 on 2012-11-18 21:45:08 +0000

Revision 1.2.2.1, Sun Sep 16 13:47:42 2012 UTC (11 years, 6 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2: +0 -28 lines
FILE REMOVED

file Makefile was added on branch yamt-pagecache on 2012-10-30 17:22:55 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Sun Sep 16 13:47:42 2012 UTC (11 years, 6 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Branch point for: yamt-pagecache, netbsd-6
Changes since 1.1: +7 -3 lines
Diff to previous 1.1 (colored)

Implement dynamic NPF extensions interface.  An extension consists of
dynamically loaded module (.so) supplementing npfctl(8) and a kernel
module.  Move normalisation and logging functionality into their own
extensions.  More improvements to come.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Aug 14 22:31:44 2012 UTC (11 years, 8 months ago) by rmind
Branch: MAIN
Branch point for: tls-maxphys

Move and rename librumpdev_npf to librumpnet_npf.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>