Code Monkey home page Code Monkey logo

ipfire-scripts's People

Contributors

sfeakes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ipfire-scripts's Issues

Still working and maintained?

Someone in the IPFire forum recently said this DNS script was no longer maintained. Is that the case?

If it's still maintained, does it work with the current version of IPFire (2.27 update 171)?

Windows 7/10 Anti-Spy List

Hi sfeakes,

I tried your script. Working nice so far. Is it possible to get these lists working?
https://github.com/crazy-max/WindowsSpyBlocker/tree/master/data/dnscrypt/win7
https://github.com/crazy-max/WindowsSpyBlocker/tree/master/data/dnscrypt/win10

I tried to add the text files in raw format. For example: https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/dnscrypt/win7/extra.txt

This should work:

bash dns_blocklist.sh -s 1,2,3,5,12,13,14,"https://easylist.to/easylist/fanboy-social.txt","https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/dnscrypt/win7/extra.txt","https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/dnscrypt/win7/spy.txt"

But the Windows 7 Extra- and Spywarelist is not working. Any suggestions?

Whitelisting does not work

Hi,
while trying to use this script for IPFire core 111 (unbound) I noticed that whitelisting a domain does actually not work. Blacklisting, however, obviously works perfectly well.

I tried to add an entry Twitter.com to a file whitelist.hosts and executed the script using parameter -w /root/bin/whitelist.hosts.

Could you pls. check this?

Thanks,
Michael

Tip for configuring and using an alternative blocklist

This is not an issue. I'm sharing my config, which someone might find useful.

I found that one or more of the default lists block sites that I need when clicking on links in emails eg from the BBC (bbcmail.com). This is undesirable for me: I'd like to visit the links! I could whitelist the link but I'm guessing there'll be more, and I don't want to be chasing blocked sites forever!

I found another list, which passes the sniff test for me: https://oisd.nl/. Their claim is that you won't find any false positives and after two weeks, I haven't. I'm using the big list (there are three altogether).

The readme for the dns_blocklist.sh script suggests updating fcrontab file. An alternative is to create a script and drop it in the /etc/fcron.daily, /etc/fcron.weekly, etc folder.

The list I'm using gets updates frequently. I've therefore put my script in the /etc/fcron.daily folder.

My script, named update-dns-blocklist.sh, is:

#!/bin/bash
# The default list blacklists sites as such bbcmail.co.uk, which results in links in BBC emails
# not working. Use this list instead:
/root/bin/dns_blocklist.sh -r refuse -w /var/ipfire/dhcp/whitelist -b /var/ipfire/dhcp/blacklist -s https://big.oisd.nl/

Thank you @sfeakes for providing this excellent script.

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.