#include <sys/types.h>
#include "decode.h"
#include "plugbase.h"
#include "parser.h"
#include "log.h"
#include "debug.h"
#include "util.h"
#include "mstring.h"
#include "snort.h"
Go to the source code of this file.
Defines | |
#define | TNC_IAC 0xFF |
#define | TNC_SB 0xFA |
#define | TNC_GA 0xF9 |
#define | TNC_EAL 0xF8 |
#define | TNC_EAC 0xF7 |
#define | TNC_AO 0xF6 |
#define | TNC_AYT 0xF5 |
#define | TNC_IP 0xF4 |
#define | TNC_BRK 0xF3 |
#define | TNC_DM 0xF2 |
#define | TNC_NOP 0xF1 |
#define | TNC_SE 0xF0 |
#define | TNC_STD_LENGTH 3 |
Functions | |
void | TelNegInit (u_char *) |
void | NormalizeTelnet (Packet *, void *) |
static void | SetTelnetPorts (char *portlist) |
void | SetupTelNeg () |
Variables | |
u_int8_t | DecodeBuffer [DECODE_BLEN] |
static char | TelnetDecodePorts [65536/8] |
|
Definition at line 70 of file spp_telnet_negotiation.c. Referenced by NormalizeTelnet(). |
|
Definition at line 71 of file spp_telnet_negotiation.c. Referenced by NormalizeTelnet(). |
|
Definition at line 73 of file spp_telnet_negotiation.c. Referenced by NormalizeTelnet(). |
|
Definition at line 74 of file spp_telnet_negotiation.c. Referenced by NormalizeTelnet(). |
|
Definition at line 69 of file spp_telnet_negotiation.c. Referenced by NormalizeTelnet(). |
|
Definition at line 68 of file spp_telnet_negotiation.c. Referenced by NormalizeTelnet(). |
|
Definition at line 67 of file spp_telnet_negotiation.c. Referenced by NormalizeTelnet(). |
|
Definition at line 65 of file spp_telnet_negotiation.c. Referenced by NormalizeTelnet(). |
|
Definition at line 72 of file spp_telnet_negotiation.c. Referenced by NormalizeTelnet(). |
|
Definition at line 75 of file spp_telnet_negotiation.c. Referenced by NormalizeTelnet(). |
|
Definition at line 66 of file spp_telnet_negotiation.c. Referenced by NormalizeTelnet(). |
|
Definition at line 76 of file spp_telnet_negotiation.c. Referenced by NormalizeTelnet(). |
|
Definition at line 78 of file spp_telnet_negotiation.c. Referenced by NormalizeTelnet(). |
|
Definition at line 146 of file spp_telnet_negotiation.c. References _Packet::alt_dsize, char(), _Packet::data, DEBUG_PLUGIN, DEBUG_WRAP, DECODE_BLEN, DecodeBuffer, _Packet::dp, _Packet::dsize, _Packet::packet_flags, PacketIsTCP(), PKT_ALT_DECODE, PP_TELNEG, _Packet::preprocessors, TelnetDecodePorts, TNC_AO, TNC_AYT, TNC_BRK, TNC_DM, TNC_EAC, TNC_EAL, TNC_GA, TNC_IAC, TNC_IP, TNC_NOP, TNC_SB, TNC_SE, and TNC_STD_LENGTH. Referenced by TelNegInit(). |
|
Definition at line 317 of file spp_telnet_negotiation.c. References bzero, FatalError(), file_line, file_name, LogMessage(), mSplit(), mSplitFree(), NULL, STD_BUF, strlcat(), strtol(), and TelnetDecodePorts. Referenced by TelNegInit(). |
|
Definition at line 101 of file spp_telnet_negotiation.c. References DEBUG_PLUGIN, DEBUG_WRAP, RegisterPreprocessor(), and TelNegInit(). Referenced by InitPreprocessors(). |
|
Definition at line 123 of file spp_telnet_negotiation.c. References AddFuncToPreprocList(), DEBUG_PLUGIN, DEBUG_WRAP, NormalizeTelnet(), and SetTelnetPorts(). Referenced by SetupTelNeg(). |
|
Definition at line 45 of file decode.c. Referenced by ByteJump(), ByteTest(), CheckANDPatternMatch(), CheckORPatternMatch(), fpEvalHeaderSW(), FTPBounce(), IsDataAt(), NormalizeTelnet(), and SnortPcre(). |
|
Definition at line 86 of file spp_telnet_negotiation.c. Referenced by NormalizeTelnet(), and SetTelnetPorts(). |