From 83c6327d60df855cd56eeffbe72e765d5276067e Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 24 Dec 2019 15:09:28 +1000 Subject: Actually test DEBIAN packages. --- apt-panopticon.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apt-panopticon.lua') diff --git a/apt-panopticon.lua b/apt-panopticon.lua index 5cf776e..694e343 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua @@ -420,6 +420,12 @@ local checkFiles = function (host, ip, path, file) end end end + + for i, s in pairs(referenceDebs) do + if checkTimeouts(host, "http", ip .. path .. "/" .. s) then return end + if checkTimeouts(host, "https", ip .. path .. "/" .. s) then return end + end + for i, s in pairs(referenceDevs) do if checkTimeouts(host, "http", ip .. path .. "/" .. s) then return end if checkTimeouts(host, "https", ip .. path .. "/" .. s) then return end -- cgit v1.1