#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include "event.h"
#include "decode.h"
#include "plugbase.h"
#include "spo_plugbase.h"
#include "parser.h"
#include "debug.h"
#include "mstring.h"
#include "util.h"
#include "log.h"
#include "snort.h"
Go to the source code of this file.
Defines | |
#define | DEFAULT_CSV "timestamp,sig_generator,sig_id,sig_rev,msg,proto,src,srcport,dst,dstport,ethsrc,ethdst,ethlen,tcpflags,tcpseq,tcpack,tcpln,tcpwindow,ttl,tos,id,dgmlen,iplen,icmptype,icmpcode,icmpid,icmpseq" |
Typedefs | |
typedef _AlertCSVConfig | AlertCSVConfig |
typedef _AlertCSVData | AlertCSVData |
Functions | |
void | AlertCSVInit (u_char *) |
AlertCSVData * | AlertCSVParseArgs (char *) |
void | AlertCSV (Packet *, char *, void *, Event *) |
void | AlertCSVCleanExit (int, void *) |
void | AlertCSVRestart (int, void *) |
void | RealAlertCSV (Packet *p, char *msg, FILE *file, char **args, int numargs, Event *event) |
static char * | CSVEscape (char *input) |
void | AlertCSVSetup (void) |
|
Definition at line 65 of file spo_csv.c. Referenced by AlertCSVParseArgs(). |
|
|
|
|
|
Definition at line 225 of file spo_csv.c. References _AlertCSVData::args, _AlertCSVData::file, _AlertCSVData::numargs, and RealAlertCSV(). Referenced by AlertCSVInit(). |
|
Definition at line 204 of file spo_csv.c. References DEBUG_LOG, DEBUG_WRAP, and _AlertCSVData::file. Referenced by AlertCSVInit(). |
|
Definition at line 126 of file spo_csv.c. References AddFuncToCleanExitList(), AddFuncToOutputList(), AddFuncToRestartList(), _progvars::alert_plugin_active, AlertCSV(), AlertCSVCleanExit(), AlertCSVParseArgs(), AlertCSVRestart(), DEBUG_INIT, DEBUG_WRAP, NT_OUTPUT_ALERT, and pv. Referenced by AlertCSVSetup(). |
|
Definition at line 157 of file spo_csv.c. References _AlertCSVData::args, _AlertCSVData::csvargs, DEBUG_INIT, DEBUG_LOG, DEBUG_WRAP, DEFAULT_CSV, FatalError(), _AlertCSVData::file, mSplit(), _AlertCSVData::numargs, OpenAlertFile(), ProcessFileOption(), SnortAlloc(), and strncasecmp. Referenced by AlertCSVInit(). |
|
Definition at line 214 of file spo_csv.c. References DEBUG_LOG, DEBUG_WRAP, and _AlertCSVData::file. Referenced by AlertCSVInit(). |
|
Definition at line 105 of file spo_csv.c. References AlertCSVInit(), DEBUG_INIT, DEBUG_WRAP, NT_OUTPUT_ALERT, and RegisterOutputPlugin(). Referenced by InitOutputPlugins(). |
|
Definition at line 488 of file spo_csv.c. References buffer, NULL, and SnortAlloc(). Referenced by RealAlertCSV(). |
|