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
Ken Steele be448aef22 For PktPool add local pending freed packets list.
Better handle the autofp case where one thread allocates the majority
of the packets and other threads free those packets.

Add a list of locally pending packets. The first packet freed goes on the
pending list, then subsequent freed packets for the same Packet Pool are
added to this list until it hits a fixed number of packets, then the
entire list of packets is pushed onto the pool's return stack. If a freed
packet is not for the pending pool, it is freed immediately to its pool's
return stack, as before.

For the autofp case, since there is only one Packet Pool doing all the
allocation, every other thread will keep a list of pending packets for
that pool.

For the worker run mode, most packets are allocated and freed locally. For
the case where packets are being returned to a remote pool, a pending list
will be kept for one of those other threads, all others are returned as before.

Which remote pool for which to keep a pending list is changed each time the
pending list is returned. Since the return pending pool is cleared when it is
freed, then next packet to be freed chooses the new pending pool.
11 years ago
benches
contrib Add option on Tile-Gx for logging for fast.log alerts over PCIe 12 years ago
doc Update docs from wiki 13 years ago
m4
qa Add initial travis-ci integration. 11 years ago
rules tls: check SSL3/TLS version per record 12 years ago
scripts fix regression in 'make distclean' due to commit cd305c3a 12 years ago
src For PktPool add local pending freed packets list. 11 years ago
.gitignore unittest: make check use a qa/log dir for logging 12 years ago
.travis.yml Add initial travis-ci integration. 11 years ago
COPYING
ChangeLog Update Changelog for 2.0.2 release 11 years ago
LICENSE
Makefile.am make install-full: get correct version of ET 12 years ago
Makefile.cvs
acsite.m4
autogen.sh OpenBSD 5.2 build fixes, Unit test fix. 13 years ago
classification.config Import of classification.config 16 years ago
config.rpath Add file needed for some autotools version. 12 years ago
configure.ac autotools: enable silent mode 11 years ago
doxygen.cfg doxygen: add source browser 12 years ago
reference.config Add md5 to reference.config. 14 years ago
suricata.yaml.in Remove pcapinfo output 11 years ago
threshold.config threshold: improve comments of shipped threshold.config, add links to wiki. 13 years ago