[vsock] Be more explict with host side socket shutdown
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- rust
- Domain
- networking
Research direction
Start by tracing the vsock proxy's handling of EOF from the underlying host socket and the code that sends VIRTIO_VSOCK_SHUTDOWN_F_SEND and VIRTIO_VSOCK_SHUTDOWN_F_RECEIVE. Done means read-half and write-half shutdowns can be distinguished and communicated independently to the guest.
Written by the indexing model from the issue text.
Description
Currently when we detect an EOF on a read from the underlying host socket that we are proxying to and from we treat this as if the TCP socket has closed. Under these conditions we are sending a vsock packet that tells the guest we have shut down our read and write halves via VIRTIO_VSOCK_SHUTDOWN_F_SEND | VIRTIO_VSOCK_SHUTDOWN_F_RECEIVE.
It would be nice to be able to distinguish a close of the read and write halves independently.
- Dominant language
- Rust
- Stars
- 270
- Forks
- 42
- Avg merge
- 4d 5h
- Merged PRs (30d)
- 6
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from oxidecomputer/propolis
-
development
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
oxidecomputer/propolis#1157 ·
-
enhancement storage
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
oxidecomputer/propolis#1011 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
oxidecomputer/propolis#1219 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
oxidecomputer/propolis#1214 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
oxidecomputer/propolis#1213 · 1 comment ·
All issues in oxidecomputer/propolis
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ontola/atomic-server#1625 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
VirusTotal/yara-x#777 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
stratum-mining/stratum#2404 ·
-
bug ci good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100