Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine developed by the OISF and the Suricata community.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Victor Julien 04ccfda639 pcap: implement LINKTYPE_NULL
Implement LINKTYPE_NULL for pcap live and pcap file.

From: http://www.tcpdump.org/linktypes.html

"BSD loopback encapsulation; the link layer header is a 4-byte field,
 in host byte order, containing a PF_ value from socket.h for the
 network-layer protocol of the packet.

 Note that ``host byte order'' is the byte order of the machine on
 which the packets are captured, and the PF_ values are for the OS
 of the machine on which the packets are captured; if a live capture
 is being done, ``host byte order'' is the byte order of the machine
 capturing the packets, and the PF_ values are those of the OS of
 the machine capturing the packets, but if a ``savefile'' is being
 read, the byte order and PF_ values are not necessarily those of
 the machine reading the capture file."

Feature ticket #1445
12 years ago
benches Initial add of the files. 18 years ago
contrib Add option on Tile-Gx for logging for fast.log alerts over PCIe 13 years ago
doc Fix make distcheck on CentOS 5.11 12 years ago
lua output-lua: add SCPacketTimeString 12 years ago
m4 Prelude plugin: add detection in configure script 17 years ago
qa prscript: rework option logic 12 years ago
rules pcap: implement LINKTYPE_NULL 12 years ago
scripts suricatasc: allow for longer response times after connect 12 years ago
src pcap: implement LINKTYPE_NULL 12 years ago
.gitignore unittest: make check use a qa/log dir for logging 13 years ago
.travis.yml travis-ci: use make check 12 years ago
COPYING Initial add of the files. 18 years ago
ChangeLog Update changelog for 2.1beta3 12 years ago
LICENSE import of gplv2 LICENSE 17 years ago
Makefile.am Respect DESTDIR in install-conf and install-rules. 12 years ago
Makefile.cvs Initial add of the files. 18 years ago
acsite.m4 Added C99 defs/macros to acsite.m4 for CentOS 17 years ago
autogen.sh OpenBSD 5.2 build fixes, Unit test fix. 14 years ago
classification.config Import of classification.config 17 years ago
config.rpath Add file needed for some autotools version. 13 years ago
configure.ac Define _DEFAULT_SOURCE. Its the replacement for _BSD_SOURCE which 12 years ago
doxygen.cfg doxygen: add source browser 13 years ago
reference.config Update reference.config 12 years ago
suricata.yaml.in rules: add app layer events rules 12 years ago
threshold.config threshold: improve comments of shipped threshold.config, add links to wiki. 14 years ago