whole
December 23, 2020, 7:45am
1
Not really an issue just an observation.
I am using this highly recommended list:
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
Only issue I notice is that every single time I run 'pihole -g'
I get '[β] Status: Retrieval successful ' even though there were no updates to the list, it re-downloades the list again,
5 minutes later same thing it doesn't see the it is the same exact list as 5 minutes ago.
[β] Status: Retrieval successful
I assume it is unique to all lists hosted at
https://raw.githubusercontent.com/
Another example was
'https://raw.githubusercontent.com/blocklistproject/Lists/master/abuse.txt '
which is huge 500k list
but thenI found they have an alternative link
https://blocklistproject.github.io/Lists/abuse.txt
and now I get
[β] Status: No changes detected
which is expected if there were no updates.
This is a known issue. Github does not provide the necessary http header of "last modified" so pihole will always download it and process as if changes occured.
For further details:
I've noticed that (most of) my adlists get the status Status: Retrieval successful instead of No changes detected when running pihole -g, even when running it twice within a minute.
Looking at the code, I see that the ''Status' is based on HTTP response.
The code even states that some servers don't provide the necessary header
As pihole will save all downloaded lists locally, I request to compare old local list and (new) downloaded to decide if "Status" should be "changed" or "not changedβ¦
1 Like
whole
December 24, 2020, 1:19am
3
Thanks for the explanation,
So github won't let you know about "last modified"
Why do you think 'github.io ' seems to be providing the response
https://blocklistproject.github.io/Lists
seems to be doing that
No real need for that list. It's rarely updated and it's run by unscrupulous individuals that have tried to sell Pi-hole as a commercial product in the past.
1 Like
system
Closed
December 31, 2020, 3:44am
6
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.