Skip to content

Instantly share code, notes, and snippets.

@kazuho
Created Jan 27, 2021
Embed
What would you like to do?
$ build/default/cli -e /dev/stdout -k tmp/server.key -c tmp/server.crt 127.0.0.1 4433 2>&1 | egrep 'packet-(sent|ack)'
{"type":"packet-sent", "conn":0, "time":1611723421519, "pn":0, "len":168, "packet-type":0, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723421519, "pn":1, "len":1182, "packet-type":2, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723421519, "pn":2, "len":161, "packet-type":2, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723421519, "pn":3, "len":211, "packet-type":3, "ack-only":0}
{"type":"packet-acked", "conn":0, "time":1611723421521, "pn":1, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723421522, "pn":2, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723421522, "pn":3, "is-late-ack":0}
{"type":"packet-sent", "conn":0, "time":1611723421522, "pn":4, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723421522, "pn":5, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723421522, "pn":6, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723421522, "pn":7, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723421522, "pn":8, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723421522, "pn":9, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723421522, "pn":10, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723421522, "pn":11, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723421522, "pn":12, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723421522, "pn":13, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723421522, "pn":14, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723421522, "pn":15, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723421522, "pn":16, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723421522, "pn":17, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723421522, "pn":18, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723421522, "pn":19, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723421522, "pn":20, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723421522, "pn":21, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723421522, "pn":22, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723421522, "pn":23, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-acked", "conn":0, "time":1611723421525, "pn":4, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723421525, "pn":5, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723421527, "pn":6, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723421527, "pn":7, "is-late-ack":0}
{"type":"packet-sent", "conn":0, "time":1611723421527, "pn":25, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723421527, "pn":26, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723421527, "pn":27, "len":855, "packet-type":3, "ack-only":0}
{"type":"packet-acked", "conn":0, "time":1611723421529, "pn":8, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723421529, "pn":9, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723421532, "pn":10, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723421532, "pn":11, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723421534, "pn":12, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723421534, "pn":13, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723421537, "pn":14, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723421537, "pn":15, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723421539, "pn":16, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723421539, "pn":17, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723421541, "pn":18, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723421541, "pn":19, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723421544, "pn":20, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723421544, "pn":21, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723421546, "pn":22, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723421546, "pn":23, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723421547, "pn":25, "is-late-ack":0}
{"type":"packet-sent", "conn":0, "time":1611723525657, "pn":0, "len":168, "packet-type":0, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723525657, "pn":1, "len":1182, "packet-type":2, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723525657, "pn":2, "len":161, "packet-type":2, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723525657, "pn":4, "len":211, "packet-type":3, "ack-only":0}
{"type":"packet-acked", "conn":0, "time":1611723525659, "pn":1, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723525660, "pn":2, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723525660, "pn":4, "is-late-ack":0}
{"type":"packet-sent", "conn":0, "time":1611723525660, "pn":5, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723525660, "pn":6, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723525660, "pn":7, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723525660, "pn":8, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723525660, "pn":9, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723525660, "pn":10, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723525660, "pn":11, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723525660, "pn":12, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723525660, "pn":13, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723525660, "pn":14, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723525660, "pn":15, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723525660, "pn":16, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723525660, "pn":17, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-acked", "conn":0, "time":1611723525663, "pn":5, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723525663, "pn":6, "is-late-ack":0}
{"type":"packet-sent", "conn":0, "time":1611723525663, "pn":18, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723525663, "pn":19, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723525663, "pn":20, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723525663, "pn":21, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-acked", "conn":0, "time":1611723525666, "pn":7, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723525666, "pn":8, "is-late-ack":0}
{"type":"packet-sent", "conn":0, "time":1611723525666, "pn":22, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723525666, "pn":23, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723525666, "pn":24, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723525666, "pn":25, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-acked", "conn":0, "time":1611723525668, "pn":9, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723525668, "pn":10, "is-late-ack":0}
{"type":"packet-sent", "conn":0, "time":1611723525668, "pn":26, "len":1350, "packet-type":3, "ack-only":0}
{"type":"packet-sent", "conn":0, "time":1611723525668, "pn":27, "len":855, "packet-type":3, "ack-only":0}
{"type":"packet-acked", "conn":0, "time":1611723525670, "pn":11, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723525670, "pn":12, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723525673, "pn":13, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723525673, "pn":14, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723525675, "pn":15, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723525675, "pn":16, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723525678, "pn":17, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723525678, "pn":18, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723525681, "pn":19, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723525681, "pn":20, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723525683, "pn":21, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723525683, "pn":22, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723525686, "pn":23, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723525686, "pn":24, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723525688, "pn":25, "is-late-ack":0}
{"type":"packet-acked", "conn":0, "time":1611723525688, "pn":26, "is-late-ack":0}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment