Commit Graph

9 Commits (5d62995e2684ce398a657269e21fdb49d043a52d)

Author SHA1 Message Date
Victor Julien 6444f738af reject: minor code cleanup
Use enum for direction to assist compiler.
6 years ago
Victor Julien 279865b145 reject: remove L3 from function names 6 years ago
Victor Julien c594d0c1ad reject: allow configuration of the reject interface
Using the '--reject-dev <dev>' commandline option. This is a global option
that applies to all 'reject' actions.

If the interface specified is using ethernet, libnet will use the faster
L2 (link) layer. Suricata sets up the ethernet header based on the packet.

When the interface is specified, cache libnet_t ctx for (much) better
performance.
6 years ago
Victor Julien 66257f37eb reject: never return error
Errors by thread modules are not handled.
6 years ago
Eric Leblond f05efeb46f Add reject for IPv6
With this patch reject is now available in IPv6.
13 years ago
William Metcalf 2eef905c07 GPL and Copyright header updates. 16 years ago
William Metcalf ce01927515 Import of GPLv2 Header 050410 16 years ago
William Metcalf 7006085195 udp decoding added icmp unreachables added to reject 17 years ago
William Metcalf 0ffa1c2465 updates for configure.in, added reject code, some decode stuff for tcp 17 years ago