Skip to content

Instantly share code, notes, and snippets.

@errorxyz
errorxyz / GSoC24-final-report.md
Last active January 24, 2025 08:51
GSoC'24 Final Report - mitmproxy

GSoC Final Report

Project: Improving support for DNS and HTTP3 in mitmproxy
Contributor: Gaurav Jain
Organization: The Honeynet Project
Mentor: Maximilian Hils, Emanuele Micheletti

Project Overview

This file has been truncated, but you can view the full file.
mitmdump --mode reverse:http3://http3.is@443 --mode reverse:https://http3.is@443 --set proxy_debug -vvv
[00:16:00.036] Initializing UDP server ...
[00:16:00.036] UDP server listening on 0.0.0.0:443 ...
[00:16:00.036] reverse proxy to https://http3.is listening at *:443.
[00:16:00.036] UDP server successfully initialized.
[00:16:00.036] Initializing UDP server ...
[00:16:00.036] UDP server listening on [::]:443 ...
[00:16:00.036] UDP server successfully initialized.
[00:16:00.036] reverse proxy to http3://http3.is listening at *:443.
[00:16:04.002][[::1]:55906] client connect
This file has been truncated, but you can view the full file.
mitmdump --mode reverse:http3://http3.is@443 --mode reverse:https://http3.is@443 --set proxy_debug -vvv
[00:13:01.063] Initializing UDP server ...
[00:13:01.063] UDP server listening on 0.0.0.0:443 ...
[00:13:01.063] UDP server successfully initialized.
[00:13:01.063] reverse proxy to https://http3.is listening at *:443.
[00:13:01.063] Initializing UDP server ...
[00:13:01.063] UDP server listening on [::]:443 ...
[00:13:01.063] UDP server successfully initialized.
[00:13:01.063] reverse proxy to http3://http3.is listening at *:443.
[00:13:07.964][127.0.0.1:59357] client connect
@errorxyz
errorxyz / gist:61a851f7a5a8d23d4eaa817e8ea780d2
Created August 18, 2024 17:10
HTTP3 reverse proxy: Accessing using IP via firefox
mitmdump --mode reverse:https://http3.is@443 --mode reverse:http3://http3.is@443 --set proxy_debug -vvv
[22:38:27.216] Initializing UDP server ...
[22:38:27.216] UDP server listening on 0.0.0.0:443 ...
[22:38:27.220] reverse proxy to https://http3.is listening at *:443.
[22:38:27.220] UDP server successfully initialized.
[22:38:27.220] Initializing UDP server ...
[22:38:27.221] UDP server listening on [::]:443 ...
[22:38:27.221] UDP server successfully initialized.
[22:38:27.223] reverse proxy to http3://http3.is listening at *:443.
[22:38:32.299][127.0.0.1:63616] client connect
@errorxyz
errorxyz / gist:0f81b5d8ef3d1921e1b2deb08c24e990
Created August 18, 2024 17:05
HTTP3 over local mode: using firefox to access cloudflare-quic.com
This file has been truncated, but you can view the full file.
mitmdump --mode local:firefox --set proxy_debug -vvv --set experimental_transparent_http3=true
[22:30:23.889] Initializing Windows proxy ...
[22:30:23.890] starting C:\Users\gjain\OneDrive\Documents\git\mitmproxy\venv\Lib\site-packages\mitmproxy_windows\windows-redirector.exe \\.\pipe\mitmproxy-transparent-proxy-9044
[22:30:25.154] Windows proxy successfully initialized.
[22:30:25.154] Waiting for events ...
[22:30:25.155] Waiting for IPC connection...
[22:30:25.156] Local redirector started.
[22:30:25.156] Waiting for events ...
[22:30:25.234] IPC connected!
[22:30:28.589] TODO: Implement IPv6 next_header logic.
@errorxyz
errorxyz / gist:ce85d0d75428462216d6bd96898e6ac8
Created August 18, 2024 12:03
StopSendingReceived crash log
This file has been truncated, but you can view the full file.
mitmdump --mode reverse:https://http3.is@443 --mode reverse:http3://http3.is@443 --set proxy_debug -vvv
[17:24:38.412] Initializing UDP server ...
[17:24:38.413] UDP server listening on 0.0.0.0:443 ...
[17:24:38.414] reverse proxy to https://http3.is listening at *:443.
[17:24:38.415] UDP server successfully initialized.
[17:24:38.415] Initializing UDP server ...
[17:24:38.416] UDP server listening on [::]:443 ...
[17:24:38.416] UDP server successfully initialized.
[17:24:38.417] reverse proxy to http3://http3.is listening at *:443.
[17:24:44.274][127.0.0.1:53583] client connect