From 7aa1f8744ce14e172e9c55fa82b7970f28a6be11 Mon Sep 17 00:00:00 2001
From: Arnaud Mandy
Date: Mon, 30 Oct 2023 17:07:51 +0200
Subject: [PATCH 1/3] Provide guidelines for mitigation algorithms
This patch is providing guidelines on numerical values to select
for the mitigation algorithms parameters. [1]
[1] https://github.com/w3c/compute-pressure/issues/197#issuecomment-1698413311
Fixes: #240
---
index.html | 27 ++++++++++++++++++++++++---
1 file changed, 24 insertions(+), 3 deletions(-)
diff --git a/index.html b/index.html
index a9d9d24..ebd14c8 100644
--- a/index.html
+++ b/index.html
@@ -854,7 +854,7 @@
Supporting algorithms
set |observer|.{{PressureObserver/[[ObservationWindow]]}} to an [=implementation-defined=] randomized integer value in
- milliseconds within an [=implementation-defined=] range, e.g., random between 300000 and 600000 (5 and 10 minutes).
+ milliseconds within an [=implementation-defined=] range.
set |observer|.{{PressureObserver/[[MaxChangesThreshold]]}} to an [=implementation-defined=] randomized integer
@@ -870,6 +870,20 @@
Supporting algorithms
Run the [=reset observation window=] steps and start a timer to re-run the steps when the observer.{{PressureObserver/[[ObservationWindow]]}}
time has passed, using different randomized values.
+
Run the [=reset observation window=] steps and start a timer to re-run the steps when the observer.{{PressureObserver/[[ObservationWindow]]}}
time has passed, using different randomized values.
-
+
+
Rate obfuscation parameters
+
This section is non-normative.
+
+ Implementers are advised to use:
+
+
+ a range between 300000 milliseconds (5 minutes) and 600000 milliseconds (10 minutes) for |observer|.{{PressureObserver/[[ObservationWindow]]}}.
+
+
+ a range in between 50 and 100 changes for |observer|.{{PressureObserver/[[MaxChangesThreshold]]}}.
+
+
+ a range in milliseconds between 5000 and 10000 for |observer|.{{PressureObserver/[[PenaltyDuration]]}}.
+
+
+
+
Break calibration
@@ -1377,13 +1381,6 @@
Break calibration
at runtime when this mitigation is running continuously. Any attempts to recalibrate
will similarly be mitigated against.
-
+
+
Break calibration parameters
+
This section is non-normative.
+
+ Implementers are advised to apply the mitigation to a randomized time value within a range
+ between 120000 milliseconds (2minutes) and 240000 milliseconds (4 minutes).
+
- a range between 300000 milliseconds (5 minutes) and 600000 milliseconds (10 minutes) for |observer|.{{PressureObserver/[[ObservationWindow]]}}.
+ a range in between 300000 milliseconds (5 minutes) and 600000 milliseconds (10 minutes) for |observer|.{{PressureObserver/[[ObservationWindow]]}}.
a range in between 50 and 100 changes for |observer|.{{PressureObserver/[[MaxChangesThreshold]]}}.
- a range in milliseconds between 5000 and 10000 for |observer|.{{PressureObserver/[[PenaltyDuration]]}}.
+ a range in between 5000 milliseconds and 10000 milliseconds for |observer|.{{PressureObserver/[[PenaltyDuration]]}}.