Skip to content

setting up rustls handshake between MigTDs using vmcall-vsock interface #346

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
spitfire88 opened this issue Mar 10, 2025 · 0 comments
Open
Assignees

Comments

@spitfire88
Copy link

Hi folks,
I am trying to get MigTD-MigTD communication set up using vmcall-vsock interface. The hypervisor used does not support virtio-serial/virtio-vsock and hence we need to exercise the vmcall-vsock interface to set up the TLS handshake.

MigTD-s sends a payload of size 275 to MigTD-d. This is the hello packet initiated by MigTD-s. In response to that, MigTD-d is generating a response packet of size 46823 down to destination VMM. This does not seem to be correct.

According to the TLS spec, the response "hello" from server side should be shorter in length.

The payload dump shared here: tls_hello_handshake_payload.txt

We are building the main branch tip "(build(deps): bump KyleMayes/install-llvm-action from 2.0.5 to 2.0.6)", with "vsock: pop all the received packets" patch reverted.

MigTD is built with command: cargo image --no-default-features --features=vmcall-vsock

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants