Project

General

Profile

Feature #9912

add custom DPI to ntopng

Added by ROB VANHOOREN 19 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
ntop
Target version:
-
Start date:
11/18/2019
Due date:
% Done:

0%

Estimated time:

Description

hi, since you don't read a conf file at startup, could you add the -p parameter to the startup script and point it to a file?

(i.e., adjust /usr/local/pkg/ntopng.inc so that it that generates the various bits)

for

/usr/local/etc/rc.d/ntopng.sh

add

-p /usr/local/etc/custom.protos

(say right after the -G pidspec and before the s flag; maybe touch the protos file too, if it doesn't exist)

fwiw, the custom.protos file takes the format as in https://github.com/ntop/nDPI/blob/dev/example/protos.txt

and allows users to reduce the amount of "Unknown" traffic classification, by including custom information for the nDPI parser.

thanks!!

Also available in: Atom PDF