All Projects → JayBrown → Dnscrypt Menu

JayBrown / Dnscrypt Menu

Licence: mit
Manage DNSCrypt from the macOS menu bar (BitBar plugin)

Programming Languages

shell
77523 projects
bash
514 projects
script
160 projects
shellscript
22 projects

Projects that are alternatives of or similar to Dnscrypt Menu

dns-resolver-infra
Privacy DNS infrastructure
Stars: ✭ 39 (-33.9%)
Mutual labels:  dns, privacy, dnscrypt
Hblock
Improve your security and privacy by blocking ads, tracking and malware domains.
Stars: ✭ 724 (+1127.12%)
Mutual labels:  dns, privacy, protection
Encrypted Dns Server
An easy to install, high-performance, zero maintenance proxy to run an encrypted DNS server.
Stars: ✭ 398 (+574.58%)
Mutual labels:  dns, privacy, dnscrypt
Fem
Blokada 5 for Android and iOS (repo moved).
Stars: ✭ 57 (-3.39%)
Mutual labels:  dns, privacy
Doh Server
Fast, mature, secure DoH server proxy written in Rust (doh-proxy).
Stars: ✭ 327 (+454.24%)
Mutual labels:  dns, dnscrypt
Meshbird
Meshbird is open-source cloud-native multi-region multi-cloud distributed private networking.
Stars: ✭ 3,401 (+5664.41%)
Mutual labels:  network, privacy
Dnscrypt Server Docker
A Docker image for a non-censoring, non-logging, DNSSEC-capable, DNSCrypt-enabled DNS resolver
Stars: ✭ 483 (+718.64%)
Mutual labels:  dns, dnscrypt
Scriptsafe
a browser extension to bring security and privacy to chrome, firefox, and opera
Stars: ✭ 434 (+635.59%)
Mutual labels:  privacy, protection
Dnscrypt Wrapper
This is dnscrypt wrapper (server-side dnscrypt proxy), which helps to add dnscrypt support to any name resolver.
Stars: ✭ 493 (+735.59%)
Mutual labels:  dns, dnscrypt
Dnsserver
Technitium DNS Server
Stars: ✭ 603 (+922.03%)
Mutual labels:  dns, privacy
Dnsproxy
Simple DNS proxy with DoH, DoT, DoQ and DNSCrypt support
Stars: ✭ 683 (+1057.63%)
Mutual labels:  dns, dnscrypt
Macos Security And Privacy Guide
Guide to securing and improving privacy on macOS
Stars: ✭ 18,685 (+31569.49%)
Mutual labels:  osx, privacy
Hosts
🔒 Consolidating and extending hosts files from several well-curated sources. Optionally pick extensions for porn, social media, and other categories.
Stars: ✭ 19,363 (+32718.64%)
Mutual labels:  privacy, protection
Bash Toolkit
Este proyecto esá destinado a ayudar a los sysadmin
Stars: ✭ 13 (-77.97%)
Mutual labels:  network, dns
Trojan Go
Go实现的Trojan代理,支持多路复用/路由功能/CDN中转/Shadowsocks混淆插件,多平台,无依赖。A Trojan proxy written in Go. An unidentifiable mechanism that helps you bypass GFW. https://p4gefau1t.github.io/trojan-go/
Stars: ✭ 4,049 (+6762.71%)
Mutual labels:  network, privacy
Twisted
Event-driven networking engine written in Python.
Stars: ✭ 4,442 (+7428.81%)
Mutual labels:  network, dns
whisperer
Simple Go program that makes HTTP request constantly in order to generate random HTTP/DNS traffic noise
Stars: ✭ 31 (-47.46%)
Mutual labels:  dns, privacy
energizedprotection
Energized Protection Magisk Module.
Stars: ✭ 70 (+18.64%)
Mutual labels:  privacy, protection
Dnscrypt Resolvers
Lists of public DNSCrypt / DoH DNS servers and DNS relays
Stars: ✭ 536 (+808.47%)
Mutual labels:  dns, dnscrypt
Traypingapp
📡 OSX tray application showing DNS and ping latency
Stars: ✭ 5 (-91.53%)
Mutual labels:  dns, osx

bbdnsc-platform-macos bbdnsc-code-shell bbdnsc-prereq-dnsc bbdnsc-prereq-bbar bbdnsc-license

DNSCrypt Menu

DNSCrypt Menu is a BitBar plugin to manage the DNSCrypt proxy from the macOS menu bar.

DNSCrypt Menu also works as a tool to configure your default DNS setup.

Functionality

  • start, stop or force-restart the DNSCrypt service with support for Homebrew installations
  • switch between settings (see below; exception: Other DNS via VPN)
  • configure additional resolvers for DNSCrypt + Fallback setting
  • configure resolvers for the Default DNS setting
    • Note: at initial run the user's original DNS resolvers, as specified in the Network preference pane, are saved to $HOME/.config/dnscrypt/backup-*, followed by the service name and -initial, e.g. backup-Wi-Fi-initial; backed-up resolvers can be reloaded at any time.
  • display DNS information: service, devices (incl. TUN/TAP), current resolvers (/etc/resolv.conf), configured resolvers (Network preferences), internal fallback resolver (DNSCrypt), configured fallback resolvers (DNSCrypt Menu), public DNS IP with hostname, Whois & ping, local area DNS
  • display DNSCrypt executable and service information: owner, PID, version, network status, used resolvers, ignored resolvers, executable path, config path, latest log & output, full log, log settings
  • backup and reload resolvers from Other DNS setups (excluding VPN tunnels)
  • options to clear DNS cache or renew DHCP lease
  • links to robtex (IP & hostname), current resolver source, this repository, the dnscrypt-proxy repository, and a list of available public DNSCrypt server

screengrab

Installation

  • install dnscrypt-proxy version 2, e.g. with Homebrew (recommended): brew install dnscrypt-proxy
    • configure dnscrypt-proxy by editing the .toml configuration file
  • download the latest version of BitBar, currently at v2.0.0 beta 10
    • install and configure BitBar
    • quit BitBar
  • clone the DNSCrypt Menu GitHub repository and symlink DNSCryptMenu.30s.sh to your BitBar plugins folder
    • refresh clone for updates
  • install terminal-notifier (optional, recommended)
  • launch BitBar

Settings

  • DNSCrypt — basic DNSCrypt setting without fallback DNS except the one specified in the TOML configuration file
  • DNSCrypt + Fallback — DNSCrypt using additional fallback DNS, with Quad9 (9.9.9.9) as initial preset
  • Default DNS — DNS without DNSCrypt and without initial resolvers, i.e. macOS will use the LAN DNS
  • Other DNS
    • fixed auto-setting when using a VPN
    • user-defined settings based on manual configuration in the Network preference pane (excluding VPN scenarios)

Notes

  • The file local.lcars.DNSCryptLoopback.plist is a LaunchDaemon for demonstration purposes. If you use a different proxy address than the default 127.0.0.1, you need to map your alternate address at every system boot for DNSCrypt to work. This particular daemon runs the command ifconfig lo0 alias 127.0.0.54. Edit to your needs and install/enable using the following commands:

    • cp local.lcars.DNSCryptLoopback.plist /Library/LaunchDaemons/local.lcars.DNSCryptLoopback.plist
    • chmod 0644 /Library/LaunchDaemons/local.lcars.DNSCryptLoopback.plist
    • launchctl load /Library/LaunchDaemons/local.lcars DNSCryptLoopback.plist
    • Verify with: netstat -nr | grep "^127\.0\.0\..*lo0$"
  • Stop and restart the plugin from external scripts with:

    • stop: mv $HOME/.config/dnscrypt/run $HOME/.config/dnscrypt/stop
    • restart: mv $HOME/.config/dnscrypt/stop $HOME/.config/dnscrypt/run
  • This BitBar plugin has only been tested on El Capitan (OS X 10.11.6); IPv6 network setups have not been tested; please report any issues or create a pull request.

Todo

  • Tweaking & testing, lots of testing
  • script comments
  • TOML parsing (blocklists, IPv6 etc.)?

Thank you

Thank you to Frank Denis for kicking this off with his original plugin.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].