diff --git a/orly.R b/orly.R index f7ef347..0b2a4b4 100644 --- a/orly.R +++ b/orly.R @@ -33,7 +33,7 @@ library(tidyverse) #' ## Collect CRAN mirrors' metadata if (!file.exists(here::here("data/mir-dat.rds"))) { - mdoc <- xml2::read_xml("~/data/mirrors.html", as_html = TRUE) + mdoc <- xml2::read_xml(here::here("data/mirrors.html"), as_html = TRUE) xml_find_all(mdoc, ".//td/a[contains(@href, 'https')]") %>% xml_attr("href") %>% diff --git a/orly.md b/orly.md index b08b88c..c462599 100644 --- a/orly.md +++ b/orly.md @@ -33,7 +33,7 @@ library(tidyverse) ```r if (!file.exists(here::here("data/mir-dat.rds"))) { - mdoc <- xml2::read_xml("~/data/mirrors.html", as_html = TRUE) + mdoc <- xml2::read_xml(here::here("data/mirrors.html"), as_html = TRUE) xml_find_all(mdoc, ".//td/a[contains(@href, 'https')]") %>% xml_attr("href") %>% @@ -342,15 +342,15 @@ distinct(certs, host, algo, key_size) %>%
-algo key_size n ------------------------- --------- --- -sha256WithRSAEncryption 2048 59 -sha256WithRSAEncryption 4096 13 -ecdsa-with-SHA256 256 2 -sha256WithRSAEncryption 256 1 -sha256WithRSAEncryption 384 1 -sha512WithRSAEncryption 2048 1 -sha512WithRSAEncryption 4096 1 +|algo | key_size| n| +|------------------------|--------:|-:| +|sha256WithRSAEncryption | 2048|59| +|sha256WithRSAEncryption | 4096|13| +|ecdsa-with-SHA256 | 256| 2| +|sha256WithRSAEncryption | 256| 1| +|sha256WithRSAEncryption | 384| 1| +|sha512WithRSAEncryption | 2048| 1| +|sha512WithRSAEncryption | 4096| 1|
@@ -365,29 +365,29 @@ distinct(certs, host, i_issuer) %>%
-i_issuer n ------------------------------------------------------------------------------------------------------------------------ --- -CN=DST Root CA X3,O=Digital Signature Trust Co. 20 -CN=COMODO RSA Certification Authority,O=COMODO CA Limited,L=Salford,ST=Greater Manchester,C=GB 7 -CN=DigiCert Assured ID Root CA,OU=www.digicert.com,O=DigiCert Inc,C=US 7 -CN=DigiCert Global Root CA,OU=www.digicert.com,O=DigiCert Inc,C=US 6 -CN=DigiCert High Assurance EV Root CA,OU=www.digicert.com,O=DigiCert Inc,C=US 6 -CN=QuoVadis Root CA 2 G3,O=QuoVadis Limited,C=BM 5 -CN=USERTrust RSA Certification Authority,O=The USERTRUST Network,L=Jersey City,ST=New Jersey,C=US 5 -CN=GlobalSign Root CA,OU=Root CA,O=GlobalSign nv-sa,C=BE 4 -CN=Trusted Root CA SHA256 G2,O=GlobalSign nv-sa,OU=Trusted Root,C=BE 3 -CN=COMODO ECC Certification Authority,O=COMODO CA Limited,L=Salford,ST=Greater Manchester,C=GB 2 -CN=DFN-Verein PCA Global - G01,OU=DFN-PKI,O=DFN-Verein,C=DE 2 -OU=Security Communication RootCA2,O=SECOM Trust Systems CO.\,LTD.,C=JP 2 -CN=AddTrust External CA Root,OU=AddTrust External TTP Network,O=AddTrust AB,C=SE 1 -CN=Amazon Root CA 1,O=Amazon,C=US 1 -CN=Baltimore CyberTrust Root,OU=CyberTrust,O=Baltimore,C=IE 1 -CN=Certum Trusted Network CA,OU=Certum Certification Authority,O=Unizeto Technologies S.A.,C=PL 1 -CN=DFN-Verein Certification Authority 2,OU=DFN-PKI,O=Verein zur Foerderung eines Deutschen Forschungsnetzes e. V.,C=DE 1 -CN=Go Daddy Root Certificate Authority - G2,O=GoDaddy.com\, Inc.,L=Scottsdale,ST=Arizona,C=US 1 -CN=InCommon RSA Server CA,OU=InCommon,O=Internet2,L=Ann Arbor,ST=MI,C=US 1 -CN=QuoVadis Root CA 2,O=QuoVadis Limited,C=BM 1 -CN=QuoVadis Root Certification Authority,OU=Root Certification Authority,O=QuoVadis Limited,C=BM 1 +|i_issuer | n| +|:----------------------------------------------------------------------------------------------------------------------|--:| +|CN=DST Root CA X3,O=Digital Signature Trust Co. | 20| +|CN=COMODO RSA Certification Authority,O=COMODO CA Limited,L=Salford,ST=Greater Manchester,C=GB | 7| +|CN=DigiCert Assured ID Root CA,OU=www.digicert.com,O=DigiCert Inc,C=US | 7| +|CN=DigiCert Global Root CA,OU=www.digicert.com,O=DigiCert Inc,C=US | 6| +|CN=DigiCert High Assurance EV Root CA,OU=www.digicert.com,O=DigiCert Inc,C=US | 6| +|CN=QuoVadis Root CA 2 G3,O=QuoVadis Limited,C=BM | 5| +|CN=USERTrust RSA Certification Authority,O=The USERTRUST Network,L=Jersey City,ST=New Jersey,C=US | 5| +|CN=GlobalSign Root CA,OU=Root CA,O=GlobalSign nv-sa,C=BE | 4| +|CN=Trusted Root CA SHA256 G2,O=GlobalSign nv-sa,OU=Trusted Root,C=BE | 3| +|CN=COMODO ECC Certification Authority,O=COMODO CA Limited,L=Salford,ST=Greater Manchester,C=GB | 2| +|CN=DFN-Verein PCA Global - G01,OU=DFN-PKI,O=DFN-Verein,C=DE | 2| +|OU=Security Communication RootCA2,O=SECOM Trust Systems CO.\,LTD.,C=JP | 2| +|CN=AddTrust External CA Root,OU=AddTrust External TTP Network,O=AddTrust AB,C=SE | 1| +|CN=Amazon Root CA 1,O=Amazon,C=US | 1| +|CN=Baltimore CyberTrust Root,OU=CyberTrust,O=Baltimore,C=IE | 1| +|CN=Certum Trusted Network CA,OU=Certum Certification Authority,O=Unizeto Technologies S.A.,C=PL | 1| +|CN=DFN-Verein Certification Authority 2,OU=DFN-PKI,O=Verein zur Foerderung eines Deutschen Forschungsnetzes e. V.,C=DE | 1| +|CN=Go Daddy Root Certificate Authority - G2,O=GoDaddy.com\, Inc.,L=Scottsdale,ST=Arizona,C=US | 1| +|CN=InCommon RSA Server CA,OU=InCommon,O=Internet2,L=Ann Arbor,ST=MI,C=US | 1| +|CN=QuoVadis Root CA 2,O=QuoVadis Limited,C=BM | 1| +|CN=QuoVadis Root Certification Authority,OU=Root Certification Authority,O=QuoVadis Limited,C=BM | 1|
@@ -459,39 +459,39 @@ count(hdrs, name, sort=TRUE) %>%
-name n --------------------------- --- -content-type 79 -date 79 -server 79 -last-modified 72 -content-length 67 -accept-ranges 65 -etag 65 -content-encoding 38 -connection 28 -vary 28 -strict-transport-security 13 -x-frame-options 8 -x-content-type-options 7 -cache-control 4 -expires 3 -x-xss-protection 3 -cf-ray 2 -expect-ct 2 -set-cookie 2 -via 2 -ms-author-via 1 -pragma 1 -referrer-policy 1 -upgrade 1 -x-amz-cf-id 1 -x-cache 1 -x-permitted-cross-domain 1 -x-powered-by 1 -x-robots-tag 1 -x-tuna-mirror-id 1 -x-ua-compatible 1 +|name | n| +|:-------------------------|--:| +|content-type | 79| +|date | 79| +|server | 79| +|last-modified | 72| +|content-length | 67| +|accept-ranges | 65| +|etag | 65| +|content-encoding | 38| +|connection | 28| +|vary | 28| +|strict-transport-security | 13| +|x-frame-options | 8| +|x-content-type-options | 7| +|cache-control | 4| +|expires | 3| +|x-xss-protection | 3| +|cf-ray | 2| +|expect-ct | 2| +|set-cookie | 2| +|via | 2| +|ms-author-via | 1| +|pragma | 1| +|referrer-policy | 1| +|upgrade | 1| +|x-amz-cf-id | 1| +|x-cache | 1| +|x-permitted-cross-domain | 1| +|x-powered-by | 1| +|x-robots-tag | 1| +|x-tuna-mirror-id | 1| +|x-ua-compatible | 1|
@@ -510,13 +510,13 @@ count(hdrs, name, sort=TRUE) %>%
-name n --------------------------- --- -strict-transport-security 13 -x-frame-options 8 -x-content-type-options 7 -x-xss-protection 3 -referrer-policy 1 +|name | n| +|:----------------------------|-:| +|strict-transport-security |13| +|x-frame-options | 8| +|x-content-type-options | 7| +|x-xss-protection | 3| +|referrer-policy | 1|
@@ -578,16 +578,16 @@ count(svr, kind, sort=TRUE)
-kind n ---------------------------------- --- -Apache 57 -nginx 15 -cloudflare 2 -CSIRO 1 -Hiawatha v10.8.4 1 -High Performance 8bit Web Server 1 -none 1 -openresty 1 +|kind | n| +|:--------------------------------|--:| +|Apache | 57| +|nginx | 15| +|cloudflare | 2| +|CSIRO | 1| +|Hiawatha v10.8.4 | 1| +|High Performance 8bit Web Server | 1| +|none | 1| +|openresty | 1|
@@ -722,28 +722,28 @@ distinct(cran_mirror_other_things, ip, port) %>%
-ip n ----------------- --- -104.25.94.23 8 -143.107.10.17 7 -104.27.133.206 5 -137.208.57.37 5 -192.75.96.254 5 -208.81.1.244 5 -119.40.117.175 4 -130.225.254.116 4 -133.24.248.17 4 -14.49.99.238 4 -148.205.148.16 4 -190.64.49.124 4 -194.214.26.146 4 -200.236.31.1 4 -201.159.221.67 4 -202.90.159.172 4 -217.31.202.63 4 -222.66.109.32 4 -45.63.11.93 4 -62.44.96.11 4 +|ip | n| +|:---------------|--:| +|104.25.94.23 | 8| +|143.107.10.17 | 7| +|104.27.133.206 | 5| +|137.208.57.37 | 5| +|192.75.96.254 | 5| +|208.81.1.244 | 5| +|119.40.117.175 | 4| +|130.225.254.116 | 4| +|133.24.248.17 | 4| +|14.49.99.238 | 4| +|148.205.148.16 | 4| +|190.64.49.124 | 4| +|194.214.26.146 | 4| +|200.236.31.1 | 4| +|201.159.221.67 | 4| +|202.90.159.172 | 4| +|217.31.202.63 | 4| +|222.66.109.32 | 4| +|45.63.11.93 | 4| +|62.44.96.11 | 4|
@@ -778,27 +778,27 @@ distinct(cran_mirror_other_things, ip, port) %>%
- port n ------ --- - 80 75 - 443 75 - 21 29 - 22 18 - 8080 6 - 25 5 - 53 2 - 2082 2 - 2086 2 - 8000 2 - 8008 2 - 8443 2 - 111 1 - 465 1 - 587 1 - 993 1 - 995 1 - 2083 1 - 2087 1 +| port| n| +|:----|--:| +| 80| 75| +| 443| 75| +| 21| 29| +| 22| 18| +| 8080| 6| +| 25| 5| +| 53| 2| +| 2082| 2| +| 2086| 2| +| 8000| 2| +| 8008| 2| +| 8443| 2| +| 111| 1| +| 465| 1| +| 587| 1| +| 993| 1| +| 995| 1| +| 2083| 1| +| 2087| 1|