[
https://issues.apache.org/jira/browse/TS-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13911670#comment-13911670
]
ASF GitHub Bot commented on TS-2169:
------------------------------------
GitHub user rwbarber2 opened a pull request:
https://github.com/apache/trafficserver/pull/46
TS-2169 SSL Stats
Switched to pull request due to anticipated need to merge with more recent
version of master in the future (when this gets pulled finally).
In addition to the stats already documented above, this also includes
cipher stats. Here's the excerpt from the traffic_line doc:
proxy.process.ssl.cipher.user_agent.{cipherName}
Total number of ssl client connections that used cipherName. The list of
cipher stats is dynamic and depends upon the installed ciphers for the
system. Some common cipher stats are:
proxy.process.ssl.cipher.user_agent.ECDHE-RSA-RC4-SHA
proxy.process.ssl.cipher.user_agent.ECDHE-RSA-AES128-SHA256
proxy.process.ssl.cipher.user_agent.ECDHE-RSA-AES128-GCM-SHA256
proxy.process.ssl.cipher.user_agent.ECDHE-RSA-AES128-SHA
proxy.process.ssl.cipher.user_agent.RC4-SHA
proxy.process.ssl.cipher.user_agent.RC4-MD5
proxy.process.ssl.cipher.user_agent.AES128-GCM-SHA256
proxy.process.ssl.cipher.user_agent.AES128-SHA
There are two ways to get the list of cipher stats:
1. Run ATS with debug logging and show ssl diags:
CONFIG proxy.config.diags.debug.enabled INT 1
CONFIG proxy.config.diags.debug.tags STRING ssl.*
View output of traffic.out looking for lines like:
(ssl) Registering ssl cipher stat
'proxy.process.ssl.cipher.user_agent.ECDHE-RSA-AES256-GCM-SHA384'
2. Run this script (just asks openssl to tell us):
openssl ciphers | awk '{n=split($0,a,":"); for (i = 0; ++i <= n;)
print "proxy.process.ssl.cipher.user_agent." a[i];}'
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rwbarber2/trafficserver issues/TS-2169
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/46.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #46
----
commit 4b7b59756970a805126bb0c43ad93247a2764bf1
Author: Ron Barber <[email protected]>
Date: 2014-02-25T15:36:23Z
TS-2169 SSL Stats
----
> SSL statistics
> --------------
>
> Key: TS-2169
> URL: https://issues.apache.org/jira/browse/TS-2169
> Project: Traffic Server
> Issue Type: Improvement
> Components: SSL, Stats
> Reporter: David Carlin
> Assignee: Bryan Call
> Labels: Review
> Fix For: 5.1.0
>
>
> It would be swell if there were some traffic_line SSL statistic variables.
> For instance, number of SSL connections and SSL bytes.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)