So, I have been exploring #NNCP lately, and have it kind of sort of working...

But I struggle with a couple things:

How do you support multiple ip addresses from nncp-daemon?

https://nncp.mirrors.quux.org/nncp_002ddaemon.html#index-nncp_002ddaemon

Passing the -bind argument multiple times seems to be a last-argument-wins situation. It is unclear if wildcards work, if any. I have both #IPv4 and #IPv6 addresses, as well as multiples of each...

Run the daemon multiple times listening on different ports seems kind of excessive...

nncp-daemon (NNCP)

nncp-daemon (NNCP)

The second issue I am struggling with #NNCP is permissions...

I need to keep the nncp.hjson configuration file private, as there is secret key material in there...

The README.Debian suggests owning everything by user and group nncp, which makes sense...

But then if I want to use nncp-file as a normal user, I cannot read the configuration, and if I "sudo nncp-file ..." files in /var/spool/nncp end up owned by root and breaking things for the daemon running as nncp.

Simply configuring #NNCP to only run nncp-* commands as a user seems to work well enough for nodes not running a listening nncp daemon.

For a system running nncp-daemon I am still running as the "nncp" user and so "sudo -u nncp nncp-*" seems to work pretty well.