|
|
|
@ -812,6 +812,7 @@ static OutputInitResult OutputLuaLogInit(ConfNode *conf)
|
|
|
|
om->alproto = ALPROTO_TLS;
|
|
|
|
om->alproto = ALPROTO_TLS;
|
|
|
|
om->tc_log_progress = TLS_HANDSHAKE_DONE;
|
|
|
|
om->tc_log_progress = TLS_HANDSHAKE_DONE;
|
|
|
|
om->ts_log_progress = TLS_HANDSHAKE_DONE;
|
|
|
|
om->ts_log_progress = TLS_HANDSHAKE_DONE;
|
|
|
|
|
|
|
|
AppLayerParserRegisterLogger(IPPROTO_TCP, ALPROTO_TLS);
|
|
|
|
} else if (opts.alproto == ALPROTO_DNS) {
|
|
|
|
} else if (opts.alproto == ALPROTO_DNS) {
|
|
|
|
om->TxLogFunc = LuaTxLogger;
|
|
|
|
om->TxLogFunc = LuaTxLogger;
|
|
|
|
om->alproto = ALPROTO_DNS;
|
|
|
|
om->alproto = ALPROTO_DNS;
|
|
|
|
|