-
-
Notifications
You must be signed in to change notification settings - Fork 402
phpBB exclusion rules file #1893
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
Conversation
TODOs from meeting:
|
@lifeforms Should i send a new PR or is it possible to update this one? |
I understand that these rules will be activated only with crs_exclusions_phpbb=1 but, in that case, they will be (really?) executed twice: in phase 1 and also in phase 2. But, as you are more experienced in CRS and rules writing than me, i will follow your suggestion and uncomment it. Thank you! |
I realized you are completely right - every rule has 'phase' setting which defines in which phase it will be executed. Sorry for confusion! So, should i create a new PR and close this one? |
From my perspective, you can fix this PR easily by adopting the changes @lifeforms proposed above. However, it may be tricky this PR is not based on a branch, but your main repository. So it depends a bit on you and if you can make it work. If it's too complicated, starting from scratch is probably easier. Either way, I am missing a change to the CONTRIBUTORS.md file. I think it's about time you place yourself among the developers. Ideally with your real name between Manuel and Felipe. |
All done. |
@lifeforms : Ready to merge? |
Thank you, it is looking great! I will review it, try it out on a phpBB install, and merge it this weekend! |
I have tried out the PR, thank you! I would recommend the following changes:
and
In my opinion if a line is not active, it's better to remove it, to keep the file clean. All in all, a very nice contribution - especially because forums are attacked often, so the CRS should be very valuable for this use case! |
Thanks for comments!
Ok but i don't like to completely disable CRS like this. What about adding additional check using |
By the way, is replacing
I mean, |
In other exclusion sets, we disable the CRS fully on certain parameters too. In my opinion, the I think this does not add to security; attacks in general will be expressed in valid UTF-8. We have the crs-setup.conf setting |
Yes, you are totally correct. |
Finally, I have one small nitpick:
The Now that I look at it, it appears that drupal and docuwiki are also in the wrong order 😬 Maybe you could fix that at the same time? |
Everything makes perfect sense to me, done! |
Awesome, thank you, merging! |
No description provided.