Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

net/ids.cpp File Reference

#include "ids.h"
#include "con/print.cpp"

Go to the source code of this file.

Defines

#define DEBUG

Variables

const char idsid [] = "\100$ Free Agent: ids.cpp, v 0.1 2002/05/29 red0x Exp $"
unsigned long int icmp = 0
unsigned long int udp = 0
unsigned long int tcp = 0
unsigned long int ip = 0
unsigned long int max_icmp = 0
unsigned long int max_udp = 0
unsigned long int max_tcp = 0
unsigned long int max_ip = 0


Detailed Description

Network IDS subsystem (sniffer)
Todo:
Add a startup function to setup a libpcap sniffer. Add a function to get a list of protocol handlers and Start them running. Then, start capturing packets and passing them off to the protocol handlers.

Add a startup function to setup a libpcap sniffer. Add a function to get a list of protocol handlers and Start them running. Then, start capturing packets and passing them off to the protocol handlers.

Move DEBUG define to toplevel config.h

Definition in file ids.cpp.


Define Documentation

#define DEBUG
 

Value:

Definition at line 29 of file ids.cpp.


Variable Documentation

unsigned long int icmp = 0
 

Definition at line 35 of file ids.cpp.

const char idsid = "\100$ Free Agent: ids.cpp, v 0.1 2002/05/29 red0x Exp $" [static]
 

Definition at line 32 of file ids.cpp.

unsigned long int ip = 0
 

Definition at line 35 of file ids.cpp.

unsigned long int max_icmp = 0
 

Definition at line 36 of file ids.cpp.

unsigned long int max_ip = 0
 

Definition at line 36 of file ids.cpp.

unsigned long int max_tcp = 0
 

Definition at line 36 of file ids.cpp.

unsigned long int max_udp = 0
 

Definition at line 36 of file ids.cpp.

unsigned long int tcp = 0
 

Definition at line 35 of file ids.cpp.

unsigned long int udp = 0
 

Definition at line 35 of file ids.cpp.


Generated at Thu May 30 15:12:33 2002 for Freeagent by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001