Skip to content

NSM URL and liblo shortcomings #54

@diovudau

Description

@diovudau

At the moment it is not possible to let nsmd run under an url of the users choice.
@SpotlightKid researched the following

  • liblo with IPv6 does not work reliably. nsmd/libo-server started with ipv6 will only listen on ipv6. Clients that connect with ipv4 will not connect (e.g. jackpatch. but the pynsm clients will. This can lead to confusion because it seems like it is partially working)
  • liblo OSC server cannot be instructed to bind to a specific hostname or network interface. It binds to all available interfaces.
  • you cannot get nsmd to only listen on/to localhost, only 0.0.0.0 etc.
  • the port can be chosen
    ** nsmd only offers --osc-port
    ** nsm-legacy-gui offers --nsm-url but that is only to connect to a running server. If not existent it will not start one
  • Unrelated, but also important: historically liblo was bad with tcp/ip, therefor nsmd chose UDP in 2012. It needs to be reviewed if this is still a problem because TCP is the better protocoll for session management.

Besides security issues (which may or may not be relevant for an audio-production system, that is not the question here) this may lead to problems with more advanced network setups

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions