suricata
app-layer-ssh.c File Reference
#include "suricata-common.h"
#include "decode.h"
#include "threads.h"
#include "util-print.h"
#include "util-pool.h"
#include "stream-tcp-private.h"
#include "stream-tcp-reassemble.h"
#include "stream-tcp.h"
#include "stream.h"
#include "app-layer-detect-proto.h"
#include "app-layer-protos.h"
#include "app-layer-parser.h"
#include "app-layer-ssh.h"
#include "rust.h"
#include "conf.h"
#include "util-spm.h"
#include "util-unittest.h"
#include "util-debug.h"
#include "flow-private.h"
#include "util-byte.h"
#include "util-memcmp.h"
#include "flow-util.h"
#include "stream-tcp-util.h"
#include "util-unittest-helper.h"
Include dependency graph for app-layer-ssh.c:

Go to the source code of this file.

Macros

#define SSH_CONFIG_DEFAULT_HASSH   false
 
#define MAX_SSH_TEST_SIZE   512
 

Functions

bool SSHTxLogCondition (ThreadVars *tv, const Packet *p, void *state, void *tx, uint64_t tx_id)
 
void RegisterSSHParsers (void)
 Function to register the SSH protocol parsers and other functions. More...
 
void SSHParserRegisterTests (void)
 

Detailed Description

Macro Definition Documentation

◆ MAX_SSH_TEST_SIZE

#define MAX_SSH_TEST_SIZE   512

Definition at line 471 of file app-layer-ssh.c.

◆ SSH_CONFIG_DEFAULT_HASSH

#define SSH_CONFIG_DEFAULT_HASSH   false

Definition at line 58 of file app-layer-ssh.c.

Function Documentation

◆ RegisterSSHParsers()

void RegisterSSHParsers ( void  )

Function to register the SSH protocol parsers and other functions.

Definition at line 81 of file app-layer-ssh.c.

References ALPROTO_SSH, AppLayerProtoDetectConfProtoDetectionEnabled(), and AppLayerProtoDetectRegisterProtocol().

Here is the call graph for this function:

◆ SSHParserRegisterTests()

void SSHParserRegisterTests ( void  )

Definition at line 1562 of file app-layer-ssh.c.

References UtRegisterTest().

Here is the call graph for this function:

◆ SSHTxLogCondition()

bool SSHTxLogCondition ( ThreadVars tv,
const Packet p,
void *  state,
void *  tx,
uint64_t  tx_id 
)

Definition at line 74 of file app-layer-ssh.c.