Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next v2 #1279

Merged
merged 5 commits into from Dec 23, 2014
Merged

Next v2 #1279

merged 5 commits into from Dec 23, 2014

Conversation

inliniac
Copy link
Contributor

victorjulien and others added 5 commits December 23, 2014 11:42
Host unittests were not registered so they wouldn't run.
This way they can be used by the *Inline* functions as well.
Don't conclude a GAP is 'final' until the missing data is ack'd.

Further, cleanup and unify more with the non-inline code.
This patches is fixing a issue in the OutputJSONBuffer function. It
was writing to file the content of the buffer starting from the start
to the final offset. But as the writing is done for each JSON string
we are duplicating the previous events if we are reusing the same
buffer.

Duplication was for example triggered when we have multiple alerts
attached to a packet. In the case of two alerts, the first one was
logged twice more as the second one.
If we follow the description in the yaml file, we should disable
parsing if 'detection-only' keyword is used.
@inliniac inliniac merged commit ff8dae3 into master Dec 23, 2014
@inliniac inliniac deleted the next-v2 branch January 16, 2015 09:05
ndenev pushed a commit to ndenev/suricata that referenced this pull request Feb 5, 2015
Print proper variable so we don't NULL-deref.

Bug OISF#1279.
alessandro-guido pushed a commit to alessandro-guido/suricata that referenced this pull request Feb 26, 2015
Print proper variable so we don't NULL-deref.

Bug OISF#1279.
ken-tilera pushed a commit to ken-tilera/suricata that referenced this pull request Feb 27, 2015
Print proper variable so we don't NULL-deref.

Bug OISF#1279.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants