-
Notifications
You must be signed in to change notification settings - Fork 7k
feat: introducing a network sandbox proxy #8442
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
base: main
Are you sure you want to change the base?
Conversation
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
| "http://127.0.0.1:8080".to_string() | ||
| } | ||
|
|
||
| fn default_ca_cert_path() -> PathBuf { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, so these are intended to be relative paths?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah I meant this to have mitm/{cert} as a relative path to $CODEX_HOME - what would make the most sense since we support multiple places to have codex config
This add a new crate,
codex-network-proxy, a local network proxy service used by Codex to enforce fine-grained network policy (domain allow/deny) and to surface blocked network events for interactive approvals.codex-rs/network-proxy/(codex-network-proxybinary + library)docs/network-proxy-quickstart.mddescribing how to build/run the proxy locally and how to configure itWill follow up integration with codex in subsequent PRs.
Testing
cd codex-rs && cargo build -p codex-network-proxycd codex-rs && cargo run -p codex-network-proxy -- proxycurlviaHTTP_PROXY/HTTPS_PROXYas described indocs/network-proxy-quickstart.md