ooni-probe-cli/internal/engine/netx/tlsdialer
DecFox a72cc7151c
tls_handshakes: add endpoint addresses to handshake list (#711)
* tls_handshakes: add IP addresses

* tls_handshakes: extract ip from tcp-connect

* tls_handshake: switched to trace event

* saver.go: get remoteAddr before handshake

Not sure whether this is strictly necessary, but I'd rather take the
remoteAddr before calling Handshake, just in case a future version
of the handshake closes the `conn`. In such a case, `conn.RemoteAddr`
would return `nil` and we would crash here.

This occurred to me while reading once again the diff before merging.

Co-authored-by: decfox <decfox>
Co-authored-by: Simone Basso <bassosimone@gmail.com>
2022-05-06 11:09:54 +02:00
..
eof_test.go refactor(netx): extract tlsdialer from dialer 2021-06-08 12:52:15 +02:00
fake_test.go refactor(netx): extract tlsdialer from dialer 2021-06-08 12:52:15 +02:00
integration_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
saver_test.go cleanup: remove unnecessary legacy interfaces (#656) 2022-01-07 18:33:37 +01:00
saver.go tls_handshakes: add endpoint addresses to handshake list (#711) 2022-05-06 11:09:54 +02:00
tls_test.go cleanup: remove the original netx implementation (#653) 2022-01-05 19:00:50 +01:00