Skip to content

userguide: fix explanation about bsize ranges - v1#10235

Closed
jufajardini wants to merge 1 commit intoOISF:masterfrom
jufajardini:doc-6708/v1
Closed

userguide: fix explanation about bsize ranges - v1#10235
jufajardini wants to merge 1 commit intoOISF:masterfrom
jufajardini:doc-6708/v1

Conversation

@jufajardini
Copy link
Contributor

Our code handles Uint ranges as exclusive, but for bsize, our documentation stated that they're inclusive.

Cf. from uint.rs:

DetectUintMode::DetectUintModeRange => {
    if val > x.arg1 && val < x.arg2 {
        return true;
    }
}

Task #6708

Link to redmine ticket:
https://redmine.openinfosecfoundation.org/issues/6708

Describe changes:

  • fix statement about ranges in bsizedocs section
  • add explanation about range after rule example with range

Our code handles Uint ranges as exclusive, but for bsize, our
documentation stated that they're inclusive.

Cf. from uint.rs:

    DetectUintMode::DetectUintModeRange => {
        if val > x.arg1 && val < x.arg2 {
            return true;
        }
    }

Task OISF#6708
@jufajardini jufajardini added the typo/doc update No code change : only doc or typo fixes label Jan 24, 2024
@jufajardini
Copy link
Contributor Author

jufajardini commented Jan 24, 2024

Do I understand it correctly that before https://github.com/OISF/suricata-verify/pull/1608/files gets merged, the CI failure (https://github.com/OISF/suricata/actions/runs/7642196410/job/20824055247?pr=10235#step:14:84) is expected?

@jufajardini
Copy link
Contributor Author

replaced by: #10250

@jufajardini jufajardini deleted the doc-6708/v1 branch January 30, 2024 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

typo/doc update No code change : only doc or typo fixes

Development

Successfully merging this pull request may close these issues.

1 participant