← Back to projects

NetVeto

An interactive firewall for Windows

About

Sourced from arikw/netveto README

An interactive firewall for Windows: it asks you each time a program tries to reach the network, and remembers your answers.

A new program is blocked first. A window asks whether to allow or block it: the whole program, or only a particular server, address or port; for a minute, an hour, until restart, or always. From then on the firewall answers by itself.

Features

  • Questions as they happen, outgoing and incoming, with the program's signature, the server's name and what the port is registered for. Several programs waiting can be answered in any order.
  • Rules per program: by server name, address or network, port and protocol, or "websites"; and an "everything else" choice: allowed, ask each time, or blocked.
  • Only our rules count: allow rules that other programs added to Windows Firewall do not let anything through.
  • Windows services inside svchost.exe are told apart, each with its own rules.
  • Connection log with the reason for every decision, and a "Now" screen with temporary rules and recent blocks.
  • Optional checks that run only when you ask: VirusTotal (by the file's fingerprint) and an explanation by Claude. Each needs your own key.
  • Import of rules from ESET's settings file, and export/import of your own rules.
  • English and Hebrew, left to right and right to left.

Screenshots

The question: a program wants to connect. Allow or block it, always or for a while, or decide per destination.

The question window: a program wants to connect; allow or block it, always or for a while, or decide per destination

Programs and rules: what each program may do, in plain words, and the choice for everything else.

Programs and rules: the list of programs with their status, and one program's rules

Connection log: every connection, its direction, and why it was allowed or blocked.

Connection log: time, decision, direction, program, server and address, kind, and the reason

Now: what is waiting, temporary rules, and what was blocked in the last few minutes.

Now: a program waiting for a decision, active temporary rules, and recent blocks

How it works

Windows Firewall does the blocking. NetVeto's service reads which connections Windows blocked, asks you, and turns your answers into Windows Firewall rules; a filter layer of its own (Windows Filtering Platform) keeps other programs' allow rules from counting. Names of servers come from Windows' own name lookups. There is no driver of its own, so the first attempt of a new program fails and its next attempt succeeds once allowed.

Three programs: netveto-engine.exe (the Windows service), netveto-tray.exe (the icon by the clock and the windows; it also installs and updates) and netveto-monitor.exe (watch only, no blocking). NetVeto-setup.exe is the tray program carrying the other two.

Privacy

NetVeto collects nothing and sends nothing on its own. It contacts outside services only when you press a button for it, with your own key:

  • VirusTotal: the file's SHA-256 fingerprint (not the file).
  • Claude: the program's name and file path, maker, description, version, signature state and recent destinations (and for a Windows service, its name and description), to explain what it is. Paths under your user folder are sent as %USERPROFILE%\…, without your user name. Answers are kept, so a program is explained once.

Rules, settings and keys stay in %ProgramData%\NetVeto (keys readable only by administrators).

Known limitations

  • The first attempt of a new program fails. NetVeto has no driver of its own: Windows blocks the first connection and NetVeto asks; once allowed, the program's next attempt succeeds. Most programs retry by themselves; a command-line tool may need to be run again.
  • Rules by server name follow the names Windows itself looks up. A program that resolves names on its own (for example over encrypted DNS) is matched by address only. A server sharing an address with others (a CDN) shares its rules with them.
  • Store apps keep the rules Windows Firewall gives them.

If something goes wrong

Protection can be paused from the icon's menu. If the service itself is stuck, this puts Windows Firewall back as it was before NetVeto (as administrator):

"C:\Program Files\NetVeto\netveto-engine.exe" --restore

Logs: %ProgramData%\NetVeto\engine.log and %LOCALAPPDATA%\NetVeto\tray.log.

Install

Download NetVeto-setup.exe from the releases, run it, and accept the install (one administrator prompt). It installs into Program Files, runs as a Windows service, and starts with protection off until you turn it on.

The setup file is not digitally signed yet, so Windows SmartScreen may say "Windows protected your PC": choose More info, then Run anyway. Each release lists the file's SHA-256, to check that it is the file published here.

To update, run a newer NetVeto-setup.exe; rules and settings stay. To remove NetVeto: Settings → Remove NetVeto, which returns Windows Firewall to how it was.

Requires Windows 10 or 11 and administrator rights to install.

Build

The program is cross-compiled on Linux in a container (Rust and MinGW):

podman build -t interactive-firewall-build - < Containerfile
podman run --rm -v "$PWD":/app:Z -w /app interactive-firewall-build cargo build --release

The .exe files are in target/x86_64-pc-windows-gnu/release/; python3 scripts/make-setup.py then packs them into dist/NetVeto-setup.exe (the tray program with the others appended; it installs from what it carries). Tests: cargo test --lib --target x86_64-unknown-linux-musl in the same container.

No warranty

NetVeto is provided "as is", without warranty of any kind. It changes how Windows Firewall works and can block connections you need, or fail to block ones you don't want. You use it at your own risk. To the extent the law allows, the author is not liable for any damage, loss of data, or loss of connectivity arising from its use. See sections 15–16 of the GPL.

License

GPL-3.0-or-later, with a commercial license on request. See LICENSING.md.

More projects

See all →
netveto screenshot 1
netveto screenshot 2
netveto screenshot 3
netveto screenshot 4
netveto screenshot 5
1 / 5