Coder Social home page Coder Social logo

z3d6380 / pfsense-pkg-dnsleaktest Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 42 KB

A DNS Leaktest package I made for pfSense

License: Apache License 2.0

Makefile 12.34% PHP 48.75% Shell 38.92%
dns freebsd open-source package pfsense php utility

pfsense-pkg-dnsleaktest's Introduction

pfSense-pkg-DNSleaktest

A DNS Leaktest package I made for pfSense Project.

Dependencies

Make sure jq is installed. The pfSense package repo should have jq.

Just run which jq, and if not installed, then run pkg install jq.

Installation

  1. Download the .pkg file from the most recent release to your pfSense box via scp
  2. Run the pkg add pfSense-pkg-DNSleaktest-{x.x.x}.pkg command via ssh.

Note:

Currently, this feature is not being considered by Netgate for addition into the pfSense package repo. More info on why it isn't currently being considered by Netgate:

Redmine: https://redmine.pfsense.org/issues/13821?issue_count=1&issue_position=1 [Rejected, Closed]

PR: pfsense/FreeBSD-ports#1211 [Rejected, Closed]

Interface and Usage

GUI (Initial):

image

  • GUI can be opened through the "Diagnostics" dropdown in the pfSense Menubar

GUI (Selected Network Interface and API):

image

  • Source Interface: Select an egress network interface (such as WAN or VPN Tunnel) to perform the test on
  • API Domain: Select the dns leak test API of your choice (currently only bash.ws is supported)

GUI (Output after clicking "Scan" button):

image

  • The results will be displayed to you. If more than one DNS server is detected, it will tell you that DNS may be leaking, so it will be up to you to determine if the DNS servers shown are the ones you intended on using, and if they are trustworthy.
  • Based on the results and your assesment of them, take the appropriate steps to remediate if necessary.

Action Items:

  • Interface and support for bash.ws dns leak testing
  • Strip/Escape User Input in dnsleaktest.sh
  • Validate/Sanitize/Escape User Input from dnsleaktest.php
  • Add support for other DNS Leak Testing APIs (dnsleaktest.com, etc)

Contributions:

Contributions are welcome. Fork the repo, make your changes, create a diff file, and email the diff file and your GitHub username to [email protected]. If the changes are approved, you will be added as a contributor to the repo.

Donations:

If this utility helped you with a project you're working on and you wish to make a donation, you can do so by clicking the donate button that follows. Thank you for your generosity and support!

Donate using Liberapay

pfsense-pkg-dnsleaktest's People

Contributors

z3d6380 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.