onefang
3207720a08
Protect command listing in log files.
3 years ago
onefang
356ff78e35
Actually show the IPv6 logs.
Didn't need to tave [IPv6] in the log file names after all, or anywhere
else.
3 years ago
onefang
7a8fdb8946
Clean up the reports, and merge the DNS report into the web report.
Include links to the logs.
Tweak the colours a little.
Put the results into a table, for better readability.
3 years ago
onefang
d2b0ff2d75
HTMLize the logs.
3 years ago
onefang
2fa647fb5a
Clean up a nil issue.
3 years ago
onefang
e0b2cf04a4
Rewrite execute(), and also write a fork(). Now execute() properly returns the status.
3 years ago
onefang
65965a5171
Reduce the timeout to 15 seconds.
3 years ago
onefang
a0358bb507
Hide the cat and rm errors, though we probably should log them instead.
3 years ago
onefang
f0b2ddcf27
Rewrite the lua-sec checks using command line curl instead.
Works better with SNI.
3 years ago
onefang
c5025375de
Move the execute function to near the checkExes function.
3 years ago
onefang
277177662f
Don't run report generators in the background.
3 years ago
onefang
3fdcc12a05
Clear out more stuff on startup.
3 years ago
onefang
bd9d181030
Disable Prometheus output.
3 years ago
onefang
401aac438c
Another attempt to tame timeouts.
3 years ago
onefang
f8798ecc46
Tidy up some loose ends with "test name and host included on log lines".
3 years ago
onefang
48325410c2
Don't stick a _ at the end of the results file name for the no IP case.
3 years ago
onefang
99a7271471
Generic reports, including a dumb example.
3 years ago
onefang
9ed69b2682
Whitespace clean up.
3 years ago
onefang
cc872d3eba
Rename project to apt-panopticon.
It used to be mirror-checker-lua.
3 years ago
onefang
2c86739c4b
Create a persistant table with the results.
3 years ago
onefang
ff4ff76849
TODO minor tweaks.
3 years ago
onefang
03b0b52880
Add the round robin stuff to the mirrors.lua, and jiggle the code that loops through mirrors.
3 years ago
onefang
4a1763099e
Gather the IPs and stuff them into mirrors.lua before forking.
3 years ago
onefang
65a7ac12f5
Oops, missed a line in the --roundRobin commit.
3 years ago
onefang
255d6d51f4
Disable the currently unwritten DNS-RR test.
3 years ago
onefang
6162e5c980
Add roundRobin as an option.
3 years ago
onefang
58e293224e
End early if the host keeps timing out, and random sleep for retries.
Otherwise it could take hours trying a timing out host over and over.
3 years ago
onefang
1f3c0941e1
Reduce the check exes wait time.
3 years ago
onefang
96b33fa032
Oops, remove left overs.
4 years ago
onefang
1f53f7be78
Fork original mirror HEAD check to.
30 minutes to 3 minutes. B-)
4 years ago
onefang
115a5e31d0
TODO++
4 years ago
onefang
e5ff637455
Reduce default verbosity to critical messages only.
4 years ago
onefang
5876d11bc0
Add the name of the test to any log messages about that test.
And the original host as well.
4 years ago
onefang
029916f82c
Check original host name as well as IP in redirected locations.
4 years ago
onefang
0fe446ff79
If only the protocol changed, just log and return.
The other protocol will be tested later.
4 years ago
onefang
75c0a7bb7a
Oops, should have been part of te last commit.
4 years ago
onefang
e78558fbc6
Check the original domain name as well as everything else.
4 years ago
onefang
77714e6d30
Remove excess space at end of mirror base URLs from mirror_list.txt.
4 years ago
onefang
c9a48ee9a3
Remove some left overs.
4 years ago
onefang
c9fc01638e
Rejig the redirects a little.
4 years ago
onefang
fbd53b3ef3
checkRedirects -> checkHost
4 years ago
onefang
addb2ff4ef
checkPaths -> checkFiles
4 years ago
onefang
e14629329f
checkURL -> checkHEAD
4 years ago
onefang
3f20527faa
More documentation.
Briefly describe the tests.
Document the options.
Theory of operation.
--help now says to read the README.md.
4 years ago
onefang
fcbe6aa161
Whitespace fix.
4 years ago
onefang
d1322db549
Various changes to the URL checker.
Don't test protocols on hosts that don't support them.
Don't test HTTPS on the deb.devuan.org IPs, they are all mirrors that
shouldn't have the deb.devuan.org cert.
Actually test HTTPS, coz LuaSocket doesn't actually support it, but
doesn't tell you and silently converts them to HTTP. Use LuaSec for
that.
Neaten up the post checking.
4 years ago
onefang
0c8e9bf6dc
Use the saved mirrors list and the split packages lists.
4 years ago
onefang
5a13a0782a
Split the checked packages to Debain and Devuan based ones.
4 years ago
onefang
7380b7e774
Save and load the mirror list between threads.
4 years ago
onefang
a887d3f193
Switch printTable to dumpTable.
4 years ago