Initial import of svn+ssh:://svn.icir.org/bro/trunk/bro as of r7088

This commit is contained in:
Robin Sommer 2010-09-27 20:42:30 -07:00
commit 61757ac78b
1383 changed files with 380824 additions and 0 deletions

22
src/Telnet.cc Normal file
View file

@ -0,0 +1,22 @@
// $Id: Telnet.cc 6219 2008-10-01 05:39:07Z vern $
//
// See the file "COPYING" in the main distribution directory for copyright.
#include "config.h"
#include "Telnet.h"
#include "NVT.h"
Telnet_Analyzer::Telnet_Analyzer(Connection* conn)
: Login_Analyzer(AnalyzerTag::Telnet, conn)
{
NVT_Analyzer* nvt_orig = new NVT_Analyzer(conn, true);
NVT_Analyzer* nvt_resp = new NVT_Analyzer(conn, false);
nvt_resp->SetPeer(nvt_orig);
nvt_orig->SetPeer(nvt_resp);
AddSupportAnalyzer(nvt_orig);
AddSupportAnalyzer(nvt_resp);
}