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

Coraza v2 status #98

Closed
16 of 18 tasks
jptosso opened this issue Nov 4, 2021 · 0 comments
Closed
16 of 18 tasks

Coraza v2 status #98

jptosso opened this issue Nov 4, 2021 · 0 comments
Assignees
Labels

Comments

@jptosso
Copy link
Member

jptosso commented Nov 4, 2021

I will start working on Coraza v2, if you are only using the high level APIs (Create WAF, tx, seclang and transaction manipulation) your migration will be smooth, because only low level APIs will be rewritten.

The idea of v2 is to extend compatibility with modsecurity v2 and remove CGO dependencies.

  • full v2 Seclang compatibility (not deprecated or removed modsecurity features and not PCRE): Modifications like the new SecAuditLog will be rolled back
  • The audit engine will work just like the modsecurity engine, but it will support json2 for the Coraza format
  • Debug logging will be like modsecurity but in a structured format

Other important features are:

  • Remove dependency from Seclang, now it's easier to create rules however you want
  • Many new native plugin interfaces
  • Almost no dependencies

Coraza v2 will only support highly tested features, every other feature will be included as a plugin until it can be merged to the main project. Only plugins without dependencies will be merged, some exceptions might be made.

v2.0

v2.x

  • Handle temporary files from multipart
  • Replace persistent collections with an internal persistence engine for plugins
  • Add windows support
@jptosso jptosso added the v2 label Nov 4, 2021
@jptosso jptosso self-assigned this Nov 4, 2021
@jptosso jptosso changed the title Coraza v2 ideas Coraza v2 status Nov 10, 2021
@jptosso jptosso closed this as completed Dec 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant