#include <sys/types.h>
#include <stdlib.h>
#include <ctype.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"
#include "detect.h"
#include "generators.h"
#include "event_queue.h"
Go to the source code of this file.
Defines | |
#define | OPT_ALERT_FRAGMENTS "alert_fragments" |
#define | OPT_ALERT_MULTIPLE_REQUESTS "no_alert_multiple_requests" |
#define | OPT_ALERT_LARGE_FRAGMENTS "no_alert_large_fragments" |
#define | OPT_ALERT_INCOMPLETE "no_alert_incomplete" |
#define | TEXT_ALERT_MULTIPLE_REQUESTS "alert_multiple_requests" |
#define | TEXT_ALERT_LARGE_FRAGMENTS "alert_large_fragments" |
#define | TEXT_ALERT_INCOMPLETE "alert_incomplete" |
#define | RPC_CLASS DECODE_CLASS |
#define | MSB 0x80000000 |
Typedefs | |
typedef _RpcDecodeData | RpcDecodeData |
Functions | |
void | RpcDecodeInit (u_char *) |
void | RpcDecodeInitIgnore (u_char *) |
void | PreprocRpcDecode (Packet *, void *) |
void | SetRpcPorts (char *) |
int | ConvertRPC (Packet *) |
void | SetupRpcDecode () |
Variables | |
char * | file_name |
int | file_line |
int | do_detect |
static RpcDecodeData | rpcpreprocdata |
static char | RpcDecodePorts [65536/8] |
|
Definition at line 348 of file spp_rpc_decode.c. Referenced by ConvertRPC(). |
|
Definition at line 74 of file spp_rpc_decode.c. Referenced by SetRpcPorts(). |
|
Definition at line 77 of file spp_rpc_decode.c. Referenced by SetRpcPorts(). |
|
Definition at line 76 of file spp_rpc_decode.c. Referenced by SetRpcPorts(). |
|
Definition at line 75 of file spp_rpc_decode.c. Referenced by SetRpcPorts(). |
|
Definition at line 83 of file spp_rpc_decode.c. Referenced by PreprocRpcDecode(). |
|
Definition at line 81 of file spp_rpc_decode.c. Referenced by SetRpcPorts(). |
|
Definition at line 80 of file spp_rpc_decode.c. Referenced by SetRpcPorts(). |
|
Definition at line 79 of file spp_rpc_decode.c. Referenced by SetRpcPorts(). |
|
|
|
Definition at line 387 of file spp_rpc_decode.c. References _RpcDecodeData::alert_fragments, _Packet::data, DEBUG_RPC, DEBUG_WRAP, _Packet::dsize, index, MSB, _Packet::packet_flags, PKT_REBUILT_STREAM, RPC_FRAG_TRAFFIC, RPC_INCOMPLETE_SEGMENT, RPC_LARGE_FRAGSIZE, RPC_MULTIPLE_RECORD, and RPC_ZERO_LENGTH_FRAGMENT. Referenced by PreprocRpcDecode(). |
|
|
Definition at line 135 of file spp_rpc_decode.c. References AddFuncToPreprocList(), _RpcDecodeData::alert_incomplete, _RpcDecodeData::alert_large, _RpcDecodeData::alert_multi, bzero, DEBUG_RPC, DEBUG_WRAP, PreprocRpcDecode(), and SetRpcPorts(). Referenced by SetupRpcDecode(). |
|
|
|
|
Definition at line 113 of file spp_rpc_decode.c. References DEBUG_RPC, DEBUG_WRAP, RegisterPreprocessor(), and RpcDecodeInit(). Referenced by InitPreprocessors(). |
|
|
|
|
|
external globals from rules.c |
|
Definition at line 94 of file spp_rpc_decode.c. Referenced by PreprocRpcDecode(), and SetRpcPorts(). |
|
Definition at line 93 of file spp_rpc_decode.c. |