#include <sys/types.h>#include <stdlib.h>#include <ctype.h>#include <rpc/rpc.h>#include "rules.h"#include "decode.h"#include "plugbase.h"#include "parser.h"#include "debug.h"#include "util.h"#include "plugin_enum.h"Go to the source code of this file.
Defines | |
| #define | IXDR_GET_LONG IXDR_GET_INT32 |
| #define | RPC_CHECK_PROG 1 |
| #define | RPC_CHECK_VERS 2 |
| #define | RPC_CHECK_PROC 4 |
Typedefs | |
| typedef _RpcCheckData | RpcCheckData |
Functions | |
| void | RpcCheckInit (char *, OptTreeNode *, int) |
| void | ParseRpc (char *, OptTreeNode *) |
| int | CheckRpc (Packet *, struct _OptTreeNode *, OptFpList *) |
| void | SetupRpcCheck (void) |
|
|
Definition at line 47 of file sp_rpc_check.c. Referenced by CheckRpc(). |
|
|
Definition at line 61 of file sp_rpc_check.c. Referenced by CheckRpc(), and ParseRpc(). |
|
|
Definition at line 59 of file sp_rpc_check.c. Referenced by CheckRpc(), and ParseRpc(). |
|
|
Definition at line 60 of file sp_rpc_check.c. Referenced by CheckRpc(), and ParseRpc(). |
|
|
|
|
||||||||||||||||
|
Definition at line 199 of file sp_rpc_check.c. References CALL, _Packet::data, DEBUG_PLUGIN, DEBUG_WRAP, _OptTreeNode::ds_list, _Packet::dsize, _RpcCheckData::flags, _IPHdr::ip_proto, _Packet::iph, IXDR_GET_ENUM, IXDR_GET_LONG, _OptFpList::next, _OptFpList::OptTestFunc, PLUGIN_RPC_CHECK, _RpcCheckData::proc, _RpcCheckData::program, RPC_CHECK_PROC, RPC_CHECK_PROG, RPC_CHECK_VERS, RPC_MSG_VERSION, _Packet::tcph, _Packet::udph, and _RpcCheckData::vers. Referenced by RpcCheckInit(). |
|
||||||||||||
|
Definition at line 145 of file sp_rpc_check.c. References DEBUG_PLUGIN, DEBUG_WRAP, _OptTreeNode::ds_list, _RpcCheckData::flags, PLUGIN_RPC_CHECK, _RpcCheckData::proc, _RpcCheckData::program, RPC_CHECK_PROC, RPC_CHECK_PROG, RPC_CHECK_VERS, strtoul(), and _RpcCheckData::vers. Referenced by RpcCheckInit(). |
|
||||||||||||||||
|
Definition at line 102 of file sp_rpc_check.c. References AddOptFuncToList(), CheckRpc(), _OptTreeNode::ds_list, FatalError(), file_line, file_name, ParseRpc(), PLUGIN_RPC_CHECK, and SnortAlloc(). Referenced by SetupRpcCheck(). |
|
|
Definition at line 80 of file sp_rpc_check.c. References DEBUG_PLUGIN, DEBUG_WRAP, RegisterPlugin(), and RpcCheckInit(). Referenced by InitPlugIns(). |
1.4.2