Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about expired filters #98

Closed
MajkiIT opened this issue Apr 20, 2015 · 18 comments
Closed

Question about expired filters #98

MajkiIT opened this issue Apr 20, 2015 · 18 comments

Comments

@MajkiIT
Copy link

MajkiIT commented Apr 20, 2015

Hi, I have somethimes in filters list, that same are out of date and I must update them, but same have newer version and uBlock not alert me. How uBlock know that same filters have new version?

@lewisje
Copy link

lewisje commented Apr 20, 2015

The lists themselves mention how long they should be considered fresh, and uBlock keeps track of when the lists were downloaded; if a list doesn't explicitly mention an expiration date, uBlock assumes a default expiration (I think it's 5 days after download). Then, uBlock periodically checks the expiration dates for the lists, and if it finds some lists have expired, it checks for new versions, and if it finds new versions, it downloads them.

I'm thinking that the ones that have newer versions that uBlock hasn't told you about yet are the ones for which the expiration date hasn't passed; in particular, EasyList is updated several times per day, even though it specifies an expiration date 4 days after download: https://hg.adblockplus.org/easylist/

I'm thinking that uBlock wants to lessen the load on the servers hosting the subscriptions, so unlike ABP, there is no way to force an update check.

@MajkiIT
Copy link
Author

MajkiIT commented Apr 20, 2015

Thank's . This all information are very important to me.

@gorhill
Copy link
Owner

gorhill commented Apr 20, 2015

How uBlock know that some filters have new version?

There is two ways for uBlock to determine whether a filter list needs to be updated:

  1. uBlock's checksums file: if the local checksum for a filter list does not match the remote checksum, the list will be marked as "new version available".
  2. If the list is fetched from a remote server, the list will be considered obsolete after 4-5 days, regardless of whether the filter list has changed on the remote server. In such case the list will be marked as "outdated".

@gorhill gorhill closed this as completed Apr 20, 2015
@MajkiIT
Copy link
Author

MajkiIT commented Apr 20, 2015

How generate checksum to filter?

@gorhill
Copy link
Owner

gorhill commented Apr 20, 2015

I do. Your uBlock will download it.

@MajkiIT
Copy link
Author

MajkiIT commented Apr 20, 2015

But on easylist is line: ! Checksum: Kad++EkO4vL3k9xg1vd6Yw
So generating checksum by filter autor is not necessary.

@gorhill
Copy link
Owner

gorhill commented Apr 20, 2015

uBlock does not use the checksum embedded in filter lists.

@MajkiIT
Copy link
Author

MajkiIT commented Apr 20, 2015

Thank's. I no longer take your time.

@colaas
Copy link

colaas commented Apr 30, 2015

Hi, I can't seem to update my filter lists. Purging the cache doesn't help.
For example, the EasyPrivacy list I have is from the 18th of April and the actual list has been updated today. The checksum is not for my version nor for the latest version. Looking at wireshark quickly it seems ublock is not even contacting their server. (This is on 0.9.5.0)

@MajkiIT
Copy link
Author

MajkiIT commented Apr 30, 2015

Maybe clear all cache all filters and try update all filters.

Gorhill why you do not create a checksum for all filters?

@gorhill
Copy link
Owner

gorhill commented Apr 30, 2015

@Colas Is EasyPrivacy marked as "obsolete" after you force an update?

Is there a "purge cache" badge following the list name? If so, what does the tooltip for that badge says?

@colaas
Copy link

colaas commented Apr 30, 2015

No it's never marked as obsolete. Purge cache tooltip said 5 hours ago. I purged, applied and updated, now it says last updated a minute ago but it's still the same old list if you click on it.

@MajkiIT
Copy link
Author

MajkiIT commented Apr 30, 2015

If you open this list on browser by url then you see new version?

@gorhill
Copy link
Owner

gorhill commented Apr 30, 2015

@colaas How do you open the list? There is a known quirk in Firefox, if you open the list with the middle button (or context menu), it will show you the one shipped with the extension, not the one currently in use.

@colaas
Copy link

colaas commented Apr 30, 2015

Ah, yes, that's what I was doing, I never actually tried just left clicking. First time I hear of this quirk. Weird that I wasn't seeing traffic even after purging though. Thanks
Looking forward to uMatrix on FIrefox!

@MajkiIT
Copy link
Author

MajkiIT commented May 1, 2015

Something is wrong. This filters are update daily, but last update is 7 days ago. I use version 0.9.6.0 and enable autoupdate.
https://www.dropbox.com/s/3o529l2chyqoe28/adblock7.png?dl=0

@gorhill
Copy link
Owner

gorhill commented May 1, 2015

@Marek45 Left-click on the filter list, what is the date in it?

@MajkiIT
Copy link
Author

MajkiIT commented May 1, 2015

I fix it. My Internet Provider use squid and it cached txt files to long. I reported this and it was repaired. Sorry and thank's for your time.

geoffdutton pushed a commit to geoffdutton/uBlock that referenced this issue Apr 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants