#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>#include <stdio.h>#include <stdlib.h>#include <ctype.h>#include <string.h>#include <errno.h>#include <sys/stat.h>#include "rules.h"#include "decode.h"#include "plugbase.h"#include "parser.h"#include "debug.h"#include "util.h"#include "plugin_enum.h"#include "snort.h"Go to the source code of this file.
Defines | |
| #define | SESSION_PRINTABLE 1 |
| #define | SESSION_ALL 2 |
| #define | SESSION_BINARY 3 |
Typedefs | |
| typedef _SessionData | SessionData |
Functions | |
| void | SessionInit (char *, OptTreeNode *, int) |
| void | ParseSession (char *, OptTreeNode *) |
| int | LogSessionData (Packet *, struct _OptTreeNode *, OptFpList *) |
| void | DumpSessionData (FILE *, Packet *, struct _OptTreeNode *) |
| FILE * | OpenSessionFile (Packet *) |
| void | SetupSession (void) |
|
|
Definition at line 78 of file sp_session.c. Referenced by ParseSession(). |
|
|
Definition at line 79 of file sp_session.c. Referenced by DumpSessionData(), and ParseSession(). |
|
|
Definition at line 77 of file sp_session.c. Referenced by DumpSessionData(), and ParseSession(). |
|
|
|
|
||||||||||||||||
|
Definition at line 251 of file sp_session.c. References _Packet::data, _OptTreeNode::ds_list, _Packet::dsize, _Packet::frag_flag, NULL, PLUGIN_SESSION, SESSION_BINARY, and SESSION_PRINTABLE. Referenced by LogSessionData(). |
|
||||||||||||||||
|
Definition at line 227 of file sp_session.c. References _Packet::data, _Packet::dsize, DumpSessionData(), _Packet::frag_flag, _OptFpList::next, NULL, OpenSessionFile(), and _OptFpList::OptTestFunc. Referenced by SessionInit(). |
|
|
Definition at line 303 of file sp_session.c. References bzero, _Packet::dp, errno, FatalError(), _Packet::frag_flag, _progvars::homenet, _IPHdr::ip_dst, _IPHdr::ip_src, _Packet::iph, _progvars::log_dir, mkdir, _progvars::netmask, NULL, pv, S_IROTH, S_IRWXG, S_IRWXU, S_IXOTH, _Packet::sp, and STD_BUF. Referenced by LogSessionData(). |
|
||||||||||||
|
Definition at line 178 of file sp_session.c. References _OptTreeNode::ds_list, FatalError(), file_line, file_name, PLUGIN_SESSION, SESSION_ALL, SESSION_BINARY, _SessionData::session_flag, SESSION_PRINTABLE, and strncasecmp. Referenced by SessionInit(). |
|
||||||||||||||||
|
Definition at line 125 of file sp_session.c. References AddOptFuncToList(), _OptTreeNode::ds_list, FatalError(), file_line, file_name, LogSessionData(), ParseSession(), PLUGIN_SESSION, and SnortAlloc(). Referenced by SetupSession(). |
|
|
Definition at line 104 of file sp_session.c. References DEBUG_PLUGIN, DEBUG_WRAP, RegisterPlugin(), and SessionInit(). Referenced by InitPlugIns(). |
1.4.2