mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
ssh: AnalyzerTag usage
This commit is contained in:
parent
68bfe54ea8
commit
82041d6915
1 changed files with 2 additions and 1 deletions
|
@ -8,8 +8,9 @@
|
||||||
#include "zeek/analyzer/protocol/tcp/TCP_Reassembler.h"
|
#include "zeek/analyzer/protocol/tcp/TCP_Reassembler.h"
|
||||||
|
|
||||||
namespace zeek::analyzer::ssh {
|
namespace zeek::analyzer::ssh {
|
||||||
|
const char ssh[] = "SSH";
|
||||||
|
|
||||||
SSH_Analyzer::SSH_Analyzer(Connection* c) : analyzer::tcp::TCP_ApplicationAnalyzer("SSH", c) {
|
SSH_Analyzer::SSH_Analyzer(Connection* c) : analyzer::tcp::TCP_ApplicationAnalyzer(AnalyzerTag<ssh>(), c) {
|
||||||
interp = new binpac::SSH::SSH_Conn(this);
|
interp = new binpac::SSH::SSH_Conn(this);
|
||||||
had_gap = false;
|
had_gap = false;
|
||||||
auth_decision_made = false;
|
auth_decision_made = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue