8000 December monthly meeting agenda · Issue #972 · coreruleset/coreruleset · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

December monthly meeting agenda #972

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

Closed
CRS-migration-bot opened this issue May 13, 2020 · 5 comments
Closed

December monthly meeting agenda #972

CRS-migration-bot opened this issue May 13, 2020 · 5 comments

Comments

@CRS-migration-bot
Copy link

Issue originally created by user spartantri on date 2017-11-27 14:27:48.
Link to original issue: SpiderLabs/owasp-modsecurity-crs#972.

Case sensitive items (additional infos)

There are rules with different approaches

  • Ignore cases by converting all to lowercase/uppercase in a transform (t:lowercase)
  • Ignore cases by using case insensitive regex (?i)
  • Case sensitive rules using all uppercase [good for http methods bad for most other stuff] (?:GET|POST)
  • Case sensitive rules using regex with both cases (?:[eEiIoOuUyY]acute)
  • Which one is faster?
  • Benchmarks?
  • Which one to use on which circumstance

It maybe easier to use t:lowercase and convert all the regex to lowercase and add a warning in CONTRIBUTING.md

@CRS-migration-bot
Copy link
Author

User csanders-git commented on date 2017-11-27 14:36:09:

i'm actually not sure about this. My gut says that the transform will be faster but if the regex engine is already booted up for something different the performance is probably negligible

@CRS-migration-bot
Copy link
Author

User dune73 commented on date 2017-11-27 14:54:17:

It's probably worth to test in detail before we chance anything.

@CRS-migration-bot
Copy link
Author

User fgsch commented on date 2017-11-27 18:17:43:

My gut feeling says the opposite, the regexp should be faster or equal.

Also there is no need to pre-convert the whole input to lowercase if it's not going to match further down the line. For large inputs this might be considerable.

It'd be great to see some benchmarks though.

@CRS-migration-bot
Copy link
Author

User lifeforms commented on date 2017-12-04 20:56:58:

Handling of case (?:in)?sensitive items - To set a standard for future development, we need to know which way has better performance. spartantri is going to try to do some benchmarks on Apache, so we can revisit the issue next month.

@CRS-migration-bot
Copy link
Author

User lifeforms commented on date 2017-12-04 20:57:32:

Open issues: Yeah, there are many open issues.. All reviewers should try to look at their assigned issues if they can. Many new PRs are about the test suite, which is not working yet for everyone. These issues fortunately seem small. They are assigned to csanders-git.

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

No branches or pull requests

1 participant
0