<?xml version="1.0" encoding="utf-8"?>
<rfc docName='draft-irtf-pearg-safe-internet-measurement-15' ipr="trust200902" submissionType="IRTF" category="info" xml:lang="en"><!-- xmlns:xi="http://www.w3.org/2001/XInclude"-->
<front>

<title abbrev='Safe Internet Measurement'>
Considerations for Performing Safe Measurement on the Internet
</title>

<author initials="I. R." surname="Learmonth" fullname="Iain R. Learmonth">
  <organization>SR2 Communications</organization>
  <address>
    <postal>
      <street></street>
    </postal>
    <email>irl@sr2.uk</email>
  </address>
</author>

<author initials="M." surname="Knodel" fullname="Mallory Knodel">
  <organization></organization>
  <address>
    <postal>
      <street></street>
    </postal>
    <email>mallory.knodel@nyu.edu</email>
  </address>
</author>

<author initials="G." surname="Grover" fullname="Gurshabad Grover">
  <organization>internet Research Lab</organization>
  <address>
    <postal>
      <street></street>
    </postal>
    <email>gurshabad@irl.works</email>
  </address>
</author>

<date />

<area></area>
<workgroup></workgroup>
<keyword>safety</keyword>
<keyword>measurement</keyword>
<keyword>monitoring</keyword>
<keyword>research</keyword>

<abstract>
<t>Internet measurement is important to researchers from industry, academia and civil society. While measurement of the
internet can give insight into the functioning and usage of the Internet, it can present risks to users, such as
breaches of their privacy, legal consequences, or disruption of services they rely on. This document describes briefly
those risks. It also outlines considerations for researchers to reference when designing
internet measurements to ensure that those measurements can be carried out with user safety as a priority.</t>
</abstract>

<note title="Note">
<t>This document is a draft. It is not an IETF product. It does not propose a standard. Comments are solicited and
should be addressed to the research group's mailing list at pearg@irtf.org and/or the author(s).</t>
<t>The sources for this draft are at:</t>
<t>https://github.com/IRTF-PEARG/draft-safe-internet-measurement</t>
</note>

</front>

<middle>

<section anchor="introduction" title="Introduction">
<t> Measurement of the internet provides important insights and is a growing area of research. Similarly the internet
plays a role in enhancing research methods of different kinds.
</t>

<t> Performing research using the Internet, as opposed to an isolated testbed or simulation platform, means that
experiments co-exist in a space with other services and end users. Researchers using the Internet as part of a
scientific experiment include academic, industry and civil society researchers. This document outlines considerations
for such researchers so they may mitigate risks to the safety of users and other affected parties.
</t>

<t> It is common today for certain internet measurements to require an ethics review before gaining approval and to
report details of that review in the resulting work. Previous work in the area of ethical concerns includes the Menlo Report
<xref target="Menlo"/> and its companion document <xref target="MenloReportCompanion"/>, ethical concerns for censorship measurement
<xref target="Jones"/>, and <xref target="Reidsma"/> as an example of putting ethical guidelines into practice in
ethics review. Many organizations publish specific guidelines around safe measurements,
e.g. <xref target="TorSafetyBoard"/>. </t>

<t> The measurement landscape and community is wide and varied. The specific context for Internet measurements should
be taken into account by researchers/reviewers and applied appropriately. This document does not attempt to supersede
any recommendations such as those cited above, but rather to act as a point of reference for high level considerations
with particular emphasis on user consent and data collection. In the growing area of research that includes internet
measurement we see this work as part of a larger effort to better equip review boards to evaluate internet measurement
methods. Future work may specialize these considerations for specific types or contexts of internet measurement. </t>

</section>

<section anchor="scope" title="Scope of this document">
  
<t>The document contains considerations for how to measure the internet while prioritizing user safety. The considerations are
particularly germane to projects that involve the generation, collection and/or analysis of traffic from humans. When
performing research on a platform shared with live traffic from users, that research can be considered safe only if
the risk of danger or injury to users and other affected parties arising due to the research, now or in the future, is
no more than minimal or, where it is greater, has been accepted through informed consent by those who bear it
(<xref target="consent"/>). A measurement poses minimal risk when the probability and magnitude of harm anticipated
from it are not greater than those ordinarily encountered in everyday use of the internet. Avoiding harm is necessary but not sufficient: safe research also requires that any remaining
risks are justified by the benefits of the research (<xref target="risk-analysis"/>), that users have given consent
appropriate to those risks (<xref target="consent"/>), and that researchers are transparent and accountable for how
the research is conducted (<xref target="transparency"/>).</t>

<ul>

<li>The considerations presented here are not an exhaustive list. Depending on the measurement there may be other factors
  that need to be taken into account when evaluating the safety of the measurement.</li>

<li>Following the considerations contained within this document are not a substitute for institutional ethics review
processes, although these considerations could help to inform that process. </li>
 
<li>Similarly, these considerations are not legal advice. Local laws must be considered before starting any experiment
that could have adverse impacts on user safety.</li>

<li>The scope of this document is restricted to considerations that mitigate exposure to risks to user safety when
measuring properties of the internet: the network, its constituent hosts and links, or user traffic.</li>

</ul>

</section>

<section anchor="terminology" title="Terminology">
<t>Threat model: A threat is a potential for a security violation, which exists when
there is a circumstance, capability, action, or event that could
breach security and cause harm <xref target="RFC4949"/>.</t>

<t>User: For the purpose of this document, an internet user is an individual or
  organisation who uses the internet to communicate, including those whose data is
  carried in communications over the internet. In certain contexts, users also include
  individuals who are not the direct subject of the
  measurement, for example a contact whose data appears in a measured communication.</t>

<t>Affected party: Users, and any other individual or organisation that may be harmed
  by a measurement, such as the operators of infrastructure that carries, receives or
  responds to measurement traffic.</t>

<t>Active measurement: Active measurements generate
or modify traffic.</t>

<t>Passive measurement: Passive measurements involve the observation of existing traffic without active intervention.</t>

<t>On/off-path: A measurement that is on-path happens on the network. Off-path indicates activity in a side-channel, end-point or at other points where the user, their connection, or their data can be accessed.</t>

<t>One-/two-ended: A one-ended measurement is like a probe or a trace. A measurement with two-ended control requires the cooperation of both endpoints, which might include the network itself if that is the measurement target.</t>
</section>

<section anchor="user-impact" title="Potential user impact from measurement studies">
<t>Any conceivable internet measurement study might have an impact on an internet user's safety, including users who
are not subjects of the study, and on other affected parties such as infrastructure operators.
The measurement of generated traffic may also lead to insights into other users'
traffic indirectly as well. It is always necessary to consider the best
approach to mitigate the impact of measurements, and to balance the risks of
measurements against the benefits to impacted users.</t>

<t>Some possible ways in which users and other affected parties can be harmed as a result of an internet measurement study:</t>

<t>Breach of privacy: User privacy can be affected or violated in many ways. 
  The first consideration is at the stage of data collection itself. 
  First-order data, such as name, can distinguish a person. Second-order data, such as IP address, can be used to track behaviour.
  The second privacy risk is an internet user's data being shared beyond that for which a user had given consent, through accidental, malicious or compelled disclosure.
  A third privacy consideration relates to the risk of re-identification or de-anonymization of obfuscated or masked user data.
  <xref target="Kenneally"/>
  These risks include data about users other than the study's subjects, such as parties to a measured communication.</t>
  

<t>Inadequate data protection: A scenario where data, either in
  transit or at rest, lacks sufficient protection from disclosure.
  Failure to meet user expectations for data protection is a concern,
  even if it does not result in unauthorized access to the data. This includes cases of improper access control
(i.e. people having access to user data who do not need it).</t>

<t>Traffic generation: A scenario where undue traffic is generated to traverse the
internet.</t>

<t>Traffic modification: A scenario where users' on-path internet traffic is non-consensually modified.</t>

<t>Impersonation: A scenario where a user is impersonated during a measurement.</t>

<t>Legal: Users and service providers are bound by a wide range of policies from Terms of Service to laws, each according to context and jurisdiction. 
  A measurement study may violate these policies, and the consequences of such a violation may be severe.
  At the same time, legal requests may compel disclosure of sensitive data to government entities or to courts in lawsuits. <xref target="Kenneally"/></t>

<t>Unavailability: Users or other entities may rely on the information or systems that are involved in the research and they may be harmed by unexpected or planned unavailability of that information or systems <xref target="Menlo"/>.</t>

<t>System or data corruption: A scenario where generated or modified traffic causes the
corruption of a system. This covers cases where a user's data may be
lost or corrupted, and cases where a user's access to a system may be affected as a result.
</t>

<t>Emotional trauma: A scenario where a measurement of or exposure to content or behaviour in an internet measurement study causes a user emotional or psychological harm.</t>
</section>

<section anchor="guidelines" title="Considerations">

<t>This section sets out considerations for researchers designing and carrying out internet measurements, to mitigate
the risks described in <xref target="user-impact"/>. They cover general considerations, obtaining consent from users,
data collection and sharing, and the impact of measurements on the network. Not every consideration applies to every
measurement, and researchers should apply them in the light of the specific risks their study poses.</t>

<t>Where a consideration in this section allows an exception, or where it is unclear whether a measurement poses
more than minimal risk, the decision should not rest solely with the researchers who would benefit from it. Refer it
to an independent party, such as an institutional ethics review board. Where none is available, as is often the case
for civil society and independent researchers, seek review from an independent body, or from peers outside the project.
Record the decision and its reasoning, and report it with the results (<xref target="transparency"/>).</t>

<section title="General Considerations">
  
<section anchor="risk-analysis" title="Analyze the risks and benefits">
<t>The benefits of internet measurement should outweigh the risks <xref target="Menlo"/>
<xref target="Kenneally"/>.</t>

<t>Internet measurement studies should generally advance knowledge and create meaningful results. Benefits of internet
measurement studies can include but are not limited to analysis of internet topology; understanding the effect or
prevalence of new internet technologies, protocols or applications; characterisation or prevention of malware or other
security and privacy threats, and much more. <xref target="Kenneally"/></t>

<t>The risks of internet measurement studies, particularly to user safety, are summarised in <xref target="user-impact"/>. Consider
those risks, but also those stemming from use of auxiliary data (e.g. third-party data sets). Note that while a privacy risk may not be
immediately apparent or realisable, in the future increased computing power may then make something possible.</t>

<t>Weighing benefits against risks is not only a matter of comparing total benefit against
total risk: the Menlo Report's principle of justice also asks how risks and benefits are
distributed <xref target="Menlo"/>. In internet measurement, the risks often fall on
specific users, such as those whose traffic, devices or networks are measured, while the
benefits go to researchers, operators or the internet community as a whole.</t>

<t>Identify who bears the risks of a measurement and who receives its benefits. Where these
differ, and especially where those at risk are vulnerable or cannot practically consent,
reduce the risk as far as possible (<xref target="minimization"/>) and explicitly justify
what remains. A study is not justified simply because its total benefits exceed its total risks.
No aggregate benefit justifies exposing people to more than minimal risk without their informed consent
(<xref target="consent"/>).</t>

<t>Ensuring that a project's benefits outweigh its risks requires applying the considerations in this document, as well
as regular community feedback (particularly from those who will ostensibly benefit or be at risk through the project),
proper auditing of the study, and impact assessments.</t>

</section>

<section anchor="transparency" title="Transparency and accountability">
<t>Have “a general policy of openness about developments, practices and policies with respect to personal data.” <xref target="OECD"/></t> 

<t>Despite best intentions, things fall apart. In the case of any adverse events, researchers should “responsibly
inform affected stakeholders.” <xref target="Menlo"/> Contact affected users directly where possible. In all
cases, information about the discovery of security vulnerabilities, data compromise, and instances of unauthorized
access to information should also be published, once doing so would not itself put users at further risk (for example,
once a vulnerability has been fixed).</t>

<t>At a minimum, report the following with the published results of the research: the outcome of any ethics review;
the risk analysis (<xref target="risk-analysis"/>); how consent was obtained (<xref target="consent"/>); any
exceptions taken (<xref target="guidelines"/>); and any adverse events.</t>

<t>For long-running experiments, also institute a regular accountability and reporting mechanism, such as an annual
review by an advisory board. Such regular accountability mechanisms can include an assessment of the experiment's impact on user safety and
privacy, analysis of security events, and an evaluation of whether the experiment is meeting its expected goals.</t>

</section>

<section anchor="attribute" title="Identification of traffic">
<t>Proactively identify your measurement to others on the network. "This allows any party or organization to understand what an unsolicited probe packet is, what its purpose is, and, most importantly, who to contact."<xref target="RFC9511"/> </t>
<t>Example: For a layer 3 IP packet probe you could mark measurements with a probe description URI as defined in RFC9511.</t>
<t>This guideline may be ignored if attribution runs contrary to the purpose of the measurement study or
would otherwise render it ineffectual. For example, for an experiment collecting information about local internet
censorship, the network may provide different results if the connections can be identified as serving that purpose.
A decision not to identify measurement traffic should be reviewed as described in <xref target="guidelines"/>, and should
be disclosed when results from the measurements.</t>
<t>Identifying measurement traffic also helps to reduce the impact of a measurement on others' infrastructure, as
discussed in <xref target="others-stuff"/>.</t>
</section>


</section>
<section anchor="consent" title="Obtaining consent from users">
<t>Accountability and transparency are fundamentally related to consent. As per the Menlo Report, "Accountability
demands that research methodology, ethical evaluations, data collected, and results generated should be documented and
made available responsibly in accordance with balancing risks and benefits." <xref target="Menlo"/> A user is best
placed to balance the risks and benefits for themselves therefore consent must be obtained.</t>

<t>The form of consent required is set by the risk a measurement poses to users (<xref target="user-impact"/>), not by
how practical consent is to obtain. Researchers should obtain informed consent for any measurement that poses more than
minimal risk to users (<xref target="scope"/>), however difficult that is; if it cannot be obtained, the measurement should be redesigned to
reduce its risk or not performed. Proxy consent or implied consent may be used instead only for measurements that pose
minimal risk to users, where informed consent is not practical.</t>

<t>Consent obtained from the users who take part in a measurement does not extend to other users it affects, such as
contacts whose data appears in measured communications, or to other affected parties such as the operators of measured
infrastructure, many of whom cannot practically be asked. Measurements should be designed so
that those who cannot be asked for consent are exposed to no more than minimal risk, using risk analysis
(<xref target="risk-analysis"/>) and data minimization (<xref target="minimization"/>).</t>

<section anchor="informed-consent" title="Informed consent">
<t>Informed consent should be collected from all users that
may be placed at more than minimal risk by an experiment.</t>

<t>For consent to be informed, a reasonable coverage of possible risks must be presented to the users.
The considerations in this document can be used to provide a starting point,
although other risks may be present depending on the nature of the measurements
to be performed. In addition, it should be clear from the language of consent request who the asker is, and what the terms
of data observation and/or collection are.</t>

<t>Example: A researcher would like to use volunteer-owned mobile devices to collect
information about local internet censorship. Connections will be attempted by the
volunteer's device with services and content known or suspected to be subject to censorship orders.</t>

<t>This experiment can carry substantial risk for the user depending on their specific
circumstances. Trying to access censored material can be seen as (network) policy infringement or breaking laws.
Consequences can range from disciplinary action from their employer to 
imprisonment by government authorities. If the experimenter wants to expose volunteers to this kind of risk,
users must be fully informed, and voluntarily give consent to run the measurement.
Even then, experimenters should seriously consider designing their experiment in another way.</t>

<t>Researchers using shared measurement platforms whose vantage points are hosted by volunteers 
should also consider the same obligations.<xref target="RIPEAtlasEthics"/>.</t>

<t>Note that informed consent is notoriously tricky to obtain. Conveying all possible risks of a measurement
  is often simply impractical, depending upon how technical the user audience is, the context of the consent prompt,
  what the tool is normally used by users for, etc. In addition, consent can have network effects. For example, asking a user
  to consent to sharing information about their communication with others can have
  impacts on users who have not personally consented to the study (see <xref target="consent"/>).
</t>
</section>

<section anchor="proxy-consent" title="Proxy consent">
<t>Where a measurement poses minimal risk to users and it is not practical to collect informed consent from all
users of a shared network, it may be possible to obtain proxy consent. Proxy
consent may be given by a network operator or employer that would be more
familiar with the expectations of users of a network than the researcher.</t>
<t>In some cases, a network operator or employer may have terms of service that
specifically allow for giving consent to third parties to perform certain
experiments.</t>

<t>Example: Some researchers would like to perform a packet capture to determine the TCP
options and their values used by all client devices on a corporate wireless
network.</t>

<t>The employer may already have terms of service laid out that allow them to
provide proxy consent for this experiment on behalf of the employees, in this case the users
of the network. The purpose of the experiment may affect whether or not they
are able to provide this consent. Say, performing engineering work on
the network may be allowed, whereas academic research may not be
already covered.</t>
</section>

<section anchor="low-risk" title="Implied consent">
<t>Where a measurement poses minimal risk to users and even proxy consent is not practical, as in many larger
scale measurements, implied consent may be presumed. Consider that users of a network will
have certain expectations of privacy and those expectations may not align with
the privacy guarantees offered by the technologies they are using. As a thought
experiment, consider how users might respond if asked for their informed
consent for the measurements you'd like to perform.</t>

<t>Implied consent should not be considered sufficient for any experiment that
may collect sensitive or personally identifying information. Nor should it be considered sufficient for active
measurements that may cause harm to individuals, such as those directed at personal devices rather than infrastructure.
If practical,
attempt to obtain informed consent or proxy consent from a sample of users to
better understand the expectations of other users.</t>

<t>Example: A researcher would like to run a measurement campaign to determine the
maximum supported TLS version on popular web servers.</t>

<t>The operator of a web server that is exposed to the internet
hosting a popular website would have the expectation that it may be included in
surveys that look at supported protocols or extensions but would not expect that
attempts be made to degrade the service with large numbers of simultaneous
connections.</t>

<t>Example: A researcher would like to perform A/B testing for protocol feature and how
it affects web performance. They have created two versions of their software
and have instrumented both to report telemetry back. These updates will be
pushed to users at random by the software's auto-update framework. The telemetry
consists only of performance metrics and does not contain any personally
identifying or sensitive information.</t>

<t>As users expect to receive automatic updates, the effect of changing the
behaviour of the software is already expected by the user. If users have
already been informed that data will be reported back to the developers of the
software, then again the addition of new metrics would be expected. Note that
the reduced impact of A/B testing should not be used as an excuse to push updates that
might compromise user expectations around security and privacy.</t>

<t>In the event that something does go wrong with the update, it should be easy
for users to discover that they have been part of an experiment and roll back
the change, allowing for explicit refusal of consent to override the presumed
implied consent.</t>

<t>Example: A research project looks at networked "things", yet users' only interface
with the network is through a device that does not provide interaction to the degree 
that would be sufficient to obtain informed consent at time of use.</t>
<t>In this case the user can be informed of the use of data for internet measurement
  research in the device's terms of use and privacy notice, which can be included 
  in a printed, physical manual for the device or accessed at any time via a webpage.
  Such a notice informs users rather than asking for their consent, so continued use of 
  the device can at most be taken as implied consent. 
  It is therefore only appropriate for measurements that pose minimal risk to users.</t>
</section>
</section>

<section title="Data collection and sharing">

<section anchor="minimization" title="Data collection and minimization">
<t>When collecting, using, disclosing, and storing data from a measurement, use
only the minimal data necessary to perform a task. Reducing the amount of data
reduces the amount of data that can be misused or leaked.</t>

<t>When deciding on the data to collect, assume that any data collected might
be disclosed. There are many ways that this could happen, through operational
security mistakes or compulsion by a state authority.</t>

<t>When directly instrumenting a protocol to provide metrics to a passive
observer, see section 6.1 of RFC6973 <xref target="RFC6973"/> for the data
minimization considerations enumerated below that are specific to the use case.</t>

<section anchor="minimization-discard" title="Collect the minimum amount of data">
<t>Collect only that data that is required to perform the study and discard data that is not required.</t>

<t>When performing active measurements, be sure to only capture traffic that you
have generated. Traffic may be identified by IP ranges or by some token that is
unlikely to be used by other users.</t>

<t>Again, this can help to improve the accuracy and repeatability of your
experiment. For performance benchmarking, <xref target="RFC2544"/>
requires that any frames received that were not part of the test traffic are
discarded and not counted in the results.</t>
</section>

<section anchor="store-securely" title="Store data securely">
<t>Data should be stored in a secure location, with appropriate access controls and full-disk encryption if possible.
Access to the measurement data should be minimized to only those personnel who require access to perform
research. </t>

</section>

<section title="Minimization techniques">

<t>For any data collected evaluate which minimization techniques can and should be applied to
that data in order to minimize the risk to users whilst still safely providing sufficient data for
the measurement to be effective. 

A range of pseudonymization or anonymization techniques are available
<xref target="SurveyNetworkTrafficAnonymisationTech"/>.

IP addresses are particularly identifying, as they can often be linked to a specific subscriber, household or device,
and to an approximate location. Where the measurement does not require full IP addresses, they should be discarded,
truncated or pseudonymized using the techniques below.
</t>

<section anchor="minimization-mask" title="Mask data">
<t>Mask data that is not required to perform the task. This technique is particularly useful
for content of traffic to indicate that either a particular class of content
existed or did not exist, or the length of the content, but not recording the
content itself. The content can be replaced with tokens or encrypted.</t>

<t>It is important to note that masking data does not necessarily anonymize it
  <xref target="SurveyNetworkTrafficAnonymisationTech"/>.</t>
</section>

<section anchor="minimization-aggregation" title="Aggregate data">
<t>When collecting data, consider if the granularity can be limited by using
bins or adding noise. Differential privacy techniques <xref target="DifferentialPrivacy"/> can help with this.</t>

<t>Example: <xref target="Tor.2017-04-001"/> presents a case-study on the in-memory
statistics in the software used by the Tor network.</t>
</section>

<section anchor="minimization-generalize" title="Reduce the accuracy">
<t>There are various techniques that can be used to reduce the accuracy of the collected data and make it
  less identifying while still meeting the needs of the measurement.
</t>
<t>The use of binning to group numbers of more-or-less continuous values, coarse categorization in modeling, reduction
in concentrations of IP address by geography (geoip) or other first- or second-order identifiers, the introduction of
noise and all privacy-preserving measurement techniques that allow researchers to safely conduct internet measurement
experiments without risking harm to real users <xref target="Jansen"/>.</t>
</section>
</section>
</section>

<section anchor="share" title="Data Sharing">
<t>Further to use of measurement data, data is often shared with other researchers. Measurement data sharing comes with its own set of expectations and responsibilities of the provider.
Likewise there are responsibilities that come with the use of others’ measurement data. One obvious expectation is around end-user consent (see "Implied consent" above). Where data obtained from others was collected in ways that raise ethical concerns, disclose this when using it or publishing results based on it. <xref target="Allman">Allman and Paxson</xref> provide "a set of guidelines that aim to aid the process of sharing measurement data... [in] a framework under which providers and users can
better attain a mutual understanding about how to treat particular
datasets."</t>
<t>Their guidance for data providers is to:</t>
<ul><li>explicitly indicate the terms of a dataset’s acceptable use</li>
<li>convey what interactions they desire or will accommodate.</li></ul>
<t>Their guidance for researchers is to:</t>
<ul><li>be thoughtful in the reporting of potentially sensitive information gleaned from providers’ data.</li>
<li>comply with the indications and interactions of the data providers.</li></ul>
<t>Example: Researchers have obtained network measurement data from more than one provider for purposes of conducting analysis of protocol use on both. Where privacy partitioning techniques are used, the researchers' findings may inadvertently collude to uncover private information about users. Once realised, researchers should mitigate this privacy risk to end users as well as disclosing this result to the data providers themselves.</t>
</section>

</section>

<section title="Impact on the network">
  
<section anchor="others-stuff" title="Impact on others' infrastructure">
<t>If your experiment is designed to trigger a response from infrastructure that
is not your own, consider what the negative consequences of that may be. At the
very least your experiment will consume bandwidth that may have to be paid for.</t>

<t>In more extreme circumstances, you could cause traffic to be generated that
causes legal trouble for the owner of that infrastructure. The internet is a
global network that crosses many legal jurisdictions and so what may be legal for
one is not necessarily legal for another.</t>

<t>If you are sending a lot of traffic quickly, or otherwise generally deviating
from typical client behaviour, a network may identify this as an attack which
means that you will not be collecting results that are representative of what
a typical client would see.</t>

<t>One possible way to mitigate this risk is transparency, i.e. mark measurement-related
  data or activity as such, as also recommended in <xref target="attribute"/>. For example, the popular internet measurement tool ZMap
  hardcodes its packets to have IP ID 54321 in order to allow identification
  <xref target="ZMap"/>.
</t>
</section>

<section anchor="do-not-scan" title='Maintain a "Do Not Scan" list'>
<t>When performing active measurements on a shared network, maintain a list of
hosts that you will never scan regardless of whether they appear in your target
lists. When developing tools for performing active measurement, or traffic
generation for use in a larger measurement system, ensure that the tool will
support the use of a "Do Not Scan" list.</t>

<t>If complaints are made that request you do not generate traffic towards a
host or network, you should add that host or network to your "Do Not Scan" list,
even if the request is automated. A request may be declined only where honouring it
would hide the very thing being measured. For example, in censorship measurement, a
request could be an attempt to hide the fact that a certain target is unreachable in
a particular geography. A decision to decline a request should be reviewed as
described in <xref target="guidelines"/>, and the requester informed where possible.</t>

<t>You may ask the requester for their reasoning if it would be useful to your
experiment. This can also be an opportunity to explain your research and offer
to share any results that may be of interest. If you plan to share the reasoning
when publishing your measurement results, e.g. in an academic paper, you must
seek consent for this from the requester.</t>

<t>Be aware that in publishing your measurement results, it may be possible to
infer your "Do Not Scan" list from those results. For example, if you measured a
well-known list of popular websites then it would be possible to correlate the
results with that list to determine which are missing. This inference might leak the fact
that those websites specifically requested to not be scanned.</t>

<t>On the other hand there may be benefits to publish your "Do Not Scan" list including
the opportunity to reconsider the list over time, invite feedback, ensure research
reproducibility, or bootstrapping other measurement projects or tools.</t>
</section>

</section>

</section>

<section anchor="security-considerations" title="Security Considerations">
<t>This document as a whole addresses user safety considerations for internet measurement studies, and thus discusses
  security considerations extensively throughout regarding collection and storage of user data.</t>
</section>

<section anchor="iana-considerations" title="IANA Considerations">
<t>This document has no actions for IANA.</t>
</section>

<section anchor="acknowledgements" title="Acknowledgements">
<t>Many of these considerations are based on those from the
<xref target="TorSafetyBoard"/> adapted and generalized to be applied to
internet research. Other considerations are taken from the Menlo Report
<xref target="Menlo"/> and its companion document
<xref target="MenloReportCompanion"/>, and research and discussions of the internet measurement and ethics communities.</t>

<t>Comments and contributions from Marwan Fayed, Jeroen van der Ham, Arturo Filastò, Christian Huitema, Tobias Fiebig, Greg Skinner, Oliver Gasser, Craig Partridge, Eric Rescorla and Shivan Kaul Sahib greatly improved this document.</t>
</section>
</middle>

<back>
<references title="Informative References">
<reference anchor='netem'>
<front>
<title>Network emulation with NetEm</title>
<author initials='S.' surname='Hemminger' fullname='Stephen Hemminger'><organization>Open Source Development Lab</organization></author>
<date year='2005' month='April'/>
</front>
</reference>
<reference anchor='RFC2544' target='https://www.rfc-editor.org/info/rfc2544'>
<front>
<title>Benchmarking Methodology for Network Interconnect Devices</title>
<author initials='S.' surname='Bradner' fullname='S. Bradner'><organization /></author>
<author initials='J.' surname='McQuaid' fullname='J. McQuaid'><organization /></author>
<date year='1999' month='March' />
<abstract><t>This document is a republication of RFC 1944 correcting the values for the IP addresses which were assigned to be used as the default addresses for networking test equipment. This memo provides information for the internet community.</t></abstract>
</front>
<seriesInfo name='RFC' value='2544'/>
<seriesInfo name='DOI' value='10.17487/RFC2544'/>
</reference>
<reference anchor="TorSafetyBoard" target="https://research.torproject.org/safetyboard/">
<front>
<title>Tor Research Safety Board</title>
<author><organization>Tor Project</organization></author>
<date/>
</front>
</reference>
<reference anchor='RFC4949' target="https://www.rfc-editor.org/info/rfc4949">
<front>
<title>Internet Security Glossary, Version 2</title>
<author initials='R.' surname='Shirey' fullname='R. Shirey'></author>
<date year='2007' month='August'/>
</front>
<seriesInfo name='RFC' value='4949'/>
<seriesInfo name='DOI' value='10.17487/RFC4949'/>
</reference>
<reference anchor="Tor.2017-04-001" target="https://research.torproject.org/techreports/privacy-in-memory-2017-04-28.pdf">
<front>
<title>Privacy analysis of Tor's in-memory statistics</title>
<author initials="K." surname="Herm" fullname="K. Herm"><organization>Tor Project</organization></author>
<date year="2017" month="April" />
</front>
<seriesInfo name="Tor Tech Report" value="2017-04-001"/>
</reference>
<reference anchor="Menlo" target="https://www.dhs.gov/sites/default/files/publications/CSD-MenloPrinciplesCORE-20120803_1.pdf">
<front>
<title>The Menlo Report: Ethical Principles Guiding Information and Communication Technology Research</title>
<author initials="D." surname="Dittrich" fullname="D. Dittrich"><organization/></author>
<author initials="E." surname="Kenneally" fullname="E. Kenneally"><organization/></author>
<date year="2012" month="August"/>
</front>
</reference>
<reference anchor="MenloReportCompanion" target="https://www.impactcybertrust.org/link_docs/Menlo-Report-Companion.pdf">
<front>
<title>Applying Ethical Principles to Information and Communication Technology Research</title>
<author initials="M." surname="Bailey" fullname="M. Bailey"><organization/></author>
<author initials="D." surname="Dittrich" fullname="D. Dittrich"><organization/></author>
<author initials="E." surname="Kenneally" fullname="E. Kenneally"><organization/></author>
<date year="2013" month="October"/>
</front>
</reference>
<!-- Reference for differential privacy -->
<reference anchor="DifferentialPrivacy" target="https://link.springer.com/chapter/10.1007/11681878_14">
  <front>
  <title>Calibrating Noise to Sensitivity in Private Data Analysis</title>
  <author initials="C." surname="Dwork"><organization/></author>
  <author initials="F." surname="McSherry"><organization/></author>
  <author initials="K." surname="Nissim"><organization/></author>
  <author initials="A." surname="Smith"><organization/></author>
  <date year="2006"/>
  </front>
  </reference>
<!-- Reference for data masking != anonymization -->
<reference anchor="SurveyNetworkTrafficAnonymisationTech" target="https://dl.acm.org/doi/10.1145/3182660">
  <front>
  <title>A Survey of Network Traffic Anonymisation Techniques and Implementations</title>
  <author initials="N." surname="Van Dijkhuizen" fullname="Niels Van Dijkhuizen"><organization/></author>
  <author initials="J." surname="Van Der Ham" fullname="Jeroen Van Der Ham"><organization/></author>
  <date year="2018" month="May"/>
  </front>
</reference>
<!-- Reference for OECD Privacy Principles -->
<reference anchor="OECD" target="http://oecdprivacy.org/">
  <front>
  <title>OECD Privacy Principles</title>
  <author><organization>OECD</organization></author>
  <date year="1980"/>
  </front>
</reference>
<!-- Reference for ZMap -->
<reference anchor="ZMap" target="https://github.com/zmap/zmap/blob/main/src/probe_modules/packet.c">
  <front>
  <title>ZMap Source Code - packet.c</title>
  <author><organization>University of Michigan</organization></author>
  </front>
</reference>
<reference anchor="RFC6973" target="https://www.rfc-editor.org/info/rfc6973">
<front>
<title>Privacy Considerations for Internet Protocols</title>
<author initials="A." surname="Cooper" fullname="A. Cooper"><organization>CDT</organization></author>
<author initials="H." surname="Tschofenig" fullname="H. Tschofenig"><organization>Nokia Siemens Networks</organization></author>
<author initials="B." surname="Aboba" fullname="B. Aboba"><organization>Skype</organization></author>
<author initials="J." surname="Peterson" fullname="J. Peterson"><organization>NeuStar, Inc.</organization></author>
<author initials="J." surname="Morris" fullname="J. Morris"><organization/></author>
<author initials="M." surname="Hansen" fullname="M. Hansen"><organization>ULD</organization></author>
<author initials="R." surname="Smith" fullname="R. Smith"><organization>Janet</organization></author>
<date year="2013" month="July"/>
</front>
<seriesInfo name='RFC' value='6973'/>
</reference>
<reference anchor="Jones" target="http://conferences.sigcomm.org/sigcomm/2015/pdf/papers/nsethics/p17.pdf">
<front>
<title>Ethical Concerns for Censorship Measurement</title>
<author initials="B." surname="Jones" fullname="Ben Jones"><organization></organization></author>
<author initials="R." surname="Ensafi" fullname="Roya Ensafi"><organization></organization></author>
<author initials="N." surname="Feamster" fullname="Nick Feamster"><organization></organization></author>
<author initials="V." surname="Paxson" fullname="Vern Paxson"><organization></organization></author>
<author initials="N." surname="Weaver" fullname="Nick Weaver"><organization></organization></author>
<date year="2015" month="August"/>
</front>
</reference>
<reference anchor='Reidsma' target="https://www.ndss-symposium.org/wp-content/uploads/2023/02/ethics2023-237352-paper.pdf">
<front>
<title>Operationalizing Cybersecurity Research Ethics Review: From Principles and Guidelines to Practice</title>
<author initials='D.' surname='Reidsma' fullname='Dennis Reidsma'></author>
<author initials='J.' surname='van der Ham' fullname='Jeroen van der Ham'></author>
<author initials='A.' surname='Continella' fullname='Andrea Continella'></author>
<date year='2023' month='February'/>
</front>
<refcontent>EthiCS 2023 workshop, NDSS Symposium</refcontent>
</reference>
<reference anchor='RFC9511' target="https://www.rfc-editor.org/info/rfc9511">
<front>
<title>Attribution of Internet Probes</title>
<author initials='É.' surname='Vyncke' fullname='É. Vyncke'></author>
<author initials='B.' surname='Donnet' fullname='B. Donnet'></author>
<author initials='J.' surname='Iurman' fullname='J. Iurman'></author>
<date year='2023' month='November'/>
</front>
<seriesInfo name='RFC' value='9511'/>
<seriesInfo name='DOI' value='10.17487/RFC9511'/>
</reference>
<reference anchor="RIPEAtlasEthics" target="https://labs.ripe.net/author/kistel/ethics-of-ripe-atlas-measurements/">
<front>
<title>Ethics of RIPE Atlas Measurements</title>
<author initials="R." surname="Kisteleki" fullname="Robert Kisteleki"/>
<date year="2016" month="November"/>
</front>
<refcontent>RIPE Labs</refcontent>
</reference>
<reference anchor='Allman' target="https://conferences.sigcomm.org/imc/2007/papers/imc80.pdf">
<front>
<title>Issues and Etiquette Concerning Use of Shared Measurement Data</title>
<author initials='M.' surname='Allman' fullname='Mark Allman'></author>
<author initials='V.' surname='Paxson' fullname='Vern Paxson'></author>
<date year='2007' month='October'/>
</front>
</reference>
<reference anchor='caida' target="https://www.caida.org/catalog/datasets/sharing">
<front>
<title>Promotion of Data Sharing</title>
<author><organization>CAIDA</organization></author>
<date year='2010' month='January'/>
</front>
</reference>
<reference anchor='Kenneally' target="https://www.caida.org/catalog/papers/2010_dialing_privacy_utility/dialing_privacy_utility.pdf">
<front>
<title>Dialing privacy and utility: a proposed data-sharing framework to advance Internet research</title>
<author initials='E.' surname='Kenneally' fullname='Erin Kenneally'></author>
<author initials='K.' surname='Claffy' fullname='Kimberly Claffy'></author>
<date year='2010'/>
</front>
</reference>
<reference anchor='Jansen' target="https://dl.acm.org/doi/pdf/10.1145/3243734.3243815">
<front>
<title>Privacy-Preserving Dynamic Learning of Tor Network Traffic</title>
<author initials='R.' surname='Jansen' fullname='Rob Jansen'></author>
<author initials='M.' surname='Traudt' fullname='Matthew Traudt'></author>
<author initials='N.' surname='Hopper' fullname='Nicholas Hopper'></author>
<date year='2018' month='October'/>
</front>
<seriesInfo name='DOI' value='10.1145/3243734.3243815'/>
<refcontent>ACM SIGSAC Conference on Computer and Communications Security (CCS '18)</refcontent>
</reference>
</references>

</back>

</rfc>
