lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAMvbhFpCO0GCgYY=ckHWDBPLnj9Szs5jbGQuZcuDjNfJSWqvw@mail.gmail.com>
Date:	Tue, 20 Mar 2012 13:26:14 +0000
From:	James Courtier-Dutton <james.dutton@...il.com>
To:	netdev@...r.kernel.org
Subject: Per TCP session statistics

Hi,

Is there a way to gather stats for each TCP session?
The stats I am looking for are periodic sampling of the following metrics:

Statistics         Def.nition
Cwin                Current congestion window
Rwin                Current receive window
BytesInFlight     # of bytes sent but not ACKed
BytesInSndBuf   # of bytes written but not ACKed
SmoothedRTT    Smoothed RTT computed by TCP
BytesWritten    Cumulative # of bytes written by app
BytesSent       Cumulative # of bytes sent
PktsRetrans     Cumulative # of pkts retransmitted
RwinLimitTime   Cumulative time that a connection is limited by receive window
CwinLimitTime   Cumulative time that a connection is limited by
congestion window

So, for example,
1) I could say that all TCP sessions being listened to by process ID
2002 will get stats written to a file per tcp session per 60 seconds.
2) Gather local statistics for all TCP sessions initiated by process "firefox".

Does there already exit such a tool for Linux?

Kind Regards
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ