Victor Julien
a44b612a41
hostbits/xbits: free hostbit
...
Fix memory leak. Hostbits were not actually freed.
Bug #1975 .
9 years ago
Victor Julien
215d0d54c7
detect: optimize rule address parsing
...
Many rules have the same address vars, so instead of parsing them
each time use a hash to store the string and the parsed result.
Rules now reference the stored result in the hash table.
9 years ago
Alexander Gozman
69785f186c
BUG #1689 : fix stack overflow when parsing variables
...
Suricata crashed when variable (either address or port)
referred to itself or if one created a looped chain of
variables. For instance:
HOME_NET: "!$EXTERNAL_NET"
EXTERNAL_NET: "!$HOME_NET"
Or:
Var1: "$Var2"
Var2: "$Var3"
Var3: "$Var1"
10 years ago
Victor Julien
fbdcffabc2
xbits: expire (first steps)
11 years ago
Victor Julien
dea8dda3c1
vars: redo var name <-> idx handling
...
Can't use sm type anymore as multiple var carriers (host/flow/etc) will
all have xbits.
11 years ago
Victor Julien
a716dded04
xbit: move to util-var
...
We can reuse the type for hostbits and flowbits as well.
11 years ago
Victor Julien
ffe4a302a1
vars: optimize layout to reduce size requirements of flowbits and other vars
12 years ago
William Metcalf
ce01927515
Import of GPLv2 Header 050410
16 years ago
Victor Julien
493715c0d2
Implement alert sid storage in the flow so we can check previous alerts in the flow.
16 years ago
Brian Rectanus
fa5939ca91
64 bit cleanup part2
16 years ago
Victor Julien
689bbfdc45
Rename all structure definitions in the "typedef struct _SomeStruct" format to "typedef struct SomeStruct_" to make the Doxygen output more useful.
...
Remove the Trie multi pattern matcher code. It wasn't used anymore.
16 years ago
Victor Julien
ff4b5a5db7
Add support for flowbits.
16 years ago