Forum Discussion
Determine source IP addresses of SSLv3 connections?
Hi All,
Do we have the ability to determine which specific clients (IP addresses) are connecting to the F5 with SSL v3
I know how to obtain some statistics about the number of SSLv3 connections, but not really where they are coming from.
Thanks in Advance for help.
Carlos
3 Replies
- mimlo_61970
Cumulonimbus
not sure if there are any stats on this you can query, but here is an irule that will log the connections to /var/log/ltm
when CLIENTSSL_HANDSHAKE { if { [SSL::cipher version] eq "SSLv3" } { log local0.debug "[IP::client_addr] accessed [virtual name] with SSLv3" } }This assumes you have a client_ssl profile on the virtual server. If not, you would have to modify the script at https://devcentral.f5.com/articles/irule-to-stop-sslv3-connections to just log instead of reject.
- David_Stout
Nimbostratus
I have a slightly more detailed logging rule that provides some additional information if required.
when HTTP_REQUEST { if { [info exists logged] && $logged == 1 }{ Do nothing. Already logged for this connection } else { set logged 1 log "Rule CIPHER_logging fired, from [IP::remote_addr] to vip [IP::local_addr] Cipher [SSL::cipher name]:[SSL::cipher version]:[SSL::cipher bits] Client:[HTTP::header "User-Agent"]:[HTTP::host]" } } - Carlos_Urdaneta
Nimbostratus
mimlo, David,
That looks promising. Appreciate your quick responses. Many thanks!.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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