suricata
|
#include "suricata-common.h"
#include "suricata.h"
#include "decode.h"
#include "decode-ipv4.h"
#include "decode-tcp.h"
#include "decode-sctp.h"
#include "decode-udp.h"
#include "packet-queue.h"
#include "threads.h"
#include "threadvars.h"
#include "tm-queuehandlers.h"
#include "tm-threads.h"
#include "action-globals.h"
#include "respond-reject.h"
#include "respond-reject-libnet11.h"
#include "util-device.h"
Go to the source code of this file.
Functions | |
int | RejectSendLibnet11IPv4TCP (ThreadVars *tv, Packet *p, void *data, enum RejectDirection dir) |
int | RejectSendLibnet11IPv4ICMP (ThreadVars *tv, Packet *p, void *data, enum RejectDirection dir) |
int | RejectSendLibnet11IPv6TCP (ThreadVars *tv, Packet *p, void *data, enum RejectDirection dir) |
int | RejectSendLibnet11IPv6ICMP (ThreadVars *tv, Packet *p, void *data, enum RejectDirection dir) |
void | FreeCachedCtx (void) |
RespondRejectLibnet11 used to send out libnet based TCP resets and ICMP unreachables.
calculate TTL base on average from stream tracking
come up with a way for users to specify icmp unreachable type
Possibly default to port unreachable for UDP traffic this seems to be the default in flexresp and iptables
Definition in file respond-reject-libnet11.c.
void FreeCachedCtx | ( | void | ) |
Definition at line 606 of file respond-reject-libnet11.c.
References SCLogDebug.
int RejectSendLibnet11IPv4ICMP | ( | ThreadVars * | tv, |
Packet * | p, | ||
void * | data, | ||
enum RejectDirection | dir | ||
) |
Definition at line 582 of file respond-reject-libnet11.c.
References SCLogError.
Referenced by RejectSendIPv4ICMP().
int RejectSendLibnet11IPv4TCP | ( | ThreadVars * | tv, |
Packet * | p, | ||
void * | data, | ||
enum RejectDirection | dir | ||
) |
Definition at line 574 of file respond-reject-libnet11.c.
References SCLogError.
Referenced by RejectSendIPv4TCP().
int RejectSendLibnet11IPv6ICMP | ( | ThreadVars * | tv, |
Packet * | p, | ||
void * | data, | ||
enum RejectDirection | dir | ||
) |
Definition at line 598 of file respond-reject-libnet11.c.
References SCLogError.
Referenced by RejectSendIPv6ICMP().
int RejectSendLibnet11IPv6TCP | ( | ThreadVars * | tv, |
Packet * | p, | ||
void * | data, | ||
enum RejectDirection | dir | ||
) |
Definition at line 590 of file respond-reject-libnet11.c.
References SCLogError.
Referenced by RejectSendIPv6TCP().