dsniff  2.4b2
About: A collection of tools for network auditing
  Fossies Dox: dsniff-2.4b2.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

trigger.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TRIGGER_TCP_RAW_TIMEOUT   30
 

Functions

void trigger_init_list (char *list)
 
void trigger_init_magic (char *filename)
 
void trigger_init_services (char *filename)
 
void trigger_dump (void)
 
int trigger_set_ip (int proto, char *name)
 
int trigger_set_udp (int port, char *name)
 
int trigger_set_tcp (int port, char *name)
 
int trigger_set_rpc (int program, char *name)
 
void trigger_ip (struct libnet_ipv4_hdr *ip)
 
void trigger_udp (struct libnet_ipv4_hdr *ip)
 
void trigger_tcp (struct tcp_stream *ts, void **conn_save)
 
void trigger_tcp_raw (struct libnet_ipv4_hdr *ip)
 
void trigger_tcp_raw_timeout (int signal)
 
void trigger_rpc (int program, int proto, int port)
 

Macro Definition Documentation

◆ TRIGGER_TCP_RAW_TIMEOUT

#define TRIGGER_TCP_RAW_TIMEOUT   30

Definition at line 14 of file trigger.h.

Function Documentation

◆ trigger_dump()

void trigger_dump ( void  )

◆ trigger_init_list()

void trigger_init_list ( char *  list)

Definition at line 553 of file trigger.c.

References errx(), strsep(), and trigger_set().

Referenced by main().

◆ trigger_init_magic()

void trigger_init_magic ( char *  filename)

Definition at line 547 of file trigger.c.

References magic_init().

Referenced by main().

◆ trigger_init_services()

void trigger_init_services ( char *  filename)

Definition at line 567 of file trigger.c.

References errx(), and trigger_set().

Referenced by main().

◆ trigger_ip()

void trigger_ip ( struct libnet_ipv4_hdr *  ip)

◆ trigger_rpc()

void trigger_rpc ( int  program,
int  proto,
int  port 
)

◆ trigger_set_ip()

int trigger_set_ip ( int  proto,
char *  name 
)

◆ trigger_set_rpc()

int trigger_set_rpc ( int  program,
char *  name 
)

◆ trigger_set_tcp()

int trigger_set_tcp ( int  port,
char *  name 
)

◆ trigger_set_udp()

int trigger_set_udp ( int  port,
char *  name 
)

◆ trigger_tcp()

void trigger_tcp ( struct tcp_stream *  ts,
void **  conn_save 
)

Definition at line 388 of file trigger.c.

References trigger::num, Opt_magic, Opt_snaplen, tcp_cnt, tcp_triggers, trigger_compare(), and trigger_tcp_half().

Referenced by main().

◆ trigger_tcp_raw()

void trigger_tcp_raw ( struct libnet_ipv4_hdr *  ip)

◆ trigger_tcp_raw_timeout()

void trigger_tcp_raw_timeout ( int  signal)

Definition at line 520 of file trigger.c.

References tcp_raw_timeout(), trigger_tcp_raw_callback(), and TRIGGER_TCP_RAW_TIMEOUT.

Referenced by main().

◆ trigger_udp()

void trigger_udp ( struct libnet_ipv4_hdr *  ip)