47b600efb7
hooks: fixed null pointer dereference in stats hook
2018-04-04 08:29:54 +02:00
be1a39b03b
hook: added new hook for rate limiting
2018-03-28 14:13:13 +02:00
c69d307bc9
improve Makefiles:
...
- moved all build-time options to Makefile.config
- build VILLASnode without hook support
- build VILLASnode without web & API support
- build VILLASnode without IO format support
- build VILLASnode without external plugins
2018-02-04 16:45:32 +01:00
0017d1bcb1
refactor: change include prefix
2018-02-04 16:40:52 +01:00
1965b8810d
stats: do not collect stats about reordering twice
2017-12-20 14:54:18 +01:00
daniel-k
78d23294af
lib: add missing includes of string.h
2017-11-02 13:08:12 +01:00
37f5bfe24c
c++: more porting
2017-10-20 11:54:00 +02:00
702dc34052
c++: add proper casts from void *
2017-10-20 11:54:00 +02:00
80ee8d786d
refactored sample by adding more *_many() functions
2017-10-16 08:09:07 +02:00
ce5f4e5a60
some refactoring in json parsing
2017-10-16 08:09:07 +02:00
4ed3dbe837
hook: reverte change for making decimate hook compatible in path
2017-09-23 23:51:38 -06:00
d4fde78129
hook: some refactoring for the map hook
2017-09-23 23:49:16 -06:00
8ed9cabb66
hook: allow decimate hook to be used in a path
2017-09-19 21:37:59 +02:00
d9d85ce2e8
mapping: fix restart
2017-09-16 15:33:57 +02:00
5e620942ce
adding new field "flags" to struct sample
2017-09-16 15:04:59 +02:00
edd0c63d13
renamed stats hook
2017-09-05 15:00:22 +02:00
12973f9088
json: accept integers for floating point settings
2017-09-04 23:16:58 +02:00
04f665070c
hook: bugfix in print hook
2017-09-04 18:04:13 +02:00
6d495c1a35
add new bitmask to samples to indicate which fields are valid
2017-09-04 14:28:55 +02:00
375287cd52
stats: refactor stats_send hook into a new node-type
2017-09-03 10:54:11 +02:00
526be78ca5
hook: from now on both paths and nodes can have hooks!
2017-09-02 14:27:58 +02:00
0a2777ad8d
hook: enable mapping of stats in "map" hook
2017-08-31 09:43:50 +02:00
382161b00b
mapping: move parser from node.c to mapping.c
2017-08-31 09:43:49 +02:00
b39a02732c
mapping: properly initialize mapping_entry::offset and mapping_entry:length
2017-08-30 23:52:48 +02:00
c2000e78b1
add sample_pool() macro to hide relative pointers
2017-08-30 23:51:41 +02:00
7cedb0edcd
mapping: replace struct mapping with a struct list
2017-08-28 14:35:50 +02:00
50b3529c90
improved mapping module to support node name prefixes
2017-08-28 12:48:15 +02:00
06c7066285
updated print hook to make use of new IO format system
2017-08-23 16:50:29 +02:00
07340a582e
hooks: fix config parser for stats hook
2017-08-23 15:49:22 +02:00
3519c9b2c8
hooks: use unsigned instead of size_t to count samples
2017-08-05 22:18:47 +02:00
dcbaf5d037
do not use global variables for hook jitter_calc ( closes #114 )
2017-08-03 00:20:14 +02:00
434fe6dbd6
replaced libconfig by jansson for parsing the configuration (huge commit)
2017-08-03 00:19:27 +02:00
a71053f718
refactor: use libconfig instance only within _parse() functions
2017-08-01 11:56:47 +02:00
bc83463831
added new format subsystem
2017-07-28 18:11:52 +02:00
d2300e7397
temp node test_rtt
2017-07-28 18:09:47 +02:00
b59a989278
cleanup trailing whitespaces
2017-07-25 12:07:06 +02:00
522ded3ea7
made most of Linux dependencies optional
...
VILLASnode now compiles on OS X Yosemite :-)
2017-07-25 12:07:06 +02:00
f569f14602
fix: several compiler warnings / errors emitted by clang
2017-07-25 12:07:05 +02:00
51d80b73ce
refactoring: json.c => config_helper.c & sample_io_json.c
2017-07-13 22:13:40 +02:00
e927795388
smaller cleanups
2017-07-12 12:20:11 +02:00
82bc32c206
stats_collect: fix regression
2017-07-12 12:20:11 +02:00
8f517a588a
hooks: every look should maintain its own pointers to past samples
2017-07-12 12:19:49 +02:00
cc6f6a6132
log: added new module to print fancy tables and use it for histograms as well as periodc stats
2017-07-12 12:19:49 +02:00
802f5d1c1e
hooks: improve error handling
2017-07-09 14:38:58 +02:00
f1c51c6b95
stats: destructors should have an integer return type
2017-07-09 14:37:02 +02:00
af30b2318e
hooks: fix invalid setting name
2017-06-29 19:19:52 +02:00
c1154faf40
fixed several format string compiler warnings / errors emitted by Ubuntu's GCC 5.4.0
2017-06-17 03:13:42 +02:00
31ca905013
stats: dont print periodic stats if path is not running
2017-05-28 19:42:52 +02:00
e1d5a11c9c
stats: parse 'veerbose' setting as boolean
2017-05-14 10:41:27 +02:00
c711f0f1bc
added warmup phase to histogram for better selection of min/max ( closes #12 )
2017-05-05 22:26:40 +00:00