Commit graph

22 commits

Author SHA1 Message Date
Sam James
c4cd135323
build: respect environment options more (#6177)
* build: move away from configure.seed -> configure.ac

Analogous to the change in nDPI [0].

[0] cf931fda6b

Signed-off-by: Sam James <sam@gentoo.org>

* build: use $(MAKE)

This ensures that parallel make works correctly, as otherwise, a fresh
make job will be started without the jobserver fd, and hence
not know about its parent, forcing -j1.

Signed-off-by: Sam James <sam@gentoo.org>

* build: respect CXX, CXXFLAGS, LDFLAGS/LIBS

- Use standard CXX variable for the C++ compiler
- Respect CXXFLAGS from the environment
- LDFLAGS needs to be before objects in order for some flags to work
  like -Wl,--as-needed

Signed-off-by: Sam James <sam@gentoo.org>

* build: add comment for dynamic linking nDPI

It seems to work for me but add a commented
in line for now for convenience, not actually
changing behaviour right now.

(May want to make it a proper configure option
in future.)

Signed-off-by: Sam James <sam@gentoo.org>
2022-01-07 10:16:59 +01:00
Sam James
4e0be8ecd5
build: respect ${PKG_CONFIG} in Makefiles (#6173)
Allow overriding choice of pkg-config binary (this is useful
for cross-compilation in particular) within the Makefiles.

Not yet touching configure, so some work to be done still.

Signed-off-by: Sam James <sam@gentoo.org>
2022-01-03 17:15:06 +01:00
Alfredo Cardigliano
fb1173dfc8 json2tlv improvements: zmq version check 2019-11-21 10:57:27 +01:00
Alfredo Cardigliano
4579a11c2e Support for ZMQ CURVE encryption (testing, no public option yet), added encryption to the json2tlv test tool, updated the embedded ZMQ source to latest 4.1.x stable 2019-11-20 11:11:39 +01:00
Alfredo Cardigliano
9c32886d46 json2tlv deserialization API update 2019-09-19 12:09:50 +02:00
Alfredo Cardigliano
0260972c2e json2tlv improvements and error checking 2019-08-24 03:34:26 +02:00
Alfredo Cardigliano
faab4c6bbd Printing more info 2019-08-23 21:10:41 +02:00
Alfredo Cardigliano
70aa784e58 ZMQ struct update for TLV 2019-08-23 20:27:13 +02:00
cardigliano
d744883eed json2tlv cli fix 2019-08-23 19:38:44 +02:00
cardigliano
e82d347e3a json2tlv instruction and fixes 2019-08-23 19:13:25 +02:00
Alfredo Cardigliano
bcd7298865 nDPI serializer API udpate 2019-08-13 12:15:38 +02:00
Alfredo Cardigliano
1b4037a72f Improved export statistics 2019-07-25 15:36:55 +00:00
Alfredo Cardigliano
9f494d6126 Actual flow export stats 2019-07-25 15:23:57 +00:00
Alfredo Cardigliano
7552eb1b6c Enabled batching in json format 2019-07-22 17:37:44 +02:00
Alfredo Cardigliano
c5c3aaaec7 Fix json export in json2tlv 2019-07-19 20:37:45 +02:00
Alfredo Cardigliano
68e6bb86d2 Added -j option to generate JSON records 2019-07-19 20:21:33 +02:00
Alfredo Cardigliano
55772d2450 json2tlv improvements 2019-07-18 00:12:53 +02:00
Alfredo Cardigliano
e073c65921 Changed defaultbatch size 2019-07-17 19:15:52 +02:00
Alfredo Cardigliano
e2001d69c6 json2tlv now sends multiple records per message using the end_of_frame delimiter 2019-07-17 18:01:25 +02:00
Alfredo Cardigliano
6a1774d02d Cosmetic changes 2019-07-17 16:25:00 +02:00
Alfredo Cardigliano
f1fa1c0ad1 json2tlv Makefile 2019-07-17 13:56:09 +00:00
Alfredo Cardigliano
a338946d4a json2tlv tool 2019-07-17 08:55:06 +00:00