mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 12:08:20 +00:00
Initial import of svn+ssh:://svn.icir.org/bro/trunk/bro as of r7088
This commit is contained in:
commit
61757ac78b
1383 changed files with 380824 additions and 0 deletions
28
src/SSH.h
Normal file
28
src/SSH.h
Normal file
|
@ -0,0 +1,28 @@
|
|||
// $Id: SSH.h 6219 2008-10-01 05:39:07Z vern $
|
||||
//
|
||||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
|
||||
#ifndef ssh_h
|
||||
#define ssh_h
|
||||
|
||||
#include "TCP.h"
|
||||
#include "ContentLine.h"
|
||||
|
||||
class SSH_Analyzer : public TCP_ApplicationAnalyzer {
|
||||
public:
|
||||
SSH_Analyzer(Connection* conn);
|
||||
|
||||
virtual void DeliverStream(int len, const u_char* data, bool orig);
|
||||
|
||||
static Analyzer* InstantiateAnalyzer(Connection* conn)
|
||||
{ return new SSH_Analyzer(conn); }
|
||||
|
||||
static bool Available()
|
||||
{ return ssh_client_version || ssh_server_version; }
|
||||
|
||||
private:
|
||||
ContentLine_Analyzer* orig;
|
||||
ContentLine_Analyzer* resp;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue