summaryrefslogtreecommitdiff
path: root/lib/npf
AgeCommit message (Collapse)Author
2019-08-24libnpf fix: link the library itself to libnv; libnpf users should not bermind
expected to assume this dependency.
2018-09-29NPF: Major rework -- migrate NPF to the libnv library.rmind
- 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.
2013-09-11If a library needs a symbol from another library, pull that library injoerg
explicitly, even if the DT_NEEDED closure would normally already ensure the presence.
2013-03-13remove debuggingchristos
2013-03-13link against /libchristos
2013-03-12include bsd.own.mk first, otherwise compat build overwrites our installchristos
dirs.
2013-03-11fix error message and type of if_idxchristos
2013-03-11fix error messagechristos
2013-03-11auto-create the log interface and bring it up.christos
2013-03-10forgot to add the c filechristos
2013-03-10tabifyrmind
2013-03-10- rename ext_normalise to ext_normalizechristos
- move modules to from /usr/lib to /lib - centralize make rules
2012-12-10Add NPF "rndblock" extension to randomly drop packets (using a random functionrmind
with a percentage or modulo operation). This is a demo module, although it can be used for packet loss simulation. Example of a procedure in npf.conf: procedure "somedrop" { # Drop 1.9% of the traffic rndblock: percentage 1.9 }
2012-12-09Make the compat libs of npf extension shared libraries go to thespz
compat directories instead of overwriting the arch native libs. Also, make sure the compat directories get created. Tested on amd64.
2012-09-16Implement dynamic NPF extensions interface. An extension consists ofrmind
dynamically loaded module (.so) supplementing npfctl(8) and a kernel module. Move normalisation and logging functionality into their own extensions. More improvements to come.