Vector35 / Vector35/binaryninja-api
Open URL does not work if I have a proxy server configured in binja
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 298
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 19
Description
I have a proxy server configured in network.httpsProxy. I run python -m http.server to spin up a quick HTTP server, and wish to open a helloworld file in the current folder. The HTTP download request does not work and a 503 is returned.
GET http://127.0.0.1:8000/helloworld HTTP/1.1
Host: 127.0.0.1:8000
User-Agent: Binary Ninja/4.0 free
Accept: */*
Proxy-Connection: Keep-Alive
HTTP/1.1 503 Service Unavailable
Connection: close
Proxy-Connection: close
Content-Length: 0
If I have no proxy configured the download works properly. I am not entirely sure whether this is a binja bug or not, but creating the issue to track it anyways
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with network.httpsProxy configured, a local python -m http.server, and a request for http://127.0.0.1:8000/helloworld. Trace the HTTP download and proxy handling paths to determine why the local request receives a 503. Done means the local URL downloads successfully with the proxy configured, with a regression test covering the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100