Giter Site home page Giter Site logo

Comments (11)

mrrfv avatar mrrfv commented on May 22, 2024

the whitelist you added,is it automatically added when updating workflow?

If you update the GitHub Actions workflow in your own repository to use the same auto_update_github_action.yml file as found in this repository, then yes, the whitelists will be automatically added because it runs get_recomended_whitelist.sh.

and can we select which whitelist we want to be used?

Yes.

If you're running this on a PC, just create a file whitelist.csv and put the domains you want to be whitelisted in it.
If you are using GitHub Actions, remove the "Download recommended whitelists" step from the workflow yaml file and replace it with the command that downloads your custom filterlists, for example (untested):

curl https://raw.githubusercontent.com/hagezi/dns-blocklists/main/whitelist.txt -o whitelist.csv

from cloudflare-gateway-pihole-scripts.

ShailendraMadarie avatar ShailendraMadarie commented on May 22, 2024

Ok great, i am using github.For now i will leave it as default.

One more thing ,maybe you can change time that cgps updates the dns block list.
I observed that mullvad pushes their update some hours later then the scheduled cgps update time.So i have to run manually to get the latest update for the week.

from cloudflare-gateway-pihole-scripts.

suricloud avatar suricloud commented on May 22, 2024

It seems the whitelist are not working,
i see some domains are blocked by some blocklist and the whitelist should work that these domain gets unblocked?
Can you please check the issue,
These domains are blocked by some block list, but are in the whitelists and should not be blocked;
www.googletagmanager.com
ichnaea.netflix.com
tv.jsrdn.com
adservice.google.com

from cloudflare-gateway-pihole-scripts.

norbertjoni avatar norbertjoni commented on May 22, 2024

It seems the whitelist are not working, i see some domains are blocked by some blocklist and the whitelist should work that these domain gets unblocked? Can you please check the issue, These domains are blocked by some block list, but are in the whitelists and should not be blocked; www.googletagmanager.com ichnaea.netflix.com tv.jsrdn.com adservice.google.com

it's not blocked here. But I receive 400. That’s an error.

Try this : https://tagmanager.google.com and this : https://ads.google.com

from cloudflare-gateway-pihole-scripts.

suricloud avatar suricloud commented on May 22, 2024

The blocked domains i mentioned earlier, are blocked by adguad dns list i found, which is also pulled from the mullvad list.
So what i mean the whitelist you have added like from hagezi should resolve this false block, but is not happening.

from cloudflare-gateway-pihole-scripts.

duc2ht avatar duc2ht commented on May 22, 2024

new gateway update seems to have caused problems with whitelist, the domains in the whitelist still seem to be blocked

from cloudflare-gateway-pihole-scripts.

FiorenMas avatar FiorenMas commented on May 22, 2024

The latest commit has the same problem, it have many false positives with subdomain blocking

from cloudflare-gateway-pihole-scripts.

mrrfv avatar mrrfv commented on May 22, 2024

@FiorenMas @duc2ht Could you please provide the following info:

  • What blocklists and whitelists are you using?
  • What domains are falsely blocked?

Along with a complete log, if possible (you can email it if you are uncomfortable with sharing it publicly). It'll greatly help with debugging the issue. As a temporary workaround, you can revert back to the previous commit.

from cloudflare-gateway-pihole-scripts.

duc2ht avatar duc2ht commented on May 22, 2024

@mrrfv whitelist: raw.githubusercontent.com/notracking/hosts-blocklists-scripts/master/hostnames.whitelist.txt
Domain are falsely blocked: www.googleadservices.com

Edit: Found the cause of the error, the problem has been solved.
Because in blocklist, googleadservices.com includes 3 different formats:
||googleadservices.com^ googleadservices.com @@||www.googleadservices.com^|
but in whitelist only had 1 format :
googleadservices.com . After creating another whitelist with 3 formats like blocklist, the problem was solved.

from cloudflare-gateway-pihole-scripts.

lamminh2012 avatar lamminh2012 commented on May 22, 2024

Hi @mrrfv
I have a question. I use just one block list in get_recommended_filters.sh (that is https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/domain.txt with less than 20,000 domains). Still, Lists in Cloudflare shows that I have 268,000 domains to block. I don't know where the mysterious lists come from.
Also, with your update codes, videos on CBS News won't load any more. Could you please tell me how to fix this issue?
Thank you.

from cloudflare-gateway-pihole-scripts.

mrrfv avatar mrrfv commented on May 22, 2024

@lamminh2012 Both issues might be because of leftover data from previous runs. Try running these scripts in order:

  1. cf_gateway_rule_delete.js
  2. cf_list_delete.js
  3. cf_list_create.js
  4. cf_gateway_rule_create.js

The first two remove all data ever created by CGPS from your Cloudflare account, the last two add everything back based on your current CGPS settings and lists.

from cloudflare-gateway-pihole-scripts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.