#include <sys/types.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <time.h>
#include "decode.h"
#include "rules.h"
#include "util.h"
#include "plugbase.h"
#include "spo_plugbase.h"
#include "parser.h"
#include "debug.h"
#include "mstring.h"
#include "stream.h"
#include "event.h"
#include "generators.h"
#include "snort_packet_header.h"
#include "snort.h"
Go to the source code of this file.
|
Definition at line 73 of file spo_unified.c. Referenced by UnifiedInitAlertFile(). |
|
Definition at line 74 of file spo_unified.c. Referenced by UnifiedInitLogFile(). |
|
Definition at line 72 of file spo_unified.c. |
|
Definition at line 75 of file spo_unified.c. Referenced by UnifiedInitLogFile(). |
|
Definition at line 76 of file spo_unified.c. Referenced by UnifiedInitLogFile(). |
|
Definition at line 169 of file spo_unified.c. Referenced by UnifiedInitFile(). |
|
Definition at line 171 of file spo_unified.c. Referenced by UnifiedLogAlert(). |
|
Definition at line 172 of file spo_unified.c. Referenced by UnifiedLogPacketAlert(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 941 of file spo_unified.c. References NULL, and RealUnifiedLogAlert(). Referenced by UnifiedAlertInit(). |
|
|
|
|
Log a set of packets stored in the stream reassembler Definition at line 600 of file spo_unified.c. References _SnortPktHeader::caplen, _StreamPacketData::chuck, _Event::classification, _UnifiedConfig::current, _Stream::data, DEBUG_LOG, DEBUG_WRAP, errno, _UnifiedLog::event, _Event::event_id, _Event::event_reference, FatalError(), GENERATOR_TAG, _UnifiedConfig::limit, memcpy, NULL, _StreamPacketData::pkt, _StreamPacketData::pkth, _UnifiedLog::pkth, _Event::priority, _Event::ref_time, SEG_UNASSEMBLED, _Event::sig_generator, _Event::sig_id, _Event::sig_rev, _UnifiedConfig::stream, _Packet::streamptr, TAG_LOG_PKT, ubi_btFirst(), ubi_btNext(), UnifiedLogRotateFile(), and UnifiedRotateFile(). Referenced by UnifiedLogPacketAlert(). |
|
Definition at line 866 of file spo_unified.c. References AddFuncToCleanExitList(), AddFuncToOutputList(), AddFuncToRestartList(), _progvars::alert_plugin_active, DEBUG_INIT, DEBUG_WRAP, NT_OUTPUT_ALERT, OldUnifiedLogAlert(), pv, UnifiedCleanExit(), UnifiedInitAlertFile(), UnifiedParseArgs(), and UnifiedRestart(). Referenced by UnifiedSetup(). |
|
Definition at line 946 of file spo_unified.c. References _UnifiedConfig::current, _UnifiedConfig::stream, and UnifiedInitAlertFile(). Referenced by RealUnifiedLogAlert(). |
|
Definition at line 826 of file spo_unified.c. References DEBUG_FLOW, DEBUG_WRAP, _UnifiedConfig::filename, and _UnifiedConfig::stream. Referenced by UnifiedAlertInit(), UnifiedInit(), and UnifiedLogInit(). |
|
Definition at line 247 of file spo_unified.c. References AddFuncToCleanExitList(), AddFuncToOutputList(), AddFuncToRestartList(), _progvars::alert_plugin_active, FatalError(), _progvars::log_plugin_active, NT_OUTPUT_ALERT, NT_OUTPUT_LOG, pv, UnifiedCleanExit(), UnifiedInitFile(), UnifiedLogAlert(), UnifiedLogPacketAlert(), UnifiedParseArgs(), and UnifiedRestart(). Referenced by UnifiedSetup(). |
|
Definition at line 895 of file spo_unified.c. References ALERT_MAGIC, bzero, DEBUG_LOG, DEBUG_WRAP, errno, FatalError(), _UnifiedConfig::filename, _progvars::log_dir, _UnifiedAlertFileHeader::magic, NULL, pv, snprintf, STD_BUF, _UnifiedConfig::stream, thiszone, _UnifiedAlertFileHeader::timezone, _UnifiedAlertFileHeader::version_major, and _UnifiedAlertFileHeader::version_minor. Referenced by UnifiedAlertInit(), and UnifiedAlertRotateFile(). |
|
Definition at line 282 of file spo_unified.c. References bzero, errno, FatalError(), _UnifiedConfig::filename, _FileHeader::flags, _progvars::log_dir, _FileHeader::magic, NULL, pv, snprintf, STD_BUF, _UnifiedConfig::stream, and UNIFIED_MAGIC. Referenced by UnifiedInit(), and UnifiedRotateFile(). |
|
|
Definition at line 382 of file spo_unified.c. References _DataHeader::length, RealUnifiedLogAlert(), _DataHeader::type, and UNIFIED_TYPE_ALERT. Referenced by UnifiedInit(). |
|
Definition at line 334 of file spo_unified.c. References errno, FatalError(), IP_MAXPACKET, _DataHeader::length, LogMessage(), memcpy, memset, _UnifiedConfig::stream, _DataHeader::type, and write_pkt_buffer. |
|
Definition at line 956 of file spo_unified.c. References AddFuncToCleanExitList(), AddFuncToOutputList(), AddFuncToRestartList(), DEBUG_INIT, DEBUG_WRAP, _progvars::log_bitmap, _progvars::log_plugin_active, LOG_UNIFIED, NT_OUTPUT_LOG, OldUnifiedLogPacketAlert(), pv, UnifiedCleanExit(), UnifiedInitLogFile(), UnifiedParseArgs(), and UnifiedRestart(). Referenced by UnifiedSetup(). |
|
Definition at line 489 of file spo_unified.c. References DEBUG_LOG, DEBUG_WRAP, _DataHeader::length, _Packet::packet_flags, PKT_REBUILT_STREAM, RealUnifiedLogPacketAlert(), RealUnifiedLogStreamAlert(), _DataHeader::type, and UNIFIED_TYPE_PACKET_ALERT. Referenced by UnifiedInit(). |
|
Definition at line 1266 of file spo_unified.c. References _UnifiedConfig::current, _UnifiedConfig::stream, and UnifiedInitLogFile(). Referenced by OldUnifiedLogPacketAlert(), RealUnifiedLogPacketAlert(), and RealUnifiedLogStreamAlert(). |
|
Definition at line 735 of file spo_unified.c. References DEBUG_PLUGIN, DEBUG_WRAP, FatalError(), file_line, file_name, _UnifiedConfig::filename, index, _UnifiedConfig::limit, LogMessage(), mSplit(), NULL, and strcasecmp. Referenced by UnifiedAlertInit(), UnifiedInit(), and UnifiedLogInit(). |
|
Definition at line 852 of file spo_unified.c. References DEBUG_FLOW, DEBUG_WRAP, _UnifiedConfig::filename, and _UnifiedConfig::stream. Referenced by UnifiedAlertInit(), UnifiedInit(), and UnifiedLogInit(). |
|
Definition at line 324 of file spo_unified.c. References _UnifiedConfig::current, _UnifiedConfig::stream, and UnifiedInitFile(). Referenced by RealUnifiedLogAlert(), RealUnifiedLogPacketAlert(), and RealUnifiedLogStreamAlert(). |
|
Definition at line 225 of file spo_unified.c. References DEBUG_INIT, DEBUG_WRAP, NT_OUTPUT_ALERT, NT_OUTPUT_LOG, NT_OUTPUT_SPECIAL, RegisterOutputPlugin(), UnifiedAlertInit(), UnifiedInit(), and UnifiedLogInit(). Referenced by InitOutputPlugins(). |
|
|
|
|
|
Definition at line 149 of file snort.c. Referenced by DeleteSession(), SnortMain(), ts_print(), UnifiedInitAlertFile(), and UnifiedInitLogFile(). |
|
Definition at line 211 of file spo_unified.c. |
|
Definition at line 332 of file spo_unified.c. Referenced by UnifiedLogData(). |