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

make Zope's parameters for denial of service protection configurable #1142

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

d-maurer
Copy link
Contributor

Fixes #1141.

@d-maurer
Copy link
Contributor Author

d-maurer commented Jul 13, 2023 via email

@d-maurer d-maurer merged commit f62d0c9 into master Jul 13, 2023
23 checks passed
@d-maurer d-maurer deleted the dos_param_config branch July 13, 2023 16:26
d-maurer added a commit that referenced this pull request Jul 14, 2023
@d-maurer d-maurer restored the dos_param_config branch July 14, 2023 04:39
@d-maurer d-maurer deleted the dos_param_config branch July 14, 2023 04:40
jensens added a commit to plone/cookiecutter-zope-instance that referenced this pull request Oct 25, 2023
mauritsvanrees added a commit to plone/plone.restapi that referenced this pull request Nov 2, 2023
This fixes a regression due to a low Zope form memory limit of 1MB used since Plone 6.0.7.
You can use ``dos_protection`` settings in ``etc/zope.conf`` to change the limit.
See plone/Products.CMFPlone#3848 and zopefoundation/Zope#1142.
mauritsvanrees added a commit to plone/plone.restapi that referenced this pull request Nov 2, 2023
This fixes a regression due to a low Zope form memory limit of 1MB used since Plone 6.0.7.
You can use ``dos_protection`` settings in ``etc/zope.conf`` to change the limit.
See plone/Products.CMFPlone#3848 and zopefoundation/Zope#1142.
mauritsvanrees added a commit to plone/plone.restapi that referenced this pull request Nov 2, 2023
This fixes a regression due to a low Zope form memory limit of 1MB used since Plone 6.0.7.
You can use ``dos_protection`` settings in ``etc/zope.conf`` to change the limit.
See plone/Products.CMFPlone#3848 and zopefoundation/Zope#1142.
mauritsvanrees referenced this pull request in plone/plone.restapi Nov 2, 2023
This fixes a regression due to a low Zope form memory limit of 1MB used since Plone 6.0.7.
See `CMFPlone issue 3848 <https://github.com/plone/Products.CMFPlone/issues/3848>`_ and `Zope PR 1142 <https://github.com/zopefoundation/Zope/pull/1142>`_.
mauritsvanrees referenced this pull request in plone/plone.restapi Nov 2, 2023
This fixes a regression due to a low Zope form memory limit of 1MB used since Plone 6.0.7.
See `CMFPlone issue 3848 <https://github.com/plone/Products.CMFPlone/issues/3848>`_ and `Zope PR 1142 <https://github.com/zopefoundation/Zope/pull/1142>`_.
tisto pushed a commit to plone/plone.restapi that referenced this pull request Nov 4, 2023
…1729)

* Allow uploads up to 16 MB.

This fixes a regression due to a low Zope form memory limit of 1MB used since Plone 6.0.7.
You can use ``dos_protection`` settings in ``etc/zope.conf`` to change the limit.
See plone/Products.CMFPlone#3848 and zopefoundation/Zope#1142.

* Changed patch: temporarily disable form memory limit checking for files and images.

This seems a better way, then increasing the limit to 16MB.
See zopefoundation/Zope#1180 (comment)
mister-roboto pushed a commit to plone/buildout.coredev that referenced this pull request Nov 4, 2023
Branch: refs/heads/main
Date: 2023-11-04T07:13:09+01:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/plone.restapi@9f399ac

Temporarily disable form memory limit checking for files and images. (#1729)

* Allow uploads up to 16 MB.

This fixes a regression due to a low Zope form memory limit of 1MB used since Plone 6.0.7.
You can use ``dos_protection`` settings in ``etc/zope.conf`` to change the limit.
See plone/Products.CMFPlone#3848 and zopefoundation/Zope#1142.

* Changed patch: temporarily disable form memory limit checking for files and images.

This seems a better way, then increasing the limit to 16MB.
See zopefoundation/Zope#1180 (comment)

Files changed:
A news/3848.bugfix
A src/plone/restapi/patches.py
M src/plone/restapi/__init__.py
M src/plone/restapi/deserializer/__init__.py
mister-roboto pushed a commit to plone/buildout.coredev that referenced this pull request Nov 4, 2023
Branch: refs/heads/main
Date: 2023-11-04T07:13:09+01:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/plone.restapi@9f399ac

Temporarily disable form memory limit checking for files and images. (#1729)

* Allow uploads up to 16 MB.

This fixes a regression due to a low Zope form memory limit of 1MB used since Plone 6.0.7.
You can use ``dos_protection`` settings in ``etc/zope.conf`` to change the limit.
See plone/Products.CMFPlone#3848 and zopefoundation/Zope#1142.

* Changed patch: temporarily disable form memory limit checking for files and images.

This seems a better way, then increasing the limit to 16MB.
See zopefoundation/Zope#1180 (comment)

Files changed:
A news/3848.bugfix
A src/plone/restapi/patches.py
M src/plone/restapi/__init__.py
M src/plone/restapi/deserializer/__init__.py
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

Successfully merging this pull request may close these issues.

ZPublisher.HTTPRequest.FORM_MEMORY_LIMIT too low
5 participants