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

net/ids.h File Reference

#include <pcap.h>
#include "prohandler.h"

Go to the source code of this file.

Compounds

class  netIDS

Defines

#define IFACE   "eth0"
#define SNAPLEN   1600
#define PROMISC   0
#define TIMEOUT   1000
#define COUNT   50


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.

Move DEBUG define to toplevel config.h

Move IFACE, SNAPLEN, PROMISC, TIMEOUT, and COUNT to toplevel config.h

Bug:
Had to workaround libpcap's pcap.h linkage mangler.
Test:
Make sure libpcap still works

Definition in file ids.h.


Define Documentation

#define COUNT   50
 

Definition at line 39 of file ids.h.

#define IFACE   "eth0"
 

Definition at line 34 of file ids.h.

#define PROMISC   0
 

Definition at line 37 of file ids.h.

#define SNAPLEN   1600
 

Definition at line 35 of file ids.h.

#define TIMEOUT   1000
 

Definition at line 38 of file ids.h.


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