]> git.ipfire.org Git - people/ms/suricata.git/commit - doc/userguide/output/lua-output.rst
lua: extend SCFlowAppLayerProto
authorVictor Julien <victor@inliniac.net>
Fri, 5 May 2017 09:22:44 +0000 (11:22 +0200)
committerVictor Julien <victor@inliniac.net>
Mon, 8 May 2017 11:29:50 +0000 (13:29 +0200)
commitf6e3755b5c43c81e65a5b79e924ec28872be494e
tree133ef286ed9ae09ae5a18ed7cebd0974cde24054
parent9c071d1724797466853da1d8f27481e9dd42a2c4
lua: extend SCFlowAppLayerProto

Change SCFlowAppLayerProto to return 5 values:
<alproto> <alproto_ts> <alproto_tc> <alproto_orig> <alproto_expect>:

alproto: detected protocol
alproto_ts: detected protocol in toserver direction
alproto_tc: detected protocol in toclient direction
alproto_orig: pre-change/upgrade protocol
alproto_expected: expected protocol in change/upgrade

Orig and expect are used when changing and upgrading protocols. In a
SMTP STARTTLS case, orig would normally be set to "smtp" and expect
to "tls".
doc/userguide/output/lua-output.rst
src/util-lua-common.c