Jason Ish
b512580bbe
logging: integrate rotation into SCConfLogOpenGeneric.
...
Addresses issue 1492, and will make it harder to omit
rotation on new outputs.
10 years ago
Eric Leblond
39d667ff56
output-json: fix type of data parameter
...
The cast of data to AlertJsonThread was not correct as the real
type of the void pointer is a OutputJsonCtx. This was working by
luck because they both have a file_ctx as first element.
10 years ago
Ken Steele
8f1d75039a
Enforce function coding standard
...
Functions should be defined as:
int foo(void)
{
}
Rather than:
int food(void) {
}
All functions where changed by a script to match this standard.
11 years ago
Victor Julien
f1185d051c
flow id: quick and dirty first stab at a flow id
...
Add a 'flow_id' that is the same for all records produced for packets
belonging to the same flow.
This patch simply takes the flow's memory address.
11 years ago
Victor Julien
f4dfaacff3
netflow: log individual tcp flags
...
Log the tcp flags.
11 years ago
Victor Julien
db15339f47
netflow-json: initial version
...
Initial version of netflow module, a flow logger that logs each
direction in a completely separate record (line).
11 years ago