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

Delimiters in @pm, @within, etc. #682

Open
marcstern opened this issue Mar 19, 2014 · 2 comments · May be fixed by #2786
Open

Delimiters in @pm, @within, etc. #682

marcstern opened this issue Mar 19, 2014 · 2 comments · May be fixed by #2786
Assignees
Labels
3.x Related to ModSecurity version 3.x RIP - Type - Feature

Comments

@marcstern
Copy link

For operators supporting a list of parameters (pm, within), it would be very useful to allow to choose the delimiter.
For example, there is no way to use @pm with the string "a b c".
Remark: "a|20|b|20|c" does not work, which is for me a bug.

I propose to use the first non-alphanumeric character after @pm as a separator.
Ex. using / as separator: @pm/Sharepoint Active-X Upload Control
Pipe (|) should probably be refused because of the snort syntax.

@marcstern
Copy link
Author

Any news on this?

@quenenni
Copy link

quenenni commented Jul 5, 2016

I'm also interested in this feature.

How can I put:

  • the good
  • the bad
  • the ugly
    in a pm action.
    As "3. The @pm operator phrases do not support metacharacters. ", I don't see how I can do this.

I could try to use an external file and use pmf, but there is still the #1167 issue to resolve/understand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Related to ModSecurity version 3.x RIP - Type - Feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants