-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[upd] httpx v0.21.2 --> v0.23.3 & httpx-socks v0.7.2 --> v0.7.5 #2302
Conversation
Related: https://github.com/searxng/searxng/security/dependabot/4 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Most probably, this code needs to be updated: searxng/searx/network/client.py Lines 63 to 126 in 2761147
Without diving into the httpx code, a simple check is to upgrade, start a with mitmproxy for example and configure SearXNG to use it. If the requests are sent through the proxy that's good. Note that socks4, socks5, http and https proxies need to be tested. And then other parameters need to be checked. I was hoping the version 0.24 to be released sooner. I will have a look at it tomorrow. |
From my side there is no need to hurry ... should we wait? --> encode/httpx#2534 (comment)
Thanks a lot, I would be overwhelmed with this for now / wouldn't know how to assemble a setup for a test :-o |
pygments==2.14.0 | ||
python-dateutil==2.8.2 | ||
pyyaml==6.0 | ||
httpx[http2]==0.21.2 | ||
httpx[http2]==0.23.3 | ||
Brotli==1.0.9 | ||
uvloop==0.17.0 | ||
httpx-socks[asyncio]==0.7.2 | ||
httpx-socks[asyncio]==0.7.5 | ||
setproctitle==1.3.2 | ||
redis==4.5.4 | ||
markdown-it-py==2.2.0 |
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.
copy @dalf's comment from return42@d86ec70#commitcomment-107513541 to here ..
The important thing to test is the proxy configuration (http and socks). When I have tried with mitmproxy and
verify: ~/.mitmproxy/mitmproxy-ca-cert.cer
I had an error. It worked before.
Another note: in new version httpx supports socks and http proxy but not https proxy. See: |
Closing in favor of #2644; Closing. |
Dependabot alerts but did not update the httpx dependencies.
@dalf what do you think, can upgrade httpx packages?
I test this PR on my instance https://darmarit.org/searx/ .. so far I could not detect any issues.
Related: https://github.com/searxng/searxng/security/dependabot/4