net/ntopng: listen address configuration, Redis password support, and other config improvments#5074
net/ntopng: listen address configuration, Redis password support, and other config improvments#5074BPplays wants to merge 12 commits intoopnsense:masterfrom
Conversation
…is validation to ensure valid pass for ntopng
… ntopng also work with just port change
|
To be frank we shouldn't do this. There's IPPortField which can do all of this (optional port) and continuing to drive a wedge between ports and address lists as separate entities in the model increase risks of bugs, misconfiguration and future maintenance. |
|
@fichtner i changed to using i also can't figure out a way to get output from a migration, writing to the console doesn't seem to work and writing to a file seems to also do nothing and the error im getting from |
performValidation\or`for ntopng see the--redisoption here (i feel like the simpler option is to disallow a Redis password that is invalid for ntopng but i could remove that check and add a warning to ntopng)requires opnsense/core#9500
P.S. is there any way to change the permissions of files; both redis.conf and ntopng.conf seem to be readable to all users and contain passwords