-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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/20200711/v4 #5168
Closed
Closed
Next/20200711/v4 #5168
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Replaces all patterns of SCLogError() followed by exit() with FatalError(). Cocci script to do this: @@ constant C; constant char[] msg; @@ - SCLogError(C, + FatalError(SC_ERR_FATAL, msg); - exit(EXIT_FAILURE); Closes redmine ticket 3188.
Some changes were made to the generated files instead of the generator script. Update the script to generate what is in the current state of the in-tree generated files.
First step of converting DNP3 to JsonBuilder by first converting the non-generated code.
New methods for setting and appending float values.
Migration from Jansson to JsonBuilder.
This way the AppLayerTxData is set up from the start. Any type of processing (logging, detection) will lead to setting up the user data later on anyway. Remove other places where it was added.
AppLayerTxData is a structure each tx should include that will contain the common fields the engine needs for tracking logging, detection and possibly other things. AppLayerTxConfig will be used by the detection engine to configure the transaction.
Optional callback a parser can register for applying configuration to the 'transaction'. Most parsers have a bidirectional tx. For those parsers that have different types of transaction handling, this new callback can be used to properly apply the config.
Http parser can have 'NULL' user data in case of memcap limit getting reached.
Allow app-layer to declare the txs are uni-directional and special care is needed for applying config.
Apply config to newly created response TX.
victorjulien
added a commit
to victorjulien/suricata
that referenced
this pull request
Mar 1, 2022
Only accept netmask in dotted quad notation if they can be turned into a CIDR. According to rfc 4632, CIDR (compat) netmasks are all that should be used. Bug: OISF#5168.
victorjulien
added a commit
to victorjulien/suricata
that referenced
this pull request
Mar 1, 2022
Only accept netmask in dotted quad notation if they can be turned into a CIDR. According to rfc 4632, CIDR (compat) netmasks are all that should be used. Bug: OISF#5168.
victorjulien
added a commit
to victorjulien/suricata
that referenced
this pull request
Mar 1, 2022
Only accept netmask in dotted quad notation if they can be turned into a CIDR. According to rfc 4632, CIDR (compat) netmasks are all that should be used. Bug: OISF#5168.
victorjulien
added a commit
to victorjulien/suricata
that referenced
this pull request
Mar 1, 2022
Only accept netmask in dotted quad notation if they can be turned into a CIDR. According to rfc 4632, CIDR (compat) netmasks are all that should be used. Bug: OISF#5168.
victorjulien
added a commit
to victorjulien/suricata
that referenced
this pull request
Mar 1, 2022
Only accept netmask in dotted quad notation if they can be turned into a CIDR. According to rfc 4632, CIDR (compat) netmasks are all that should be used. Bug: OISF#5168.
victorjulien
added a commit
to victorjulien/suricata
that referenced
this pull request
Mar 1, 2022
Only accept netmask in dotted quad notation if they can be turned into a CIDR. According to rfc 4632, CIDR (compat) netmasks are all that should be used. Bug: OISF#5168.
victorjulien
added a commit
to victorjulien/suricata
that referenced
this pull request
Mar 2, 2022
Only accept netmask in dotted quad notation if they can be turned into a CIDR. According to rfc 4632, CIDR (compat) netmasks are all that should be used. Bug: OISF#5168.
victorjulien
added a commit
to victorjulien/suricata
that referenced
this pull request
Mar 2, 2022
Only accept netmask in dotted quad notation if they can be turned into a CIDR. According to rfc 4632, CIDR (compat) netmasks are all that should be used. Bug: OISF#5168.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#5167
#5166 with minor fixup (removing an assert)
#5153
#5152
PRScript output (if applicable):
#suricata-verify-pr: 271
#suricata-verify-repo:
#suricata-verify-branch:
#suricata-update-pr:
#suricata-update-repo:
#suricata-update-branch:
#libhtp-pr:
#libhtp-repo:
#libhtp-branch: