Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • N nbdkit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nbdkit
  • nbdkit
  • Issues
  • #1
Closed
Open
Issue created Sep 02, 2021 by Richard W.M. Jones@rwmjonesOwner

nbd-client with TLS enabled cannot connect to nbdkit --tls=require

You can run these commands from the build directory to reproduce this problem:

$ nbdkit -U /tmp/sock -f -v --tls=require --tls-certificates tests/pki/ memory 1G
$ sudo nbd-client -u /tmp/sock -x -cacertfile tests/pki/ca-cert.pem -certfile tests/pki/client-cert.pem -keyfile tests/pki/client-key.pem -n /dev/nbd0

Fails with this error on the client side:

Warning: the oldstyle protocol is no longer supported.
This method now uses the newstyle protocol with a default export
Negotiation: ..E: received invalid negotiation magic 10641517674210066432 (expected 1100100111001001)

(Note I think this could be a bug in nbd-client)

Assignee
Assign to
Time tracking