Closed Gordiievskyi closed 4 years ago
We're rewriting to remove the netty/littleproxy dependency (where this is happening) and will instead be using MITMproxy. Closing this for now as the code where it is happening is getting bulldozed.
@ericbeland: Sorry for the off-topic question, but would appreciate if you could answer this: Would switching to MITMproxy still keep the BUP Java API and features mostly intact or there's going to be significant change in functionality?
That's a great question. This will be a breaking API change. Intention-wise, the goal was not to drop functionality unless forced to. Areas we've been forced to that I remember offhand might include dynamic filter limitations, slowing down requests for bandwidth simulation, allowlist/blocklist (changes, not removal). There could be more.
On the flip side, we will work with HTTP/2 and websockets correctly which is a necessity these days.
That doesn't sound too bad. I'm sure the pros outweigh the cons, and MITMproxy should make for a more stable (and actively maintained) base to build on.
@ericbeland I use black list to prevent some overlays to load, is this functionality absent at all or just has changed endpoint and/or params ? Same with filters - I use them to simulate 'disable cache' so question is same.
It might be changed endpoint or params. We need allow/block for ourselves, so I'd anticipate that will be there. I'd have to look through on the disable cache question.
@ericbeland Its a good news will wait for the filter updates
@Gordiievskyi How do you use filters to disable cache?
Describe the bug In my logs I often see next error message:
To Reproduce Steps to reproduce the behavior: Steps to reproduce the behavior:
./browserup-proxy-2.0.1/bin/browserup-proxy -port 8080
curl --location --request POST '0.0.0.0:8080/proxy?trustAllServers=true&port=8081'
curl --location --request PUT '0.0.0.0:8080/proxy/8081/har?captureHeaders=true&captureCookies=true&captureContent=true&captureBinaryContent=true&initialPageRef=MyPage%20112&initialPageTitle=My%20Page' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-raw ''
open -a "Google Chrome" --args --proxy-server="http://0.0.0.0:8081" --profile-directory=Default5
https://www.wsj.com/
wait for content to be loaded.Expected behavior In BUP proxy logs there no exception
Please complete the following information:
Additional context