Commit Graph

125 Commits

Author SHA1 Message Date
Marten Seemann
4e6e4db7ac Merge pull request #3033 from lucas-clemente/qlog-quic-go-version
qlog the quic-go version
2021-02-09 17:49:27 +08:00
Marten Seemann
ef1cea84c4 expose the constructor for the qlog connection tracer 2021-02-09 10:51:21 +08:00
Marten Seemann
0437acd41d set the qlogged quic-go version when building the interop runner image 2021-02-08 09:24:12 +08:00
Marten Seemann
218b204e1b qlog the quic-go version
This only works when quic-go is used as a library.
2021-02-07 19:26:12 +08:00
Marten Seemann
bd48ae50ed fix qlogging of the packet payload length 2021-01-19 11:09:34 +08:00
Marten Seemann
60805d887f implement qlogging of the parameters_restored event 2021-01-15 17:14:41 +08:00
Marten Seemann
d04662a964 add a RestoredTransportParameters method to the logging interface 2021-01-15 17:13:46 +08:00
Marten Seemann
c430c27910 Merge pull request #2997 from lucas-clemente/qlog-max-datagram-frame-size
qlog the max_datagram_frame_size transport parameter
2021-01-15 17:03:26 +08:00
Marten Seemann
5eaf327e06 Merge pull request #2987 from lucas-clemente/qlog-draft-02-fixes
qlog draft-02 fixes
2021-01-15 16:57:35 +08:00
Marten Seemann
ec2b9f47ca qlog the max_datagram_frame_size transport parameter 2021-01-11 16:19:05 +08:00
Marten Seemann
f28db16df4 fix packet_type logging for packet_lost, packet_dropped and packet_buffered 2021-01-07 11:18:18 +08:00
Marten Seemann
84af90f2f8 qlog the packet size in the newly introduced RawInfo 2021-01-07 11:02:00 +08:00
Marten Seemann
405297ba8d fix flaky qlog test 2021-01-04 14:29:47 +08:00
Marten Seemann
0582228e00 make it possible to log DATAGRAM frames 2020-12-09 15:31:23 +07:00
Marten Seemann
2bf6c6aea4 add support for the connection_closed qlog event 2020-12-06 12:01:54 +07:00
Marten Seemann
b83e156e9f log tokens in NEW_TOKEN frames, Retry packets and Initial packets 2020-12-06 11:26:37 +07:00
Marten Seemann
b623a10b54 Merge pull request #2758 from lucas-clemente/qlog-packet-type
qlog the packet_type as part of the packet header, not the event itself
2020-12-06 11:20:03 +07:00
Marten Seemann
dd93d9640c use the new, streaming-friendly NDJSON-based qlog encoding 2020-12-06 11:04:13 +07:00
Marten Seemann
4f557317a0 qlog the packet_type as part of the packet header, not the event itself 2020-12-06 10:51:21 +07:00
Marten Seemann
ff1f433c36 add a generic Log() function to the connection tracer 2020-12-06 09:33:38 +07:00
Marten Seemann
23e4d15283 Merge pull request #2861 from lucas-clemente/no-viable-path-error
add the NO_VIABLE_PATH error
2020-11-10 20:50:40 +07:00
Marten Seemann
96ac98a862 add the NO_VIABLE_PATH error 2020-11-06 12:35:49 +07:00
Marten Seemann
4372f46345 implement qlogging of the preferred address in the transport parameters 2020-11-02 12:39:48 +07:00
Marten Seemann
8752576f26 run gofumpt, enable the gofumpt linter 2020-10-26 09:33:35 +07:00
Marten Seemann
d5a30225ce use a uint8 to represent the key phase bit 2020-10-06 15:27:56 +07:00
Marten Seemann
93e3873141 qlog the key phase bit 2020-10-06 15:05:26 +07:00
Marten Seemann
8417b67f83 replace panics in qlog and metrics type stringers 2020-10-05 13:47:58 +07:00
Marten Seemann
876ab1d531 introduce a function to distinguish between IPv4 and IPv6 addresses 2020-09-14 17:01:34 +07:00
Marten Seemann
13fa0bcdd1 implement writing of ACK frames containing ECN counts 2020-09-14 17:01:34 +07:00
Marten Seemann
3a4de205b0 add the AEAD_LIMIT_REACHED error code 2020-09-14 14:07:55 +07:00
Marten Seemann
10797cfc79 add the KEY_UPDATE_ERROR error code 2020-09-10 18:14:33 +07:00
Marten Seemann
dbaacd49bd add a logging event for dropping 1-RTT keys 2020-09-09 23:53:47 +07:00
Marten Seemann
6e1c756ec2 Merge pull request #2763 from lucas-clemente/always-qlog-1rtt-key-generation
always qlog the generation of 1-RTT key updates
2020-09-09 23:17:56 +07:00
Marten Seemann
bccf857b5d always qlog the generation of 1-RTT key updates 2020-09-09 13:37:30 +07:00
Marten Seemann
704bd78445 move the PacketHeader struct from logging to qlog package 2020-09-09 13:17:59 +07:00
Marten Seemann
5cf72e2f34 implement qlogging of the congestion_state_updated event 2020-07-23 11:54:00 +07:00
Marten Seemann
0b7efe10d1 trace congestion state changes 2020-07-23 11:53:59 +07:00
Marten Seemann
741dc28d74 move the RTTStats to the utils package
The RTTStats are used by the logging package. In order to instrument the
congestion package, the RTTStats can't be part of that package any more
(to avoid an import loop).
2020-07-23 11:53:08 +07:00
Marten Seemann
0c551c893c trace packets that are sent outside of a connection 2020-07-16 08:20:36 +07:00
Marten Seemann
dc245ca6a3 trace dropped packets in the server 2020-07-15 20:33:58 +07:00
Marten Seemann
ee24d3899e simplify the Tracer interface by combining the TracerFor... methods 2020-07-11 13:22:52 +07:00
Marten Seemann
a1bb39d6ab introduce a protocol.StatelessResetToken 2020-07-10 19:55:20 +07:00
Marten Seemann
a4679bc02e also pass the stateless reset token by value to the tracer 2020-07-10 19:48:53 +07:00
Marten Seemann
f93708aca8 introduce a logging.CloseReason to log the reason a session was closed
This also allows us to get rid of the ReceivedStatelessReset() method.
2020-07-10 19:23:32 +07:00
Marten Seemann
7d6ce4ea45 rename the logging.CloseReason to TimeoutReason 2020-07-10 19:17:21 +07:00
Marten Seemann
993d71fd56 move the SupportedVersions slice out of the wire.Header 2020-07-09 12:05:33 +07:00
Marten Seemann
6dcc88536d fix crash when the qlog callbacks returns a nil io.WriteCloser 2020-07-06 15:03:48 +07:00
Marten Seemann
ed120f670c add logging aliases for frames, create a logging.STREAM and CRYPTO frame 2020-07-06 09:21:32 +07:00
Marten Seemann
d4dc08b208 move all stringifation of qlog events to the qlog package 2020-07-06 08:26:37 +07:00
Marten Seemann
838dd6e81a rename StreamFrame.FinBit to Fin 2020-07-02 16:41:43 +07:00