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

Table curl is not using proxy_hostname configuration #8341

Open
lucasmrod opened this issue May 31, 2024 · 0 comments
Open

Table curl is not using proxy_hostname configuration #8341

lucasmrod opened this issue May 31, 2024 · 0 comments

Comments

@lucasmrod
Copy link
Contributor

Bug report

The table curl is not using the proxy_hostname configuration.

What operating system and version are you using?

Platform agnostic.

What version of osquery are you using?

5.12.2

What steps did you take to reproduce the issue?

Configure host with --proxy_hostname and query the curl table.

What did you expect to see?

I would expect curl to use the configured HTTP proxy to make its HTTPS requests.

What did you see instead?

The requests are not using the proxy configuration.

More information

Solutions I can think of:
A. The fix should be simple (moving the setting of the proxy from TLSTransport::getInternalOptions to TLSTransport::getOptions).
B. Alternative solution, considering some comments in #6034: add a column to curl table to specify whether to use the proxy or not.

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

1 participant