Forum Discussion
Todd_Behrens_20
Nimbostratus
Dec 08, 2016iRule to Log TLSv1.0 Connections Only
Hi Everyone,
I am trying to identify all cleints that still use TLSv1.0 and what browser they use. I created the following iRule to log these connections.
when CLIENTSSL_HANDSHAKE { ...
Kai_Wilke
MVP
Dec 08, 2016Hi Todd,
glad you've found a rule of mine in another thread... 😉
To report just "TLSv1" session, simply change the
contains operator of the [if] command to equals...
when CLIENTSSL_HANDSHAKE {
if { ( [SSL::cipher version] equals "TLSv1") } then {
set invalid_ssl 1
} else {
set invalid_ssl 0
}
}
when HTTP_REQUEST {
if { $invalid_ssl } then {
log local0. "TLSv1 Client: [IP::client_addr] using [SSL::cipher version], [SSL::cipher name] and [SSL::cipher bits] bits using the Agent [HTTP::header value "User-Agent"]"
set invalid_ssl 0
}
}
Cheers, Kai
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects