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

Ips delayed v1.2 #29

Closed
wants to merge 4 commits into from
Closed

Ips delayed v1.2 #29

wants to merge 4 commits into from

Conversation

regit
Copy link
Contributor

@regit regit commented Aug 22, 2012

The first patch 63a8272 is the only one which has been updated following the remarks of the previous pull request.

If the loop is breaked, this means we've got a treatment error. We
don't need to reconnect but we must exit with correct status.
This patch modifies the init of Detect threads. They are now started
with a dummy function and their initialisation is done after the
signatures are loaded. Just after this, the dummy function is switched
to normal one.

In IPS mode, this permit to route packets without waiting for the
signature to start and should fix OISF#488.

Offline mode such as pcap file don't use this mode to be sure to
analyse all packets in the file.

The patch introduces a "delayed-detect" configuration variable
under detect-engine. It can be used to restore previous behavior
(set to "no" to have signature loaded first).
This patch add a early exit condition to the body handling callback.
This permits to avoid to avoid a complex system to handle htp
object change.
This patch converts the series of variable to an atomic.

Furthermore, as the callbacks are now always run, it is not
necessary anymore to refuse a ruleswap if HTP parameters are
changing.
@inliniac
Copy link
Contributor

Okay, lets leave the 2 functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants