magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.48k stars 9.29k forks source link

[Issue] add subnet mask IP support for maintenance mode #29657

Closed m2-assistant[bot] closed 2 months ago

m2-assistant[bot] commented 4 years ago

This issue is automatically created based on existing pull request: magento/magento2#28934: add subnet mask IP support for maintenance mode


Description

Maintenance mode should accept IP ranges instead of separate IP's so that for instance you can add the whole range of your payment service provider or CDN etc...

Fixed Issues (if relevant)

  1. PR #10570

    Manual testing scenarios

  2. run bin/magento maintenance:enable
  3. run bin/magento maintenance:allow-ips 192.168.33.0/16 (for instance)
  4. get access to the site

Mostly I am curious what you think about this kind of functionality and the use of darsyn/ip for this. I did take IPv6 into account.

Contribution checklist

m2-assistant[bot] commented 2 months ago

Hi @engcom-November. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

engcom-November commented 2 months ago

Hello @AntonEvers,

Thank you for the report and collaboration!

Going through the pr, this issue can be confirmed.

github-jira-sync-bot commented 2 months ago

Unfortunately, not enough information was provided to create a Jira ticket. Please make sure you added the following label(s): Reproduced on 2.4.x, ^Area:.*

Once all required labels are present, please add Issue: Confirmed label again.

engcom-Hotel commented 2 months ago

We are closing this issue as the related PR has been closed. Please refer to this comment https://github.com/magento/magento2/pull/10570#issuecomment-348929410.