Skip to content

Call ConnectionErrHandler for MITM TLS handshake errors #674

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

buxomant
Copy link

@buxomant buxomant commented Apr 1, 2025

ConnectionErrHandler is being called for a couple other error cases in this file, but not for TLS handshake errors specifically. I assume this was an oversight, because I otherwise couldn't find any other way of (easily) detecting TLS handshake errors via goproxy.

After making this change, I could confirm it was executing on handshake errors as expected -- I needed this to detect SSL pinning in a small network capture app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant