Commit Graph

13 Commits

Author SHA1 Message Date
joerg 975a152cfc If a library needs a symbol from another library, pull that library in
explicitly, even if the DT_NEEDED closure would normally already ensure
the presence.
2013-09-11 23:04:09 +00:00
christos d46bb1b7ef remove debugging 2013-03-13 13:16:38 +00:00
christos a892d1d365 link against /lib 2013-03-13 02:32:05 +00:00
christos f271f70e13 include bsd.own.mk first, otherwise compat build overwrites our install
dirs.
2013-03-12 20:02:40 +00:00
christos 364fc868d0 fix error message and type of if_idx 2013-03-11 00:29:09 +00:00
christos 70db60e43f fix error message 2013-03-11 00:18:11 +00:00
christos a497a64d11 auto-create the log interface and bring it up. 2013-03-11 00:03:18 +00:00
christos 2c148c8265 forgot to add the c file 2013-03-10 21:49:26 +00:00
rmind 4425b99c58 tabify 2013-03-10 21:45:46 +00:00
christos 885f7abecf - rename ext_normalise to ext_normalize
- move modules to from /usr/lib to /lib
- centralize make rules
2013-03-10 21:41:05 +00:00
rmind 333cdb0c5a Add NPF "rndblock" extension to randomly drop packets (using a random function
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-10 00:32:23 +00:00
spz 0d6a8650f8 Make the compat libs of npf extension shared libraries go to the
compat directories instead of overwriting the arch native libs.
Also, make sure the compat directories get created. Tested on amd64.
2012-12-09 22:06:21 +00:00
rmind 8c6e21bf5e 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.
2012-09-16 13:47:41 +00:00