From: Mats Klepsland Date: Fri, 13 Sep 2019 21:49:11 +0000 (+0200) Subject: output-lua: register app-layer parser logger for SSH X-Git-Tag: suricata-5.0.0-rc1~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e976d8cf740e6a96b0d3adab92e9111d9bc2ce09;p=thirdparty%2Fsuricata.git output-lua: register app-layer parser logger for SSH Bug #3162 --- diff --git a/src/output-lua.c b/src/output-lua.c index 8d3caf0422..a7709b635f 100644 --- a/src/output-lua.c +++ b/src/output-lua.c @@ -825,6 +825,7 @@ static OutputInitResult OutputLuaLogInit(ConfNode *conf) om->alproto = ALPROTO_SSH; om->tc_log_progress = SSH_STATE_BANNER_DONE; om->ts_log_progress = SSH_STATE_BANNER_DONE; + AppLayerParserRegisterLogger(IPPROTO_TCP, ALPROTO_SSH); } else if (opts.alproto == ALPROTO_SMTP) { om->TxLogFunc = LuaTxLogger; om->alproto = ALPROTO_SMTP;