Skip to content
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

martian: add logging when new connections are dialed #645

Closed
mmatczuk opened this issue Jan 10, 2024 · 0 comments · Fixed by #727
Closed

martian: add logging when new connections are dialed #645

mmatczuk opened this issue Jan 10, 2024 · 0 comments · Fixed by #727
Assignees
Labels
Milestone

Comments

@mmatczuk
Copy link
Contributor

Related to #514

We have CONNECT with upstream HTTP proxy: XXX:PPP for connect requests I'd like to see debug logs for every dialed connection.

@mmatczuk mmatczuk added this to the v1.2 milestone Jan 10, 2024
@mmatczuk mmatczuk added the log label Feb 2, 2024
@mmatczuk mmatczuk self-assigned this Feb 12, 2024
mmatczuk added a commit that referenced this issue Feb 28, 2024
mmatczuk added a commit that referenced this issue Feb 28, 2024
2024/02/28 14:55:23.447579 [proxy] [DEBUG] closing connection from 127.0.0.1:54332 duration=1.982912042s
2024/02/28 14:56:10.294136 [proxy] [DEBUG] accepted connection from 127.0.0.1:54337
2024/02/28 14:56:10.294249 [proxy] [DEBUG] [2-4c948b90] read CONNECT request host=google.com:443
2024/02/28 14:56:10.294267 [proxy] [DEBUG] [2-4c948b90] CONNECT to host directly: google.com:443
2024/02/28 14:56:10.294271 [proxy] [DEBUG] [2-4c948b90] opening connection to tcp google.com:443
2024/02/28 14:56:10.353445 [proxy] [DEBUG] [2-4c948b90] connection to tcp google.com:443 established duration=59.166ms

Fixes #645
mmatczuk added a commit that referenced this issue Feb 28, 2024
2024/02/28 14:55:23.447579 [proxy] [DEBUG] closing connection from 127.0.0.1:54332 duration=1.982912042s
2024/02/28 14:56:10.294136 [proxy] [DEBUG] accepted connection from 127.0.0.1:54337
2024/02/28 14:56:10.294249 [proxy] [DEBUG] [2-4c948b90] read CONNECT request host=google.com:443
2024/02/28 14:56:10.294267 [proxy] [DEBUG] [2-4c948b90] CONNECT to host directly: google.com:443
2024/02/28 14:56:10.294271 [proxy] [DEBUG] [2-4c948b90] opening connection to tcp google.com:443
2024/02/28 14:56:10.353445 [proxy] [DEBUG] [2-4c948b90] connection to tcp google.com:443 established duration=59.166ms

Fixes #645
mmatczuk added a commit that referenced this issue Feb 28, 2024
2024/02/28 14:55:23.447579 [proxy] [DEBUG] closing connection from 127.0.0.1:54332 duration=1.982912042s
2024/02/28 14:56:10.294136 [proxy] [DEBUG] accepted connection from 127.0.0.1:54337
2024/02/28 14:56:10.294249 [proxy] [DEBUG] [2-4c948b90] read CONNECT request host=google.com:443
2024/02/28 14:56:10.294267 [proxy] [DEBUG] [2-4c948b90] CONNECT to host directly: google.com:443
2024/02/28 14:56:10.294271 [proxy] [DEBUG] [2-4c948b90] opening connection to tcp google.com:443
2024/02/28 14:56:10.353445 [proxy] [DEBUG] [2-4c948b90] connection to tcp google.com:443 established duration=59.166ms

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

Successfully merging a pull request may close this issue.

1 participant