Victor Julien
0941c152fd
Minor layout fixes.
15 years ago
Breno Silva
f6b36b7241
Unified2rev2
...
Signed-off-by: Breno Silva <breno.silva@gmail.com>
15 years ago
Breno Silva
ee8fef2e68
Unified2rev2
...
Signed-off-by: Breno Silva <breno.silva@gmail.com>
15 years ago
Breno Silva
8c797927cd
Unified2rev2
...
Signed-off-by: Breno Silva <breno.silva@gmail.com>
15 years ago
Breno Silva
145d89ba01
Unified2rev1
...
Signed-off-by: Breno Silva <breno.silva@gmail.com>
15 years ago
Breno Silva
a5e386ce52
Unified2
...
Signed-off-by: Breno Silva <breno.silva@gmail.com>
15 years ago
William Metcalf
c313444991
comment out printf for unittest format
15 years ago
Jason Ish
beef3c6c24
Fix access to ttl.
15 years ago
Victor Julien
daf3078279
Fix compilation on 32bit
15 years ago
Brian Rectanus
ed3fee2bac
Fixed detect-byte src to use new util-byte return codes.
15 years ago
Brian Rectanus
ba4c2e599d
Add byte test to detection engine.
15 years ago
Brian Rectanus
11d068740a
Byte utils return num bytes extracted on success instead of zero.
15 years ago
Brian Rectanus
02a8b583c9
Added byte_test and byte_jump support.
15 years ago
Brian Rectanus
af06e6a288
Added byte extraction util.
15 years ago
Victor Julien
cfb605aa8a
Put the precooked runmodes in a separate file.
15 years ago
William Metcalf
e95e5cb36a
missing memsets in pppoe unit tests
15 years ago
Victor Julien
301522f316
Add TCP_GET_WSCALE macro for easy access to wscale. Update StreamTcp to use it. Default to wscale 14 (max) in case of midstream as there seems to be no reliable way to predict wscale if we missed it.
15 years ago
Victor Julien
f92ac1fbdb
Merge branch 'tcpopt' into next
15 years ago
Victor Julien
a6fe5a7331
Add TCP_GET_TS1 and TCP_GET_TS2 marco's to efficiently retrieve the TCP timestamps in host order.
15 years ago
Jamie
a297225157
victor must be getting sick of PPPoE and ICMP
15 years ago
Victor Julien
b6deadd2b4
Fixed a few missing places for tv->flags access. Changed mutex init for packets slightly.
15 years ago
Victor Julien
968dc45d27
Merge branch 'threading' into t
15 years ago
Victor Julien
1858be7a2f
Lock threadvars flags using spinlocks.
15 years ago
Victor Julien
edfddcb282
Clean up stream tests memory handling. Remove counters in the address handling that were thread unsafe.
15 years ago
William Metcalf
6095b8f2a1
fix for older libc's missing def for IPPROTO_DCCP
15 years ago
Victor Julien
f03d540d2f
Suppress debug output in yaml loader.
15 years ago
Jason Ish
c91a4baad5
- Autoconf goo for libyaml.
...
- Mock YAML configuration file.
- YAML loader for basic YAML files - not all YAML elements support yet..
todo.
- Add --dump-config command line parameter to dump the state of the
configuration db after loading the config file.
15 years ago
Victor Julien
733c3bcb8c
Fix "ip" rules not ending up in the tcp and udp sig group heads correctly.
15 years ago
Victor Julien
d883a993f7
Make sure stream_size works on IPv6 as well, only checks TCP packets, validates input better.
15 years ago
Gurvinder Singh
0675b7d7cf
fixed unittests against protoctx
15 years ago
Gurvinder Singh
d82d83eba2
fixed regex to handle space
15 years ago
Gurvinder Singh
df74597a1f
use next_seq for stream size and comments
15 years ago
Gurvinder Singh
7e5f5e68e8
regex intial version
15 years ago
Gurvinder Singh
aa87f70470
stream size match function and unittests
15 years ago
Gurvinder Singh
ac53ca5b27
Stream Size rule option
15 years ago
Anoop Saldanha
3a45b2711c
Fixed the Perf API startup issue
15 years ago
William Metcalf
07bb501aca
compile fix for source-nfq.c
15 years ago
Victor Julien
15b75d727a
Fix reassembly unittests.
15 years ago
Victor Julien
a39108843e
Small tm module API rename to reflect that Init/Deinit/ExitPrintStats are per thread calls.
15 years ago
Victor Julien
b102ea2123
Big update:
...
- Implement "closing" state in flow.
- Add protocol specific timeouts.
- Lots of stream tracking updates, fixing a lot of out of window issues.
- Stream reassembly fixes.
- Implement a new IDS runmode with 4 stream and detect threads.
- Added a BUG_ON macro that aborts the engine if the expression is true.
- Better balance the flow queue handler for traffic that doesn't have flow (like icmp currently).
- Simplify application level protocol in the Tcp Session.
- Add some debugging memory counters.
15 years ago
Victor Julien
b4f0e82463
Small flow updates.
15 years ago
Gurvinder Singh
2e3d7fcb9d
Fixed seg fault
15 years ago
Gurvinder Singh
9dcf6e2de2
handle the FLOW_STATE_CLOSED
15 years ago
Gurvinder Singh
ced5157dc9
Flow get state protocol specific
15 years ago
Gurvinder Singh
ec4fee215c
registering unit tests
15 years ago
Gurvinder Singh
ab76253ec6
registering stream timeouts and flow prunning unit tests
15 years ago
Gurvinder Singh
a4ad7939d2
proto specific free function
15 years ago
Gurvinder Singh
55cdf8947e
some modification in protocol specifc timeouts and free funtion
15 years ago
Gurvinder Singh
efcde9f52e
Some fixes for timeouts
15 years ago
Gurvinder Singh
e3b76dcaad
efficient protocol specific timeouts
15 years ago