Browse Source

Rewrite some of the output.

Move explanations into tooltips.

Invent a crappy HTML template "system".

General clean up of text.
master
onefang 1 year ago
parent
commit
c3b5b574bf
9 changed files with 255 additions and 157 deletions
  1. +0
    -2
      README.md
  2. +4
    -0
      Report-web_0.html
  3. +38
    -0
      Report-web_1.html
  4. +5
    -0
      Report-web_2.html
  5. +11
    -0
      Report-web_3.html
  6. +158
    -0
      Report-web_TABLE.html
  7. +39
    -58
      apt-panopticon-report-email-web.lua
  8. +0
    -1
      apt-panopticon.lua
  9. +0
    -96
      explanations.html

+ 0
- 2
README.md View File

@@ -158,8 +158,6 @@ redirections. Unless a specific mirror is given on the command line, the
mirror_list.txt file from pkgmaster.devuan.org is used to select mirrors
to test.

explanations.html explains the tests in more detail.

The --tests= option can be used to adjust the list of tests performed.

* IPv4, perform the tests with IPv4 addresses (A records)


+ 4
- 0
Report-web_0.html View File

@@ -0,0 +1,4 @@
<!DOCTYPE html>
<html>
<head>
<title>apt-panopticon results</title>

+ 38
- 0
Report-web_1.html View File

@@ -0,0 +1,38 @@
<style>
.hoverWrapper0:hover #hoverShow0 {
display: block;
border-style: solid;
border-color: fuchsia;
}
.hoverWrapper0 #hoverShow0 {
display: none;
background-color: #222222;
text-align: left;
position: absolute;
width: 33%;
border-style: solid;
border-color: fuchsia;
}
.hoverWrapper1:hover #hoverShow1 {
display: block;
border-style: solid;
border-color: fuchsia;
}
.hoverWrapper1 #hoverShow1 {
display: none;
background-color: #222222;
text-align: left;
position: absolute;
width: 33%;
border-style: solid;
border-color: fuchsia;
}
.TTitem {
border: 1px solid fuchsia;
}
</style>
</head>
<body bgcolor="black" text="white" alink="red" link="aqua" vlink="fuchsia">
<h1>Welcome to the apt-panopticon results page.</h1>
<p>Here the apt-panopticon system probes into every nook and cranny of the Devuan apt package mirror system, trying to live up to it's name.</p>
<p>This is the status of the mirror servers in the Devuan package mirror network.</p>

+ 5
- 0
Report-web_2.html View File

@@ -0,0 +1,5 @@
<p><font style='background-color:red; color:black'>EXPERIMENTAL CODE - double check all results you see here, and read the logs if it's important.</font></p>
<p>The full list of Devuan package mirrors is available at the URL: <a href='https://pkgmaster.devuan.org/mirror_list.txt'>https://pkgmaster.devuan.org/mirror_list.txt</a></p>
<p>Due to the nature of the tests, some errors or warnings will be counted several times. &nbsp; The links in the table and DNS list go to the detailed testing logs.</p>

<hr>

+ 11
- 0
Report-web_3.html View File

@@ -0,0 +1,11 @@
<p><b class="TTitem" title="This is a tooltip with an explanation in it.">Tooltips</b> are things that have an explanation tooltip, hover over them.</p>
<p><font color='red'><b>FAILED</b></font> or <font color='lime'><b>OK</b></font> means the tested thing is supported for that mirror.</p>
<p><font color='darkred'><b>FAILED*</b></font> or <font color='darkgreen'><b>OK*</b></font> means the tested thing is unsupported for that mirror, but might have been tested anyway.</p>
<p><font color='aqua'><b>timeout</b></font> or <font color='blue'><b>timeout</b></font> means the mirror had some timeouts, and tests where not yet aborted. The darker colour means unsupported by the mirror, but tested anyway.</p>
<p><font color='aqua'><b>TIMEOUT</b></font> or <font color='blue'><b>TIMEOUT</b></font> means the mirror had too many timeouts, and tests where aborted, so there is no result for this test.</p>
<p>NOTE: timeouts may be due to a problem on the testing computer, it might be busy with other things, or be having it's own network problems.</p>
<p>NOTE: the speed of the server this checking script is running on might be wildly exaggerated, it doesn't have to go through the Internet to download from itself.</p>
<p>The DNS round robin (DNS-RR) column shows the IPs for that mirror, or <font color='grey'><b>no</b></font> if it isn't part of the DNS-RR. &nbsp; The IPs link to the testing log for that IP accessed via the DNS-RR. &nbsp; deb.devuan.org is the DNS-RR itself, so it doesn't get tested directly.</p>
<p>The time in the Updated column is how often the mirror updates itself.</p>
<p>Mirrors with a <font style='background-color:dimgrey'>grey background</font> are not active (though may be usable as part of the DNS-RR).</p>
<p><font color='grey'><b>skip</b></font> means that the test hasn't been written yet.</p>

+ 158
- 0
Report-web_TABLE.html View File

@@ -0,0 +1,158 @@
<table>
<tr>
<th></th>
<th class="TTitem">
<div class="hoverWrapper0">
FTP
<div id="hoverShow0">
<h1>FTP tests</h1>
<p>The FTP tests have not been written yet.</p>
</div>
</div>
</th>
<th class="TTitem">
<div class="hoverWrapper0">
HTTP
<div id="hoverShow0">
<h1>HTTP tests</h1>
<p>There are two styles of HTTP tests - actual HTTP downloads and HTTP HEAD tests. &nbsp;
Actual downloads happen when other tests need the files to be downloaded. &nbsp;
HEAD tests are where apt-panopticon probes things in detail. &nbsp;
For each mirror (including the DNS round robin domain), and for each IP of that mirror -
</p>
<ul>
<li>Chose a small collection of package files to test, and the Release files for each release.</li>
<li>Send a HTTP HEAD request for each of those files.</li>
<li>Carefully inspect and log the response.</li>
<li>Retry the request if needed, and log that.</li>
<li>If the mirror replies with a redirect to the same mirror, then try that and keep checking.</li>
<li>If the mirror replies with a redirect to a different server, then probe that mirror the same way.</li>
<li>If a redirect loop is detected, log that and give up.</li>
</ul>
</div>
</div>
</th>
<th class="TTitem">
<div class="hoverWrapper0">
HTTPS
<div id="hoverShow0">
<h1>HTTPS tests</h1>
<p>The HTTPS tests are very similar to the HTTP tests detailed above, though obviously they are tried with HTTPS requests instead of HTTP requests. &nbsp;
The validity of the HTTPS certificate for each server is tested as well.
</p>
</div>
</div>
</th>
<th class="TTitem">
<div class="hoverWrapper0">
RSYNC
<div id="hoverShow0">
<h1>RSYNC tests</h1>
<p>The RSYNC tests have not been written yet.</p>
</div>
</div>
</th>
<th class="TTitem">
<div class="hoverWrapper0">
DNS round robin
<div id="hoverShow0">
<h1>DNS round robin</h1>
<p>The "DNS round robin" column lists the IP addresses for each mirror that is part of the DNS round robin, or DNS-RR. &nbsp;
The IPs are linked to the log for that specific IP when used via the DNS round robin, and is followed by the number of ERRORs, WARNINGs, or TIMEOUTs if any.
</p>
</div>
</div>
</th>
<th class="TTitem">
<div class="hoverWrapper0">
Protocol
<div id="hoverShow0">
<h1>Protocol tests</h1>
<p>The Protocol test will give a warning if the protocol is changed during a redirect, HTTP -> HTTPS for example. &nbsp;
While apt HTTPS transport is now the default in Beowulf / Buster, not everyone with an older release will have that installed,
so redirecting HTTP to HTTPS will break apt for those people. &nbsp;
An ERROR is given instead if that happens for mirrors in the DNS round robin. &nbsp;
Servers in the DNS round robin will not have the HTTPS certificate for the round robin domain, so redirecting to HTTPS for that is an ERROR.
</p>
</div>
</div>
</th>
<th class="TTitem">
<div class="hoverWrapper0">
Redirects
<div id="hoverShow0">
<h1>Redirect tests</h1>
<p>Mirrors that redirect /DEVUAN/ back out to deb.devuan.org is an ERROR. &nbsp;
/DEBIAN-SECURITY/ packages must be redirected to a Debian mirror, specifically a mirror hosting Debian security updates. &nbsp;
However, some Devuan mirrors might also be Debian mirrors, so this is just a WARNING.
</p>
</div>
</div>
</th>
<th class="TTitem">
<div class="hoverWrapper0">
URL sanity
<div id="hoverShow0">
<h1>URL sanity tests</h1>
<p>The URL sanity test replaces "/" in URLS with "///", to see if the mirror can cope with that. &nbsp;
This might happen due to a minor mis-configuration by the apt user, but decent web servers should cope with that. &nbsp;
The result for a mirror that does not cope is a failed download for that user, so this is an ERROR.
</p>
</div>
</div>
</th>
<th class="TTitem">
<div class="hoverWrapper0">
Integrity
<div id="hoverShow0">
<h1>Integrity tests</h1>
<p>Actually download files, then check things like PGP keys, SHA256 check sums, and file size. &nbsp;
For packages, pick the smallest one that has been recently updated.
</p>
</div>
</div>
</th>
<th class="TTitem" colspan='2'>
<div class="hoverWrapper0">
Updated
<div id="hoverShow0">
<h1>Updated tests</h1>
<p>Make sure the Release files are up to date by checking their internal "Date" field. &nbsp;
If they are up to date, download and check updated Packages.xz files, and actual packages. &nbsp;
For actual packages, pick the smallest one that has been recently updated.
</p>
<p>Also shown is the mirrors scheduled time between updates, with "m" meaning minutes and "h" meaning hours. &nbsp;
If this is showing a WARNING, it's likely that the mirror hasn't updated yet, but is due to update after this test was run.
</p>
</div>
</div>
</th>
<th class="TTitem" colspan='2'>
<div class="hoverWrapper0">
Speed range
<div id="hoverShow0">
<h1>Speed range</h1>
<p>The speed test tries to guess at a minimum and maximum speed range for each mirror. &nbsp;
It does this by measuring the reported speeds from the curl commands that actually download files. &nbsp;
Since apt-panopticon is trying hard to download everything from all mirrors all at the same time, this guess will be low. &nbsp;
Also, the computer running the apt-panopticon might have a network connection that is busy with other things. &nbsp;
Not to mention that obviously if the computer this is running on is one of the mirrors, it might get a wildly exaggerated speed,
not having to go through the rest of the Internet tends to help. &nbsp;
Finally, the tested mirror may have a bigger network connection than the computer running the test, so wont show it's true maximum. &nbsp;
So take this speed measurement with a grain of salt, it's more of an indication, the <a href="../apt-panopticon_cgp/index.php">full graphs</a> might be more useful.
</p>
</div>
</div>
</th>
<th class="TTitem" colspan='2'>
<div class="hoverWrapper0">
Weekly statistics
<div id="hoverShow0">
<h1>Weekly statistics</h1>
<p>This is the percentage of time, over the last week, that the mirror was up, and the percentage of time the mirror was up to date. &nbsp;
Note that if the mirror has a low uptime, then there wasn't much chance to check if it was up to date.
</p>
</div>
</div>
</th>
</tr>

+ 39
- 58
apt-panopticon-report-email-web.lua View File

@@ -15,11 +15,6 @@ APT.mirrors = loadfile("results/mirrors.lua")()
APT.debians = loadfile("results/debians.lua")()


local lnk = function(name, link)
if nil == link then link = name end
return name .. " <a href='explanations.html#" .. link .. "'>*</a>"
end

local revDNS = function(hosts, dom, IP)
if APT.options.roundRobin.value ~= dom then
if nil ~= hosts[APT.options.roundRobin.value] then
@@ -210,12 +205,18 @@ local DNSrrTest = function(hosts, k)
return dns
end


local copyHTMLbit = function(web, file)
local rfile, e = io.open(file, "r")
if nil == rfile then W("opening " .. file .. " file - " .. e) else
for line in rfile:lines("*l") do
web:write(line .. '\n')
end
end
end

local makeTable = function(web, hosts)
web:write("<table>\n<tr><th></th><th>" .. lnk('FTP') .. "</th><th>" .. lnk('HTTP') .. "</th><th>" .. lnk('HTTPS') .. "</th><th>" .. lnk('RSYNC') .. "</th>" ..
"<th>" .. lnk('DNS round robin', 'DNS-RR') .. "</th><th>" .. lnk('Protocol') .. "</th><th>" .. lnk('Redirects') ..
"</th><th>" .. lnk('URL sanity', 'URL-Sanity') .. "</th><th>" .. lnk('Integrity') .. "</th>" ..
"<th colspan='2'>" .. lnk('Updated') .. "</th><th colspan='2'>" .. lnk('Speed range', 'Speed') .. "</th>" ..
"<th colspan='2'>" .. lnk('Weekly statistics', 'Weekly') .. "</th></tr>\n")
copyHTMLbit(web, "Report-web_TABLE.html")
local bg = ''
for k, v in APT.orderedPairs(hosts) do
if '' == bg then bg = " style='background-color:#111111'" else bg = '' end
@@ -344,20 +345,21 @@ APT.html = false
local email, e = io.open("results/Report-email.txt", "w+")
if nil == email then C("opening mirrors file - " .. e) else
email:write( "Dear Mirror Admins,\n\n" ..
"This is the status of the mirror servers in the Devuan package mirror network.\n\n" ..
"EXPERIMENTAL CODE - double check all results you see here, and read the logs if it's important." ..
"This is a summary of the status of the mirror servers in the \nDevuan package mirror network.\n\n" ..
"EXPERIMENTAL CODE - double check all results you see here, \nand read the logs if it's important.\n\n" ..
"The full list of Devuan package mirrors is available at the URL:\n\n" ..
" https://pkgmaster.devuan.org/mirror_list.txt\n\n" ..
'Please contact "mirrors@devuan.org" if any of the information \nin the file above needs to be amended. \n\n' ..
"The full results of the mirror checking is available at the URL:\n\n" ..
" https://sledjhamr.org/apt-panopticon/results/Report-web.html\n\n" ..
'Please contact "mirrors@devuan.org" if any of the information \nin the file above needs to be amended.\n\n' ..
"The full results of the mirror checking is available at the URLs:\n\n" ..
" https://borta.devuan.dev/apt-panopticon/results/Report-web.html\n (updated once every hour)\n" ..
" https://sledjhamr.org/apt-panopticon/results/Report-web.html\n (updated once every ten minutes)\n\n" ..
"Due to the nature of the tests, some errors or warnings will be \ncounted several times. " ..
"Refer to the logs on the web page for details.\n\n" ..
"Please see below the current status of the Devuan Package Mirror \nnetwork:\n\n" ..
"==== package mirror status " .. os.date("!%F %H:%M") .. " GMT ====\n" ..
"[skip] means that the test hasn't been written yet.\n\n")
for k, v in APT.orderedPairs(APT.mirrors) do
email:write(k .. "....\n")
email:write(k .. "..\n")
local results = APT.collateAll(APT.mirrors, 'results', k)
local ftp = "[skip]"
local http = status(APT.mirrors, k, results, "http")
@@ -372,13 +374,19 @@ if nil == email then C("opening mirrors file - " .. e) else

-- DNS-RR test.
if (APT.options.roundRobin.value ~= k) and (nil ~= APT.mirrors[APT.options.roundRobin.value]) then
dns = " DNS-RR: " .. dns
dns = " DNS-RR: " .. dns .. "\n"
end

email:write( " ftp: " .. ftp .. " http: " .. http .. " https: " .. https .." rsync: " .. rsync .. "\n" ..
" " .. dns .. "\n" ..
" Protocol: " .. protocol .. " URL-sanity: " .. sanity .. " Integrity: " .. integrity .. "\n" ..
" Updated: " .. updated .. "\n")
email:write( " ftp: " .. ftp .. "\n" ..
" http: " .. http .. "\n" ..
" https: " .. https .. "\n" ..
" rsync: " .. rsync .. "\n" ..
dns ..
" Protocol: " .. protocol .. "\n" ..
" Redirects: " .. redirects .. "\n" ..
" URL-sanity: " .. sanity .. "\n" ..
" Integrity: " .. integrity .. "\n" ..
" Updated: " .. updated .. "\n")
end
email:write( "\n==== faulty mirrors: ====\n" .. faulty)
email:write( "\n-------------------------\n\n" ..
@@ -387,7 +395,7 @@ if nil == email then C("opening mirrors file - " .. e) else
"You can get the source code from https://sledjhamr.org/cgit/apt-panopticon/about/ (main repo)\n" ..
"and from https://git.devuan.org/onefang/apt-panopticon' (Devuan repo).\n" ..
"You can get the cgp graphing source code from https://sledjhamr.org/cgit/apt-panopticon_cgp/about/ (main repo)\n" ..
"and https://git.devuan.org/onefang/apt-panopticon_cgp (Devuan repo)\n" ..
"and https://git.devuan.org/onefang/apt-panopticon_cgp (Devuan repo)\n\n" ..
"Love\n\n" ..
"The Dev1Devs\n\n")
email:close()
@@ -454,60 +462,33 @@ APT.rrd.graph('results/speed.png', '--start', 'now-2w', '--end', 'now', '-t', 'S
unpack(g))



results = {}
m = {}
faulty = ""
APT.html = true
local web, e = io.open("results/Report-web.html", "w+")
if nil == web then C("opening mirrors file - " .. e) else
web:write( "<html><head><title>apt-panopticon results</title>\n")
copyHTMLbit(web, "Report-web_0.html")
if 0 < tonumber(APT.options.refresh.value) then
web:write('<meta http-equiv="refresh" content="' .. APT.options.refresh.value .. '">\n')
end
web:write( '</head><body bgcolor="black" text="white" alink="red" link="aqua" vlink="fuchsia">' ..
"<h1>Welcome to the apt-panopticon results page.</h1>\n" ..
"<p>Here the apt-panopticon system probes into every nook and cranny of the Devuan apt package mirror system, trying to live up to it's name.</p>" ..
"<p>This is the status of the mirror servers in the Devuan package mirror network.</p>\n")
copyHTMLbit(web, "Report-web_1.html")
if 0 < tonumber(APT.options.refresh.value) then
web:write( '<p>This page will refresh every ' .. (APT.options.refresh.value / 60) .. ' minutes.</p>')
end
web:write( "<p><font style='background-color:red; color:black'>EXPERIMENTAL CODE - double check all results you see here, and read the logs if it's important.</font></p>" ..
"<p>The full list of Devuan package mirrors is available at the URL: " ..
"<a href='https://pkgmaster.devuan.org/mirror_list.txt'>https://pkgmaster.devuan.org/mirror_list.txt</a></p>\n" ..
"<p>Due to the nature of the tests, some errors or warnings will be counted several times. &nbsp; " ..
"The links in the table and DNS list go to the detailed testing logs.</p>\n\n" ..
"<hr>\n<h2>==== package mirror status " .. os.date("!%F %H:%M") .. " GMT ====</h2>\n" ..

"<p><font color='red'><b>FAILED</b></font> or <font color='lime'><b>OK</b></font>" ..
" means the tested thing is supported for that mirror.</p>\n" ..
"<p><font color='darkred'><b>FAILED*</b></font> or <font color='darkgreen'><b>OK*</b></font>" ..
" means the tested thing is unsupported for that mirror, but might have been tested anyway.</p>\n" ..
"<p><font color='aqua'><b>timeout</b></font> or <font color='blue'><b>timeout</b></font>" ..
" means the mirror had some timeouts, and tests where not yet aborted. The darker colour means unsupported by the mirror, but tested anyway.</p>" ..
"<p><font color='aqua'><b>TIMEOUT</b></font> or <font color='blue'><b>TIMEOUT</b></font>" ..
" means the mirror had too many timeouts, and tests where aborted, so there is no result for this test.</p>" ..
"<p>NOTE: timeouts may be due to a problem on the testing computer, it might be busy with other things, or be having it's own network problems..</p>" ..
"<p>NOTE: the speed of the server this checking script is running on might be wildly exaggerated, it doesn't have to go through the Internet to download from itself.</p>" ..
"<p>The DNS round robin (DNS-RR) column shows the IPs for that mirror, or <font color='grey'><b>no</b></font> if it isn't part of the DNS-RR. &nbsp; " ..
"The IPs link to the testing log for that IP accessed via the DNS-RR. &nbsp; " ..
APT.options.roundRobin.value .. " is the DNS-RR itself, so it doesn't get tested directly.</p>\n" ..
"<p>The time in the Updated column is how often the mirror updates itself.</p>" ..
"<p>Mirrors with a <font style='background-color:dimgrey'>grey background</font> are not active (though may be usable as part of the DNS-RR).</p>\n" ..
"<p><font color='grey'><b>skip</b></font> means that the test hasn't been written yet.</p>\n"
)

copyHTMLbit(web, "Report-web_2.html")
web:write("\n<h2>==== package mirror status " .. os.date("!%F %H:%M") .. " GMT ====</h2>\n")
copyHTMLbit(web, "Report-web_3.html")
makeTable(web, APT.mirrors)
web:write( "<h2>==== faulty mirrors: ====</h2>\n" .. faulty)
web:write( "<br>\n<br>\n<h2>==== DNS, graphs <a href='explanations.html#Graphs'>*</a>, and logs: ====</h2>\n")

web:write( "<br>\n<br>\n<h2>==== DNS, links to graphs, and links to logs: ====</h2>\n")
m = makeIPlist(APT.mirrors)
web:write( "<p>This lists each mirror, and the DNS entries for that mirror. &nbsp; " ..
"The links point to the testing log files (" .. logCount("apt-panopticon") .. ") for each domain name / IP combination that was tested. &nbsp; " ..
"The IP links point to the testing log files (the overall log is " .. logCount("apt-panopticon") .. ") for each domain name / IP combination that was tested. &nbsp; " ..
"If a mirror has a CNAME, that CNAME is listed along with that CNAMEs DNS entries. &nbsp; " ..
APT.options.roundRobin.value .. " is the DNS round robin, which points to the mirrors that are part of the DNS-RR. &nbsp; " ..
"If an IP is part of the DNS-RR, it is marked with '<font color='purple'><b>DNS-RR</b></font>' &nbsp; " ..
APT.options.referenceSite.value .. " is the master mirror, all the others sync to it. &nbsp; " ..
APT.options.referenceSite.value .. " is the master mirror, all the others copy files from it. &nbsp; " ..
"</p>\n"
)
web:write(APT.dumpTableHTML(m, ""))
@@ -524,7 +505,7 @@ if nil == web then C("opening mirrors file - " .. e) else
)

makeTable(web, APT.debians)
web:write( "<br>\n<br>\n<h2>==== Debian DNS, graphs <a href='explanations.html#Graphs'>*</a>, and logs: ====</h2>\n")
web:write( "<br>\n<br>\n<h2>==== Debian DNS, links to graphs, and links to logs: ====</h2>\n")

m = makeIPlist(APT.debians)
web:write(APT.dumpTableHTML(m, ""))


+ 0
- 1
apt-panopticon.lua View File

@@ -1129,7 +1129,6 @@ else
os.execute("rm -f results/*.html 2>/dev/null")
os.execute("rm -f results/*.txt 2>/dev/null")
end
os.execute('ln -s ../explanations.html results/explanations.html 2>/dev/null')

if not APT.logOpen('apt-panopticon') then return end
I("Starting tests " .. table.concat(APT.options.tests.value, ", "))


+ 0
- 96
explanations.html View File

@@ -1,96 +0,0 @@
<html><head><title>apt-panopticon explanations</title>
</head><body bgcolor="black" text="white"><h1>Welcome to the apt-panopticon explanations page.</h1>
<p>The purpose of this page is to try to explain everything shown on <a href="Report-web.html">the results page</a>,
so that the results page can link to the various parts for the curious.<p>

<hr><h1 id="IPv4">IPV4 tests</h1>
<p>Tests are tested over IPv4 if the mirror has IPv4 addresses.</p>

<hr><h1 id="IPv6">IPv6</h1>
<p>Tests are tested over IPv6 if the mirror has IPv6 addresses.</p>

<hr><h1 id="FTP">FTP tests</h1>
<p>The FTP tests have not been written yet.</p>

<hr><h1 id="HTTP">HTTP tests</h1>
<p>There are two styles of HTTP tests - actual HTTP downloads and HTTP HEAD tests. &nbsp;
Actual downloads happen when other tests need the files to be downloaded. &nbsp;
HEAD tests are where apt-panopticon probes things in detail. &nbsp;
For each mirror (including the DNS round robin domain), and for each IP of that mirror -
</p>
<ul>
<li>Chose a small collection of package files to test, and the Release files for each release.</li>
<li>Send a HTTP HEAD request for each of those files.</li>
<li>Carefully inspect and log the response.</li>
<li>Retry the request if needed, and log that.</li>
<li>If a redirect loop is detected, log that and give up.</li>
<li>If the mirror replies with a redirect to the same mirror, then try that and keep checking.</li>
<li>If the mirror replies with a redirect to a different server, then probe that mirror the same way.</li>
</ul>

<hr><h1 id="HTTPS">HTTPS tests</h1>
<p>The HTTPS tests are very similar to the HTTP tests detailed above, though obviously they are tried with HTTPS requests intead of HTTP requests. &nbsp;
The validity of the HTTPS certificate for each server is tested as well.
</p>

<hr><h1 id="RSYNC">rsync tests</h1>
<p>The RSYNC tests have not been written yet.</p>

<hr><h1 id="DNS-RR">DNS round robin tests</h1>
<p>The "DNS round robin" column lists the IP addresses for each mirror that is part of the DNS round robin, or DNS-RR. &nbsp;
The IPs are linked to the log for that specific IP when used via the DNS round robin, and is followed by the number of errors, warnings, or timeouts of any.
</p>

<hr><h1 id="Redirects">Redirect tests</h1>
<p>Mirrors that redirect /DEVUAN/ back out to deb.devuan.org is an ERROR. &nbsp;
/DEBIAN-SECURITY/ packages must be redirected to a Debian mirror, specifically a mirror hosting Debian security updates. &nbsp;
However, some Devuan mirrors might also be Debian mirrors, so this is just a WARNING.
</p>

<hr><h1 id="Protocol">Protocol tests</h1>
<p>The Protocol test will give a warning if the protocol is changed during a redirect, HTTP -> HTTPS for example. &nbsp;
While apt HTTPS transport is now the default in Beowulf / Buster, not everyone with an older release will have that installed,
so redirecting HTTP to HTTPS will break apt for those people. &nbsp;
An error is given instead if that happens for mirrors in the DNS round robin. &nbsp;
Servers in the DNS round robin will not have the HTTPS certificate for the round robin domain, so redirecting to HTTPS for that is a mistake.
</p>

<hr><h1 id="URL-Sanity">URL sanity tests</h1>
<p>The URL sanity test replaces "/" in URLS with "///", to see if the mirror can cope with that. &nbsp;
This might happen due to a minor mis-configuration by the apt user, but decent web servers should cope with that. &nbsp;
The result for a mirror that does not cope is a failed download for that use, so this is an error.
</p>

<hr><h1 id="Integrity">Integrity tests</h1>
<p>Actually download files, then check things like PGP keys, SHA256 check sums, and file size. &nbsp;
For actual packages, pick the smallest one that has been recently updated.
</p>

<hr><h1 id="Updated">Updated tests</h1>
<p>Make sure the Release files are up to date by checking their internal "Date" field. &nbsp;
If they are up to date, download and check updated Packages.xz files, and actual packages. &nbsp;
For actual packages, pick the smallest one that has been recently updated.
</p>
<p>Also shown is the mirrors scheduled time between updates, with "m" meaning minutes and "h" meaning hours.
</p>

<hr><h1 id="Speed">Speed test</h1>
<p>The speed test tries to guess at a minimum and maximum speed range for each mirror. &nbsp;
It does this by measuring the reported speeds from the curl commands that actually download files. &nbsp;
Since apt-panopticon is trying hard to download everything from all mirrors all at the same time, this guess will be low. &nbsp;
Also, the computer running the apt-panopticon might have a network connection that is busy with other things. &nbsp;
Not to mention that obviously if the computer this is running on is one of the mirrors, it might get a wildly exaggerated speed,
not haaving to go through the rest of the Internet tends to help. &nbsp;
Finally, the tested mirror may have a bigger network connection than the computer running the test, so wont show it's true maximum. &nbsp;
So take this speed measurement with a grain of salt, it's more of an indication, the <a href="../apt-panopticon_cgp/index.php">full graphs</a> might be useful.
</p>

<hr><h1 id="Weekly">Weekly averages</h1>
<p>This is the percentage of time the mirror was up, and the percentage of time the mirror was up to date. &nbsp;
Note that if the mirror has a low uptime, then there wasn't much chance to check if it was up to date.
</p>

<hr><h1 id="Graphs">Graphs</h1>
<p>A link to the graphs for this mirror.</p>

</body></html>

Loading…
Cancel
Save