Maximilian Hils

Results 341 comments of Maximilian Hils

One workaround right now is to write a script that edits messages. They live-reload, so experimenting is relatively easy.

I'd be happy to accept a PR for this that amends the proxyauth addon!

Being able to read from multiple places would be awesome, that'd also be highly beneficial for pcap2mitm. The way to implement this is probably similar to what we do for...

"Transparent mode failure" indicates that we likely fail somewhere in here: https://github.com/mitmproxy/mitmproxy/blob/master/mitmproxy/platform/linux.py Maybe you can debug that the professional way using print statements. My guess would be this is a...

Thanks! That pretty much confirms my hypothesis of the syscall not working as intended. This also happens if you run mitmproxy as root? The FileNotFoundError generated by Python doesn't really...

> what is passed when this method is called? I'd like to dummy-test it, see what I can figure out. We pass a regular `socket.socket` object for the connection obtained...

See https://github.com/mitmproxy/mitmproxy/issues/3533#issuecomment-640811676.

Ways we could fix this: - Make har_dump.py respect filters - Generally do filtering when reading flows, not just when writing flows. - Declare it as intended behaviour. Not sure...

I think option 2 is the most promising one - if a filter is specified, we should also use it when reading.

@PiyushGoyal443: I believe you can just search the codebase for `FlowReader` invocations?