Skip to content
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

Introducing qos_net: a proxy + utilities to establish TCP connections to remote hosts/IPs from inside enclave apps #449

Merged
merged 21 commits into from
Jun 27, 2024

Conversation

r-n-o
Copy link
Contributor

@r-n-o r-n-o commented Jun 7, 2024

Summary & Motivation (Problem vs. Solution)

This PR introduces qos_net, a new crate containing a remote proxy and utilities to let enclave apps establish and use TCP connections to remote hosts.

Here's a pretty picture to visualize where qos_net::Proxy fits in the landscape:

image

How I Tested These Changes

New unit and integrations tests; significant cleanups are needed!

Pre merge check list

  • CI is green
  • Test this in mono
  • Update CHANGELOG.MD

@r-n-o r-n-o force-pushed the rno/qos-net-proxy branch from be1ad90 to 514cc8c Compare June 7, 2024 21:01
src/qos_net/src/error.rs Outdated Show resolved Hide resolved
src/qos_net/src/proxy.rs Outdated Show resolved Hide resolved
src/qos_net/src/proxy.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@emostov emostov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice - latest two commits look good

@emostov
Copy link
Contributor

emostov commented Jun 18, 2024

Wanted to highlight this in case you wanted to merge this before me merging the resharding service: #446 (comment)

@r-n-o r-n-o requested a review from a team as a code owner June 19, 2024 02:45
@r-n-o r-n-o force-pushed the rno/qos-net-proxy branch 2 times, most recently from 20849df to 261bd77 Compare June 24, 2024 18:18
@r-n-o r-n-o force-pushed the rno/qos-net-proxy branch from fe5f7ec to d290dfb Compare June 27, 2024 13:58
CHANGELOG.MD Outdated Show resolved Hide resolved
deserialized_inst, inst,
"Deserialized instance differs from the original"
);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

out of scope but this reminds me that we should re-enable the lint CI job that i think got disabled during the stagex merge

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can followup with a PR to do this, good idea.

Copy link
Contributor

@emostov emostov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@r-n-o r-n-o merged commit 0356f71 into main Jun 27, 2024
4 checks passed
@r-n-o r-n-o deleted the rno/qos-net-proxy branch June 27, 2024 20:17
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

Successfully merging this pull request may close these issues.

3 participants