Replies: 1 comment 1 reply
-
Take a look at https://docs.mitmproxy.org/stable/api/events.html#TLSEvents
:)
…On Fri, Jan 5, 2024, 07:23 Changsin ***@***.***> wrote:
How can I capture any tls_handshake errors? I tried writing a simple
script like the following but it's not capturing the event.
def tls_handshake(flow):
if flow.error:
print(f"TLS Handshake failed for {flow.server_conn.address}")
print(f"Error: {flow.error}")
addons = [
tls_handshake
]
TLS handshake errors are displayed by mitmdump but not mitmproxy and it
makes error handling and debugging difficult.
—
Reply to this email directly, view it on GitHub
<#6584>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHY2PTYNPARDBRBMGPIBFTYM6L5HAVCNFSM6AAAAABBN7D3O6VHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWGAZTANZQGA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I capture any tls_handshake errors? I tried writing a simple script like the following but it's not capturing the event.
TLS handshake errors are displayed by mitmdump but not mitmproxy and it makes error handling and debugging difficult.
Beta Was this translation helpful? Give feedback.
All reactions