@@ -1639,6 +1639,30 @@ $config = [
16391639// ],
16401640// ],
16411641
1642+ /**
1643+ * (optional) How many requests per minute a single client may make to
1644+ * the Status List endpoint. The default, 0, means no limit at all.
1645+ *
1646+ * The endpoint is unauthenticated and one response can reach a couple of
1647+ * hundred kilobytes, so putting a ceiling on how much a single client can
1648+ * pull is worth considering. There are two things to check before you do.
1649+ *
1650+ * First, clients are told apart only by the IP address that reaches PHP
1651+ * (REMOTE_ADDR). If a reverse proxy, load balancer or CDN sits in front
1652+ * of SimpleSAMLphp, then that address is the proxy's own, and it is the
1653+ * same one for every request. All clients would share a single counter,
1654+ * which their combined traffic exhausts quickly, and the endpoint would
1655+ * start refusing legitimate requests. That matters more here than on
1656+ * other endpoints: wallets and verifiers read this endpoint to tell a
1657+ * valid credential from a revoked one, so refusing them makes already
1658+ * issued credentials unverifiable. Confirm which address actually
1659+ * arrives at PHP before setting a limit.
1660+ *
1661+ * Second, counting requires a protocol cache. If none is configured this
1662+ * option has no effect: nothing is counted and no request is refused.
1663+ */
1664+ // ModuleConfig::OPTION_VCI_STATUS_LIST_REQUESTS_PER_MINUTE => 60,
1665+
16421666 /**
16431667 * Map of authentication sources and user's email attribute names. This
16441668 * enables you to define a specific attribute name which contains the
0 commit comments