suricata
output-json-tls.h File Reference
#include "app-layer-ssl.h"
Include dependency graph for output-json-tls.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void JsonTlsLogRegister (void)
 
void JsonTlsLogJSONBasic (json_t *js, SSLState *ssl_state)
 
void JsonTlsLogJSONExtended (json_t *js, SSLState *ssl_state)
 

Detailed Description

Author
Tom DeCanio td@np.nosp@m.ulse.nosp@m.tech..nosp@m.com

Definition in file output-json-tls.h.

Function Documentation

void JsonTlsLogJSONExtended ( json_t *  js,
SSLState ssl_state 
)

Definition at line 366 of file output-json-tls.c.

References Flow_::alproto_orig, ALPROTO_TLS, ALPROTO_UNKNOWN, AppLayerGetProtoName(), AppLayerParserRegisterLogger(), JsonTlsLogThread_::buffer, SSLStateConnp_::cert0_issuerdn, SSLStateConnp_::cert0_subject, OutputJsonCtx_::cfg, OutputTlsCtx_::cfg, ConfNodeLookupChild(), ConfNodeLookupChildValue(), ConfValIsTrue(), CreateJSONHeader(), OutputInitResult_::ctx, OutputCtx_::data, DEFAULT_LOG_FILENAME, OutputCtx_::DeInit, OutputTlsCtx_::fields, OutputJsonCtx_::file_ctx, OutputTlsCtx_::file_ctx, TlsFields::flag, OutputTlsCtx_::flags, SSLState_::flags, Ja3IsDisabled(), JSON_OUTPUT_BUFFER_SIZE, JsonAddCommonOptions(), JsonTlsLogJSONBasic(), JsonTlsLogJSONExtended(), LOG_DIR_FLOW, LOG_TLS_CUSTOM, LOG_TLS_DEFAULT, LOG_TLS_EXTENDED, LOG_TLS_FIELD_CERTIFICATE, LOG_TLS_FIELD_CHAIN, LOG_TLS_FIELD_JA3, LOG_TLS_FIELD_JA3S, LOG_TLS_SESSION_RESUMPTION, LogFileFreeCtx(), LogFileNewCtx(), MemBufferCreateNew(), MemBufferFree(), MemBufferReset, TlsFields::name, next, OutputInitResult_::ok, OutputJSONBuffer(), SC_ERR_TLS_LOG_GENERIC, SC_WARN_DUPLICATE_OUTPUT, SCCalloc, SCConfLogOpenGeneric(), SCFree, SCLogDebug, SCLogError, SCLogWarning, SCMalloc, SSLState_::server_connp, SSL_AL_FLAG_LOG_WITHOUT_CERT, SSL_AL_FLAG_SESSION_RESUMED, TAILQ_FOREACH, tls_fields, JsonTlsLogThread_::tlslog_ctx, TM_ECODE_FAILED, TM_ECODE_OK, tx_id, unlikely, and ConfNode_::val.

Referenced by JsonTlsLogJSONExtended().

Here is the call graph for this function:

Here is the caller graph for this function:

void JsonTlsLogRegister ( void  )

Definition at line 652 of file output-json-tls.c.

References ALPROTO_TLS, LOGGER_JSON_TLS, OutputRegisterTxModuleWithProgress(), OutputRegisterTxSubModuleWithProgress(), and TLS_HANDSHAKE_DONE.

Referenced by OutputRegisterLoggers().

Here is the call graph for this function:

Here is the caller graph for this function: