Marten Seemann
140b90449b
use decimal numbers when logging packet numbers
2020-04-16 09:50:55 +07:00
Marten Seemann
5bd6252616
Merge pull request #2480 from lucas-clemente/qlog-dropped-retry
...
qlog dropped Retry packets
2020-04-16 09:31:47 +07:00
Marten Seemann
b705b623a7
Merge pull request #2483 from lucas-clemente/qlog-packet-drop-unknown-version
...
qlog when packets are dropped due to unsupported QUIC version
2020-04-16 09:31:01 +07:00
Marten Seemann
4d442101b3
remove duplicate check for handshake and idle timeout in session
2020-04-14 18:21:41 +07:00
Marten Seemann
24508a3d39
qlog dropped Retry packets
2020-04-12 19:26:30 +07:00
Marten Seemann
f58eb47383
qlog when packets are dropped due to unsupported QUIC version
2020-04-10 14:39:02 +07:00
Marten Seemann
8e76881bc4
Merge pull request #2477 from lucas-clemente/fix-corrupted-scid
...
update the source connection ID if the session was created from an invalid Initial
2020-04-09 00:45:15 +07:00
Marten Seemann
969abdd8d5
update the source connection ID when we created a session for an invalid Initial
2020-04-08 22:12:41 +07:00
Marten Seemann
a02fb1fa6f
qlog dropped 0-RTT packets (on the client side)
2020-04-08 22:10:47 +07:00
Marten Seemann
1655768d57
qlog packets that are dropped due to mismatching source connection ID
2020-04-08 22:10:46 +07:00
Marten Seemann
3bede6ddf5
qlog coalesced packets dropped due to wrong destination connection ID
2020-04-08 22:08:29 +07:00
Marten Seemann
e5ebb32d01
Merge pull request #2471 from lucas-clemente/fix-transport-parameter-qlogging
...
qlog transport parameters before performing any validity checks on them
2020-04-08 22:08:12 +07:00
Marten Seemann
44eb324101
don't export the qlog file when receiving a Version Negotiation packet
2020-04-08 21:11:27 +07:00
Marten Seemann
fa18a1642a
qlog transport parameters before performing any validity checks on them
2020-04-08 21:04:52 +07:00
Marten Seemann
ddab69ca9e
fix logging of the size of received packets
2020-04-07 16:45:15 +07:00
Marten Seemann
0c070bd9e6
Merge pull request #2445 from lucas-clemente/qlog-received-packet-before-frames
...
qlog the packet_received event before any frame-specific events
2020-04-03 11:01:34 +07:00
Marten Seemann
673b2ddad3
qlog sending of packets before logging packet-related events
...
When we send a packet, we might set a loss detection timer. The log will
be easier to interpret if the log loss_timer_updated event comes after
the packet_sent event.
2020-03-30 10:59:18 +07:00
Marten Seemann
f69709ee0e
qlog the packet_received event before any frame-specific events
2020-03-27 20:25:17 +07:00
Marten Seemann
a82d6bb910
qlog stateless resets
2020-03-26 20:36:26 +07:00
Marten Seemann
ef901e3435
use the current timestamp of every event in qlog
2020-03-23 16:25:42 +07:00
Marten Seemann
6d61dccc2f
rename the constructors for the various qerr.Error flavors
2020-03-21 10:53:03 +07:00
Marten Seemann
c9cbc26c95
Merge pull request #2421 from lucas-clemente/qlog-transport-parameters
...
qlog transport parameters
2020-03-18 12:02:30 +07:00
Marten Seemann
eabab8b99b
qlog dropped packets
2020-03-18 11:20:50 +07:00
Marten Seemann
99f03d1595
qlog sent and received transport parameters
2020-03-18 11:20:27 +07:00
Marten Seemann
c4889996e4
Merge pull request #2423 from lucas-clemente/qlog-dropped-encryption-levels
...
qlog dropped encryption levels
2020-03-18 09:33:41 +07:00
Marten Seemann
63921b6dcb
qlog dropped encryption levels
2020-03-13 17:17:28 +07:00
Marten Seemann
0ef4f06189
move the transport parameters from the handshake to the wire package
2020-03-13 16:20:11 +07:00
Marten Seemann
699c988917
remove stray debug message in session
2020-03-12 11:56:45 +07:00
Marten Seemann
f976a0ba11
qlog when undecryptable packets are buffered
2020-03-11 11:14:22 +07:00
Marten Seemann
bf60280792
Merge pull request #2406 from lucas-clemente/use-spa-conn-id
...
use the connection ID from the preferred_address transport parameter
2020-03-10 18:00:36 +07:00
Marten Seemann
d4a17a47a9
Merge pull request #2411 from lucas-clemente/remove-superflous-undecryptable-queueing-case
...
remove superflous case when queueing undecryptable packets
2020-03-10 16:55:49 +07:00
Marten Seemann
273a320f98
add support for the key_updated event for TLS key updates
2020-03-08 17:09:07 +07:00
Marten Seemann
eab5adc48c
use the connection ID from the preferred_address transport parameter
2020-03-08 15:13:38 +07:00
Marten Seemann
9bc8822585
remove superflous case when queueing undecryptable packets
...
This was only needed in gQUIC. In IETF QUIC, we determine the keys from
the packet header. The crypto setup will return an ErrKeysDropped if we
already dropped the corresponding keys.
2020-03-08 14:14:15 +07:00
Marten Seemann
d50f935319
don't send packets after receiving a CONNECTION_CLOSE
2020-02-25 17:54:55 +07:00
Marten Seemann
2ea6a294a9
send the CONNECTION_CLOSE in all available encryption levels
2020-02-25 17:10:44 +07:00
Marten Seemann
c1cb3e64dc
fix logging of coalesced packets
...
Coalesced packets that just have a single part shouldn't be logged as
coalesced packets.
2020-02-21 17:09:03 +07:00
Marten Seemann
a5fc72047e
simplify pruning of old ACK ranges
2020-02-21 15:46:58 +07:00
Marten Seemann
f317a471bb
use a single constructor for SentPacketHandler and ReceivedPacketHandler
2020-02-21 15:45:24 +07:00
Marten Seemann
e97e3040ed
make sure the client sends packets to unblock the server
2020-02-21 12:29:11 +07:00
Marten Seemann
d20c1bfaed
remove unused parameter from SentPacketHandler.ReceivedAck
2020-02-21 10:05:17 +07:00
Marten Seemann
29b784e782
rename packet packing functions in the packet packer
2020-02-20 16:42:58 +07:00
Marten Seemann
5aad7cae5d
send coalesced packets
2020-02-20 16:42:56 +07:00
Marten Seemann
d642bf9098
simplify content storage in packed packets
...
It's not necessary to store both the packetBuffer and the slice
containing the raw data in the packet.
2020-02-20 16:25:54 +07:00
Marten Seemann
a4b4d52063
refactor packing of packets before and after the handshake is confirmed
2020-02-20 16:19:08 +07:00
Marten Seemann
f034e8ba19
set the LocalAddr that is used in the tls.ClientHelloInfo.Conn
2020-02-16 14:10:30 +07:00
Marten Seemann
a3fe9445cc
set the packet_size on the packet_received and packet_sent event
2020-02-12 10:42:38 +07:00
Marten Seemann
f13ca7e791
qlog loss recovery metrics
2020-02-12 10:42:38 +07:00
Marten Seemann
a58bcb747b
qlog received Retry packets
2020-02-12 10:42:38 +07:00
Marten Seemann
b031615db5
export a qlog when the session's run loop stops
2020-02-12 10:42:37 +07:00