Feature #9912
closedadd custom DPI to ntopng
0%
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!!
Updated by Denny Page about 2 months ago
Beginning with version 5.6.0 of the ntopng package in April of 2024, the ntopng package does use a configuration file, and supports direct addition of custom configuration lines via the "Additional configuration for ntopng.conf" section in the package.
This request can be closed as completed.