• Stars
    star
    8,297
  • Rank 4,444 (Top 0.09 %)
  • Language
    Go
  • License
    GNU Affero Genera...
  • Created about 6 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ” Love Freedom - โŒ Block Mass Surveillance

Get Peace of Mind
with Easy Privacy

Portmaster is a free and open-source application firewall that does the heavy lifting for you. Restore privacy and take back control over all your computer's network activity.

With great defaults your privacy improves without any effort. And if you want to configure and control everything down to the last detail - Portmaster has you covered too. Developed in the EU ๐Ÿ‡ช๐Ÿ‡บ, Austria.

Portmaster User Interface

Features

  1. Monitor All Network Activity
  2. Automatically Block Trackers & Malware
  3. Secure Your DNS Requests by Default
  4. Create Your Own Rules
  5. Set Global & perโ€‘App Settings
  6. FAQ

Download for Free

About Safing

As Seen on:

It's FOSS ย ย ย ย ย ย ย  ghacks.net ย ย ย  Techlore ย ย ย  Lifehacker

Technical Introduction

Portmaster is a privacy suite for your Windows and Linux desktop.

Base Technology

  • Portmaster integrates into network stack using nfqueue on Linux and a kernel driver (WFP) on Windows.
  • Packets are intercepted at the raw packet level - every packet is seen and can be stopped.
  • Ownership of connections is found using eBPF and /proc on Linux and a kernel driver and the IP Helper API (iphlpapi.dll) on Windows.
  • Most settings can be defined per app, which can be matched in different ways.
  • Support for special processes with weird or concealed paths/actors:
    • Snap, AppImage and Script support on Linux
    • Windows Store apps and svchost.exe system services support on Windows
  • Everything is 100% local on your device. (except the SPN, naturally)
    • Updates are fully signed and downloaded automatically.
    • Intelligence data (block lists, geoip) is downloaded and applied automatically.
  • The Portmaster Core Service runs as a system service, the UI elements (App, Notifier) run in user context.
  • The main UI still uses electron as a wrapper :/ - but this will change in the future. You can also open the UI in the browser

Feature: Secure DNS

  • Portmaster intercepts "astray" DNS queries and reroutes them to itself for seamless integration.
  • DNS queries are resolved by the default or configured DoT/DoH resolvers.
  • Full support for split horizon and horizon validation to defend against rebinding attacks.

Feature: Privacy Filter

  • Define allowed network scopes: Localhost, LAN, Internet, P2P, Inbound.
  • Easy rules based on Internet entities: Domain, IP, Country and more.
  • Filter Lists block common malware, ad, tracker domains etc.

Feature: Network History ($)

  • Record connections and their details in a local database and search all of it later
  • Auto-delete old history or delete on demand

Feature: Bandwidth Visibility ($)

  • Monitor bandwidth usage per connection and app

Feature: SPN - Safing Privacy Network ($)

  • A Privacy Network aimed at use cases "between" VPN and Tor.
  • Uses onion encryption over multiple hops just like Tor.
  • Routes are chosen to cover most distance within the network to increase privacy.
  • Exits are chosen near the destination server. This automatically geo-unblocks in many cases.
  • Exclude apps and domains/entities from using SPN.
  • Change routing algorithm and focus per app.
  • Nodes are hosted by Safing (company behind Portmaster) and the community.
  • Speeds are pretty decent (>100MBit/s).

Further Readings:

Documentation

All details and guides live in the dedicated wiki

More Repositories

1

spn

Safing Privacy Network
Go
248
star
2

portmaster-ui

User Interfaces for Portmaster
CSS
153
star
3

portmaster-packaging

Portmaster packages and installers
Shell
46
star
4

jess

Jess is a cryptographic library and cli tool that focuses on usability and freedom.
Go
37
star
5

intel-data

๐Ÿ”ฅ Filterlists and intelligence data ๐Ÿšฅ
31
star
6

portmaster-android

Portmaster Android App
TypeScript
29
star
7

portbase

Golang Service Project Baseline
Go
28
star
8

portmaster-windows-kext

The Windows kernel-mode driver for Portmaster integration
C
27
star
9

web

https://safing.io
HTML
23
star
10

mmdbmeld

Build your own .mmdb geoip database.
Go
21
star
11

docs

https://docs.safing.io
HTML
10
star
12

scanblock

Traefik plugin that blocks scanner IPs by counting 4xx status codes until a limit is hit.
Go
7
star
13

tlsauth

Traefik plugin to authenticate users based on the Common Name, DNS Names and Email Addresses of their TLS client certificate. Optionally add the username as a request header for the upstream service.
Go
6
star
14

safing-core

Deprecated repo
6
star
15

stamp.community

Ruby
5
star
16

nsis-shortcut-properties

Sets AppUserModel ID and ToastActivatorCLSID on a shortcut - the required properties for Win 8+ toast messages.
NSIS
4
star
17

checksums

This repo holds checksums of released artifacts.
4
star
18

safing-notify

Deprecated repo
3
star
19

plausiblefeeder

Traefik plugin that feeds HTTP requests to plausible as pageview events.
Go
3
star
20

portmaster-wintoast

C++
2
star
21

mmdb-converter

Convert CSV files to MMDB
Perl
2
star
22

faqs

Frequently Asked Questions that don't fit anywhere else.
1
star