Skip to content

Separate control control port and extranet port #11

@cajax

Description

@cajax

At present anyone can access the control protocol because it is served by the same HTTP server. It is not a big deal unless config is leaked but it is still more prudent to split control and incoming servers. With it, one can expose the incoming server to the extranet via NGINX or simply a firewall while keeping the control protocol safe.

  • add listenControl config option. Validate that listen and listenControl are not identical
  • Add HTTP server for control protocol and move controlHandler to it
  • update config example and readme

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions