Clickstreams towards adult website: anonymized dataset

The data are available to the community in anonymized form for further investigation at the following link (external)

The dataset has been used for the following papers:

  1. A. Morichetta, M. Trevisan, L. Vassio, J. Krickl. Understanding web pornography usage from traffic analysis. Computer Networks, Elsevier, 189, 107909, 2021. DOI: 10.1016/j.comnet.2021.107909
  2. A. Morichetta, M. Trevisan, L. Vassio. Characterizing Web Pornography Consumption from Passive Measurements. In: Choffnes D., Barcellos M. (eds) Passive and Active Measurement. PAM 2019. Lecture Notes in Computer Science, vol 11419. Springer, Cham, 2019. DOI: 10.1007/978-3-030-15986-3\_20

From HTTP traffic monitored at a Point of Presence of an ISP in Italy, we extract user-actions towards adult websites. Users are characterized by anonymized IP and user agent.
In total, we have 58 millions user-actions towards 59,989 different adult domains. The data is taken from July 2013 to March 2018 (57 months), with an average of 13,261 different users per month.

The shared compressed archive (165 MB) contains archives for each month. The file domain.csv contains the dictionary of domain names, structured as follow:

<domainID>, <domainName>

Where there is a one-to-one correspondence between the string of the domain name <domainName> and its hash value <domainID> (an integer beetween 0 and 999999).

The files <yyyymm>\_users.csv, where <yyyymm> indicates the year (2014, 2015, 2016, or 2017) and the month (1 to 12), contain the anonymized list of single users for that month:

<userID>, <typeOS>, <typeBrowser>, <typeDevice>

where userID is the hash value of the user identifier (an integer beetween 0 and 999999), <typeOS> indicates the OS in usage (e.g., Windows10), <typeBrowser> indicates the browser where the page has been visited (e.g., Chrome) and <typeDevice> indicates if the device was a PC, a smartphone, or a tablet. <typeOS>, <typeBrowser> and <typeDevice> are extracted from the user-agent of the original HTTP request.

The logs are compressed and present a name <yyyymm>.csv.gz where <yyyymm> indicates the year (2014, 2015, 2016, or 2017) and the month (1 to 12). Inside each file, each line holds the following information:

<timestamp>,<domainID>,<userID>

where <timestamp> is Unix time in seconds, with granularity up to 1 second. <domainID> is the hash value of the domain, and <userID> is the hash value of the user identifier.