Peephole is an application firewall for Linux.
It holds each new connection an app makes and asks you whether to allow or block it.
A decorative feed of example connections runs behind this section. Each row shows a program, a destination, a protocol and a status such as held, allowed by rule or blocked. When you answer the demo alert, your answer is added to the feed.
Interactive demo: answer the alert, then watch the feed.
Interactive demo loads here.




- held
- allowed
- blocked
Ten minutes of background connections
Apps open connections in the background all the time. Each mark below is one of them.
· First time seen · Unexpected app
pdf-viewer reached 203.0.113.99 on port 9001. A PDF viewer has no reason to go online.
Drag across the chart to go back in time
With Peephole, each of these apps would have asked once.
Features
What Peephole does
Connection history
Peephole counts every connection per app and per destination, hour by hour, and whether it was allowed or blocked.
361checked in the last 24 hours
Every app's last 24 hours as a strip of hourly bars, allowed in blue and blocked in red.
Any destination over 7 days, hour by hour.
Where each app connects, with allowed and blocked counts, including destinations no rule covers yet.
Command line
The peephole command, also ph, has a subcommand for each part, and every one takes --json.
[alex@workstation ~]$ peephole status
Output of peephole status: ● Enforcing · Alert Mode
Daemon down open: traffic passes while the daemon is down
Prompt timeout 60 s, then block
History 30 days, at most 100000 records
Agent registered for alex (uid 1000)
Rules 3 user, 1 automatic; limit 4096 each
Version 0.1.0
[alex@workstation ~]$ Peephole isn't released yet
Leave your address and we'll email you once when it's ready. No spam, promise.
We keep your address only for this, and you can remove it any time. Details on the privacy page.
Questions about Peephole
Will it run on my distribution?
Peephole is for Linux desktops. The supported desktops and distributions are announced with the first release.
What happens if I miss an alert?
If you don't answer within 60 seconds (the default), the alert blocks automatically. You can set it to allow automatically instead. A blocked connection is rejected, so the app fails right away instead of hanging.
What if the daemon crashes, or I need the network now?
If the daemon crashes, the network stays open (fail-open), unless you chose fail-closed. sudo peephole stop opens the network at once.
What happens when a program updates?
Peephole recognizes an update from the same system package or Flatpak and keeps the app's rules. If a program changes any other way, Peephole pauses its rules and asks whether to keep them.
Will it slow my computer down?
No. Peephole is built to do nothing while no new connections are being opened: it does not poll or check anything in the background. Connections you've already answered pass straight through, so on an idle desktop it uses next to no CPU, and its background service needs little memory.
Does Peephole send anything about me anywhere?
Only what you agree to. If Peephole crashes or you report a bug, it shows you the report and sends it only if you say yes, or you can let it send reports automatically. You can also choose to share usage statistics without personal details. They are off unless you turn them on. They show which parts of the alert people rely on and where they get stuck.
Peephole never sends your rules, your connection history, or which programs and hosts it sees. Its own connections go through its own alerts like any other program's.
Firefox
Spotify