nDPIsrvd: Change user/group, allow listening on UNIX socket for incoming distributor connections

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni Uhlig
2020-09-05 17:52:34 +02:00
parent ec101fbc0f
commit ab374d193f
4 changed files with 151 additions and 21 deletions

View File

@@ -3,6 +3,7 @@
/* macros shared across multiple executables */
#define COLLECTOR_UNIX_SOCKET "/tmp/ndpid-collector.sock"
#define DISTRIBUTOR_UNIX_SOCKET "/tmp/npid-distributor.sock"
#define DISTRIBUTOR_HOST "127.0.0.1"
#define DISTRIBUTOR_PORT 7000