-
Notifications
You must be signed in to change notification settings - Fork 19
Home
Mehrdad Arshad Rad edited this page Dec 9, 2020
·
12 revisions
Welcome to the tcpprobe wiki!
Print out the output in pretty json format
docker run --rm mehrdadrad/tcpprobe:latest -json https://www.google.com
{
"Target": "https://www.google.com",
"IP": "172.217.5.68",
"Timestamp": 1607478719,
"Seq": 0,
"State": 1,
"CaState": 0,
"Retransmits": 0,
"Probes": 0,
"Backoff": 0,
"Options": 4,
"Rto": 203000,
"Ato": 40000,
"SndMss": 1460,
"RcvMss": 1460,
"Unacked": 0,
"Sacked": 0,
"Lost": 0,
"Retrans": 0,
"Fackets": 0,
"LastDataSent": 82,
"LastAckSent": 0,
"LastDataRecv": 1,
"LastAckRecv": 4,
"Pmtu": 1500,
"RcvSsthresh": 52560,
"Rtt": 2844,
"Rttvar": 2208,
"SndSsthresh": 2147483647,
"SndCwnd": 10,
"Advmss": 1460,
"Reordering": 3,
"RcvRtt": 0,
"RcvSpace": 29200,
"TotalRetrans": 0,
"TCPCongesAlg": "cubic",
"HTTPStatusCode": 200,
"HTTPRcvdBytes": 14779,
"HTTPRequest": 123271,
"HTTPResponse": 2886,
"DNSResolve": 11529,
"TCPConnect": 4321,
"TLSHandshake": 44879,
"TCPConnectError": 0,
"DNSResolveError": 0
}
Filter specific metrics
docker run --rm mehrdadrad/tcpprobe:latest -json -filter "Retransmits;TCPConnect;HTTPStatusCode" https://www.google.com
{"HTTPStatusCode":200,"Retrans":0,"Retransmits":0,"TCPConnect":6469}