Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

NVT.cc File Reference

#include "config.h"
#include <stdlib.h>
#include "NVT.h"
#include "NetVar.h"
#include "Event.h"

Include dependency graph for NVT.cc:

Include dependency graph

Go to the source code of this file.

Defines

#define IS_3_BYTE_OPTION(c)   (c >= 251 && c <= 254)
#define TELNET_OPT_SB   250
#define TELNET_OPT_SE   240
#define TELNET_OPT_IS   0
#define TELNET_OPT_SEND   1
#define TELNET_OPT_WILL   251
#define TELNET_OPT_WONT   252
#define TELNET_OPT_DO   253
#define TELNET_OPT_DONT   254
#define TELNET_IAC   255
#define ENCRYPT_SET_ALGORITHM   0
#define ENCRYPT_SUPPORT_ALGORITM   1
#define ENCRYPT_REPLY   2
#define ENCRYPT_STARTING_TO_ENCRYPT   3
#define ENCRYPT_NO_LONGER_ENCRYPTING   4
#define ENCRYPT_REQUEST_START_TO_ENCRYPT   5
#define ENCRYPT_REQUEST_NO_LONGER_ENCRYPT   6
#define ENCRYPT_ENCRYPT_KEY   7
#define ENCRYPT_DECRYPT_KEY   8
#define HERE_IS_AUTHENTICATION   0
#define SEND_ME_AUTHENTICATION   1
#define AUTHENTICATION_STATUS   2
#define AUTHENTICATION_NAME   3
#define AUTH_REJECT   1
#define AUTH_ACCEPT   2
#define ENVIRON_IS   0
#define ENVIRON_SEND   1
#define ENVIRON_INFO   2
#define ENVIRON_VAR   0
#define ENVIRON_VAL   1
#define ENVIRON_ESC   2
#define ENVIRON_USERVAR   3
#define MAX_DELIVER_UNIT   128
#define EMIT_LINE


Define Documentation

#define AUTH_ACCEPT   2
 

Definition at line 201 of file NVT.cc.

Referenced by TelnetAuthenticateOption::RecvSubOption().

#define AUTH_REJECT   1
 

Definition at line 200 of file NVT.cc.

Referenced by TelnetAuthenticateOption::RecvSubOption().

#define AUTHENTICATION_NAME   3
 

Definition at line 198 of file NVT.cc.

Referenced by TelnetAuthenticateOption::RecvSubOption().

#define AUTHENTICATION_STATUS   2
 

Definition at line 197 of file NVT.cc.

Referenced by TelnetAuthenticateOption::RecvSubOption().

#define EMIT_LINE
 

Value:

{ \
        buf[offset] = '\0'; \
        Conn()->NewLine(this, offset, buf); \
        offset = 0; \
        }

Referenced by TCP_NVT::DoDeliver(), and TCP_ContentLine::DoDeliverOnce().

#define ENCRYPT_DECRYPT_KEY   8
 

Definition at line 155 of file NVT.cc.

#define ENCRYPT_ENCRYPT_KEY   7
 

Definition at line 154 of file NVT.cc.

#define ENCRYPT_NO_LONGER_ENCRYPTING   4
 

Definition at line 151 of file NVT.cc.

#define ENCRYPT_REPLY   2
 

Definition at line 149 of file NVT.cc.

#define ENCRYPT_REQUEST_NO_LONGER_ENCRYPT   6
 

Definition at line 153 of file NVT.cc.

#define ENCRYPT_REQUEST_START_TO_ENCRYPT   5
 

Definition at line 152 of file NVT.cc.

Referenced by TelnetEncryptOption::RecvSubOption().

#define ENCRYPT_SET_ALGORITHM   0
 

Definition at line 147 of file NVT.cc.

#define ENCRYPT_STARTING_TO_ENCRYPT   3
 

Definition at line 150 of file NVT.cc.

Referenced by TelnetEncryptOption::RecvSubOption().

#define ENCRYPT_SUPPORT_ALGORITM   1
 

Definition at line 148 of file NVT.cc.

#define ENVIRON_ESC   2
 

Definition at line 265 of file NVT.cc.

Referenced by TelnetEnvironmentOption::ExtractEnv().

#define ENVIRON_INFO   2
 

Definition at line 261 of file NVT.cc.

Referenced by TelnetEnvironmentOption::RecvSubOption().

#define ENVIRON_IS   0
 

Definition at line 259 of file NVT.cc.

Referenced by TelnetEnvironmentOption::RecvSubOption().

#define ENVIRON_SEND   1
 

Definition at line 260 of file NVT.cc.

Referenced by TelnetEnvironmentOption::RecvSubOption().

#define ENVIRON_USERVAR   3
 

Definition at line 266 of file NVT.cc.

Referenced by TelnetEnvironmentOption::ExtractEnv(), and TelnetEnvironmentOption::RecvSubOption().

#define ENVIRON_VAL   1
 

Definition at line 264 of file NVT.cc.

Referenced by TelnetEnvironmentOption::ExtractEnv(), and TelnetEnvironmentOption::RecvSubOption().

#define ENVIRON_VAR   0
 

Definition at line 263 of file NVT.cc.

Referenced by TelnetEnvironmentOption::ExtractEnv(), and TelnetEnvironmentOption::RecvSubOption().

#define HERE_IS_AUTHENTICATION   0
 

Definition at line 195 of file NVT.cc.

Referenced by TelnetAuthenticateOption::RecvSubOption().

#define IS_3_BYTE_OPTION  )     (c >= 251 && c <= 254)
 

Definition at line 30 of file NVT.cc.

Referenced by TCP_NVT::ScanOption().

#define MAX_DELIVER_UNIT   128
 

Definition at line 491 of file NVT.cc.

#define SEND_ME_AUTHENTICATION   1
 

Definition at line 196 of file NVT.cc.

Referenced by TelnetAuthenticateOption::RecvSubOption().

#define TELNET_IAC   255
 

Definition at line 43 of file NVT.cc.

#define TELNET_OPT_DO   253
 

Definition at line 40 of file NVT.cc.

Referenced by TelnetOption::RecvOption().

#define TELNET_OPT_DONT   254
 

Definition at line 41 of file NVT.cc.

Referenced by TelnetOption::RecvOption().

#define TELNET_OPT_IS   0
 

Definition at line 35 of file NVT.cc.

Referenced by TelnetTerminalOption::RecvSubOption().

#define TELNET_OPT_SB   250
 

Definition at line 32 of file NVT.cc.

Referenced by TCP_NVT::ScanOption().

#define TELNET_OPT_SE   240
 

Definition at line 33 of file NVT.cc.

Referenced by TCP_NVT::ScanOption().

#define TELNET_OPT_SEND   1
 

Definition at line 36 of file NVT.cc.

Referenced by TelnetTerminalOption::RecvSubOption().

#define TELNET_OPT_WILL   251
 

Definition at line 38 of file NVT.cc.

Referenced by TelnetOption::RecvOption().

#define TELNET_OPT_WONT   252
 

Definition at line 39 of file NVT.cc.

Referenced by TelnetOption::RecvOption().


Generated on Wed Sep 14 03:02:11 2005 for bro_docs by doxygen 1.3.5