EvEmu
0.8.4
11 September 2021
|
#include <stdlib.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>
#include <arpa/inet.h>
#include <string.h>
#include <stdio.h>
#include <unistd.h>
#include "nids.h"
#include <string>
#include <queue>
#include <map>
#include "../common/packet_dump.h"
#include "../common/packet_functions.h"
#include "../common/packet_types.h"
#include "../common/PyRep.h"
#include "../common/EVEUnmarshal.h"
#include "../common/PyPacket.h"
#include "../common/PyVisitor.h"
#include "../common/logsys.h"
#include "../common/StreamPacketizer.h"
#include "../common/CachedObjectMgr.h"
#include "../common/PyXMLGenerator.h"
#include "../common/PyDumpVisitor.h"
#include "../common/PyLookupDump.h"
#include "EVECollectDisp.h"
#include "../packets/General.h"
Go to the source code of this file.
Macros | |
#define | int_ntoa(x) inet_ntoa(*((struct in_addr *)&x)) |
Functions | |
char * | adres (struct tuple4 addr) |
void | ProcessCallRequest (PyPacket *packet) |
void | tcp_callback (struct tcp_stream *a_tcp, void **this_time_not_needed) |
int | EVE_NIDS_main (EVECollectDispatcher *disp, int argc, char *argv[]) |
Variables | |
static EVECollectDispatcher * | CollectDispatcher = NULL |
StreamPacketizer | clientPacketizer |
StreamPacketizer | serverPacketizer |
#define int_ntoa | ( | x | ) | inet_ntoa(*((struct in_addr *)&x)) |
Definition at line 61 of file EVEnids.cpp.
Referenced by adres().
char* adres | ( | struct tuple4 | addr | ) |
Definition at line 67 of file EVEnids.cpp.
References int_ntoa, and sprintf().
Referenced by tcp_callback().
int EVE_NIDS_main | ( | EVECollectDispatcher * | disp, |
int | argc, | ||
char * | argv[] | ||
) |
Definition at line 196 of file EVEnids.cpp.
References strdup, and tcp_callback().
Referenced by main().
void ProcessCallRequest | ( | PyPacket * | packet | ) |
Definition at line 77 of file EVEnids.cpp.
void tcp_callback | ( | struct tcp_stream * | a_tcp, |
void ** | this_time_not_needed | ||
) |
Definition at line 88 of file EVEnids.cpp.
References _hex, _log, adres(), clientPacketizer, PyPacket::Decode(), EVEPacketDispatcher::DispatchPacket(), PyPacket::Dump(), is_log_enabled, EVECollectDispatcher::lookResolver, PyPacket::payload, StreamPacketizer::PopPacket(), serverPacketizer, PyRep::visit(), and PyTuple::visit().
Referenced by EVE_NIDS_main().
StreamPacketizer clientPacketizer |
Definition at line 86 of file EVEnids.cpp.
Referenced by tcp_callback().
|
static |
Definition at line 82 of file EVEnids.cpp.
StreamPacketizer serverPacketizer |
Definition at line 87 of file EVEnids.cpp.
Referenced by tcp_callback().