]> git.ipfire.org Git - thirdparty/suricata.git/commit
log-tls: convert to packet logger API
authorVictor Julien <victor@inliniac.net>
Mon, 13 Jan 2014 15:13:27 +0000 (16:13 +0100)
committerVictor Julien <victor@inliniac.net>
Mon, 27 Jan 2014 14:20:59 +0000 (15:20 +0100)
commit504f39adefa97bf79d9aff9d2f8bb54c608ef33d
tree45f3fc28d288decccafe2fea5254bfe9931329d1
parentbcf5c1f2fbe36576730f272e6eedbe0b9f496c78
log-tls: convert to packet logger API

This patch converts log-tls to use the packet logger API. The packet
logger API was choosen as the TLS parser is not transaction aware.

To make sure the state is only logged once, the flag
SSL_AL_FLAG_STATE_LOGGED was added to the parser. This flag is checked
by the condition function, and set at the end of the Logger function.
src/app-layer-ssl.h
src/log-tlslog.c