suricata
output-json-ssh.c File Reference
#include "suricata-common.h"
#include "debug.h"
#include "detect.h"
#include "pkt-var.h"
#include "conf.h"
#include "threads.h"
#include "threadvars.h"
#include "tm-threads.h"
#include "util-print.h"
#include "util-unittest.h"
#include "util-debug.h"
#include "app-layer-parser.h"
#include "output.h"
#include "app-layer-ssh.h"
#include "app-layer.h"
#include "util-privs.h"
#include "util-buffer.h"
#include "util-logopenfile.h"
#include "util-crypt.h"
#include "output-json.h"
#include "output-json-ssh.h"
Include dependency graph for output-json-ssh.c:

Go to the source code of this file.

Data Structures

struct  OutputSshCtx_
 
struct  JsonSshLogThread_
 

Macros

#define MODULE_NAME   "LogSshLog"
 
#define DEFAULT_LOG_FILENAME   "ssh.json"
 

Typedefs

typedef struct OutputSshCtx_ OutputSshCtx
 
typedef struct JsonSshLogThread_ JsonSshLogThread
 

Functions

void JsonSshLogJSON (json_t *tjs, SshState *ssh_state)
 
void JsonSshLogRegister (void)
 

Detailed Description

Author
Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t

Implements SSH JSON logging portion of the engine.

Definition in file output-json-ssh.c.

Macro Definition Documentation

#define DEFAULT_LOG_FILENAME   "ssh.json"

Definition at line 183 of file output-json-ssh.c.

#define MODULE_NAME   "LogSshLog"

Definition at line 53 of file output-json-ssh.c.

Typedef Documentation

typedef struct OutputSshCtx_ OutputSshCtx

Function Documentation

void JsonSshLogRegister ( void  )

Definition at line 258 of file output-json-ssh.c.

References ALPROTO_SSH, LOGGER_JSON_SSH, OutputRegisterTxModuleWithProgress(), OutputRegisterTxSubModuleWithProgress(), and SSH_STATE_BANNER_DONE.

Referenced by OutputRegisterLoggers().

Here is the call graph for this function:

Here is the caller graph for this function: