Forum Discussion
Log Serverside SNI Value
AdirZe The following should be what you're looking for but from my understanding the F5 will not send an SNI name unless you explicitly configure it in the SSL server profile so you should already know what the name is unless of course you are configuring SSL passthrough which the F5 will then send whatever the client has sent it.
when SERVERSSL_CLIENTHELLO_SEND priority 500 {
binary scan [SSL::extensions -type 0] {@9A*} sni_name
log local0. "sni name: ${sni_name}"
}
- AdirZeNov 17, 2023Altocumulus
Thank you, I understand , I actually tried it, it looks like it doesn't find the the sni value even though there is a Server SSL profile with sni value attached.
the "sni_exists" if is false.
when SERVERSSL_CLIENTHELLO_SEND priority 500 {
set sni_exists [SSL::extensions exists -type 0]
if { $sni_exists } {
binary scan [SSL::extensions -type 0] {@9A*} sni_name
log local0. "sni name: ${sni_name}"
}
}
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