diff options
Diffstat (limited to 'framework/src/suricata/src/log-tlslog.c')
-rw-r--r-- | framework/src/suricata/src/log-tlslog.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/framework/src/suricata/src/log-tlslog.c b/framework/src/suricata/src/log-tlslog.c index edb0ded2..53ebad8b 100644 --- a/framework/src/suricata/src/log-tlslog.c +++ b/framework/src/suricata/src/log-tlslog.c @@ -83,6 +83,9 @@ static void LogTlsLogExtended(LogTlsLogThread *aft, SSLState * state) if (state->server_connp.cert0_fingerprint != NULL) { MemBufferWriteString(aft->buffer, " SHA1='%s'", state->server_connp.cert0_fingerprint); } + if (state->client_connp.sni != NULL) { + MemBufferWriteString(aft->buffer, " SNI='%s'", state->client_connp.sni); + } switch (state->server_connp.version) { case TLS_VERSION_UNKNOWN: MemBufferWriteString(aft->buffer, " VERSION='UNDETERMINED'"); |