This repository has been archived by the owner on Jan 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Implement proxy v2 architecture, in Rust #127
Closed
Commits on Nov 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for dca4722 - Browse repository at this point
Copy the full SHA dca4722View commit details
Commits on Nov 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2e1a7a9 - Browse repository at this point
Copy the full SHA 2e1a7a9View commit details -
docs: make security properties explicit
Co-authored-by: Kunal Mehta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 61305c1 - Browse repository at this point
Copy the full SHA 61305c1View commit details -
WIP: Rewrite in Rust, with proxy v2 behavior
Co-authored-by: Kunal Mehta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c38a2da - Browse repository at this point
Copy the full SHA c38a2daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5daad51 - Browse repository at this point
Copy the full SHA 5daad51View commit details
Commits on Nov 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3455544 - Browse repository at this point
Copy the full SHA 3455544View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fcc5ac - Browse repository at this point
Copy the full SHA 8fcc5acView commit details
Commits on Nov 27, 2023
-
[WIP] feat: explicitly check origin after parsing
We care about the preservation of the entire configured origin tuple (scheme, host, port), not just the hostname.[1] However, there is a tension in considering whether this check is valuable: 1. On the one hand, as @legoktm has pointed out, if Url::parse() is compromised, why should we trust the result of Url::Url.origin()? 2. On the other hand, as Daniel Stenberg has documented, "mixing parsers is considered a security risk".[2] [1]: https://url.spec.whatwg.org/#origin [2]: https://daniel.haxx.se/blog/2022/01/10/dont-mix-url-parsers/
Configuration menu - View commit details
-
Copy full SHA for 0dbd91d - Browse repository at this point
Copy the full SHA 0dbd91dView commit details
Commits on Dec 4, 2023
-
Return ExitCode instead of using process::exit()
`process::exit()` immediately terminates with the given exit code, meaning that no destructors are run. For our purposes it shouldn't matter much, but let's exit the graceful way.
Configuration menu - View commit details
-
Copy full SHA for cfafa90 - Browse repository at this point
Copy the full SHA cfafa90View commit details
Commits on Dec 5, 2023
-
Rewrite the existing tests to be integration tests against a compiled Rust binary. We use the httpbin library to start up a Python webserver and instruct the proxy to connect to it. This allows to test connection properties that aren't recordable in the VCR format, like timeouts or streamed responses. The tests are reorganized to be split into proxy handling and error handling.
Configuration menu - View commit details
-
Copy full SHA for 10c80ac - Browse repository at this point
Copy the full SHA 10c80acView commit details -
And remove the Python CI. We still need to set up cargo-audit and cargo-vet jobs.
Configuration menu - View commit details
-
Copy full SHA for b2279fd - Browse repository at this point
Copy the full SHA b2279fdView commit details
Commits on Dec 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6ad5296 - Browse repository at this point
Copy the full SHA 6ad5296View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.