Repository navigation
Add QUIC support. - #5435
Add QUIC support.#5435
Conversation
- next_layer decisions - don't forward obsolete wakeups - remove excessive named arguments
4dd07c5 to
353627b
Compare
|
@mhils @meitinger, have you guys rolled out this feature in the latest release? |
|
This will be part of the next major release, but is only on the main branch for now. |
|
Hey, thanks for your amazing work ! I'm willing to try this out but I'm unable to route UDP trafic through mitmproxy. I'm running mitmproxy using transparent mode but it doesn't seem to be listening for incoming UDP packets: Is there any CLI parameter that would trigger UDP listening ? I'm using the HEAD of the main branch. |
|
@ShellCode33: QUIC support is very much experimental/undocumented/opt-in at the moment - there's still a ton of work ahead of us (with no clear timeline yet). You can start experimenting with it by running |
|
Thanks ! However it only listens to UDP, is there a way to listen to both TCP and UDP ? In order to support all HTTP versions at once. |
|
You can pass |
|
doesnt work for me: |
|
IIRC it is not supported. This PR adds some useful primitives to allow mitmproxy to support QUIC at some point, but this is not enough to intercept QUIC traffic transparently yet. |
|
See https://mitmproxy.org/posts/releases/mitmproxy10/ for the current state.
…On Wed, Dec 13, 2023, 00:44 ShellCode ***@***.***> wrote:
IIRC it is not supported. This PR adds some useful primitives to allow
mitmproxy to support QUIC at some point, but this is not enough to
intercept QUIC traffic transparently yet.
—
Reply to this email directly, view it on GitHub
<#5435 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHY2PVR7ZYLJSQE4A2CDH3YJDT5TAVCNFSM5Z7MUPP2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBVGMYDGOBTGY3A>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
OK so it seems I have to scope the interception to a single domain for time being? but even with that, if I start the proxy and try to enable with Android Studio, it says "Proxy is unreachable", where if I just run the normal |
I guess you are trying to use the built-in proxy feature of the emulator ? The emulator does not support UDP proxifying.
HTTP3 works over QUIC, which works over UDP. Therefore you either have to setup a wireguard tunnel, or use the TPROXY feature of the Linux kernel. |
Description
This is the PR for QUIC support in mitmproxy.
Checklist
TlsClienthelloHook,TlsFailedClientHookandTlsEstablishedClientHook.QuicTlsStartClientHookandQuicTlsStartServerHook).Http3ClientandHttp3Server.NextLayerdecisions.Extended UDP implementation to support connection roaming.[dropped by request]Implement and test upstream mode and[postponed until UDP/TCP mode merge]viahandling (if possible).