Edition macOS Linux Sensor

The moment danger is detected, Linux isolates itself.

From desktop to cloud VPS, autonomous Linux defense with no complex setup. Client Edition: Wi-Fi auto-detection and a VPN kill-switch. Server Edition: SSH lockout prevention and eBPF-based intrusion detection.

✦ Free · every feature included · no activation 🖥️ Available for Client (Desktop) & Headless Server
RoamSwitch for Linux — autonomous network defense: Wi-Fi identification and nftables profile switching, ransomware behaviour detection and AIR-GAP isolation, USB / BadUSB guard, a 27-item security assessment, an MCP server, and Zero Telemetry

Install from your distribution

Once you add the official repository, updates come through the usual update command, and the in-app update check also works. Choose the Client edition (desktop) or the Server edition (headless) to suit your use.

Ubuntu / Debian / Mint / Pop!_OS / Raspberry Pi OS (APT)

curl -fsSL https://lafine.net/apt/roamswitch-archive-keyring.asc \
  | sudo gpg --dearmor -o /usr/share/keyrings/roamswitch-archive-keyring.gpg
echo "deb [arch=amd64,arm64 signed-by=/usr/share/keyrings/roamswitch-archive-keyring.gpg] https://lafine.net/apt stable main" \
  | sudo tee /etc/apt/sources.list.d/roamswitch.list
sudo apt update && sudo apt install roamswitch

Fedora / RHEL / CentOS Stream (DNF)

sudo rpm --import https://lafine.net/rpm/RPM-GPG-KEY-roamswitch
sudo curl -fsSL -o /etc/yum.repos.d/roamswitch.repo https://lafine.net/rpm/fedora/roamswitch.repo
sudo dnf install roamswitch

openSUSE (zypper)

sudo rpm --import https://lafine.net/rpm/RPM-GPG-KEY-roamswitch
sudo zypper addrepo https://lafine.net/rpm/opensuse/roamswitch.repo
sudo zypper refresh && sudo zypper install roamswitch

Arch / Manjaro / EndeavourOS

Install from the signed pacman repository (x86_64 and aarch64; not registered on the AUR). Once, at the start, run the script that lets you verify and trust the key fingerprint and adds the repository. After that, updates arrive with pacman -Syu. For the Server edition, see the Server tab.

curl -fsSLO https://lafine.net/archlinux/roamswitch-enable-arch-repo.sh
sudo bash roamswitch-enable-arch-repo.sh
sudo pacman -Syu roamswitch-bin

If you do not use the repository, you can download the signed tarball (amd64 / aarch64, .tar.gz + .tar.gz.asc) directly from lafine.net/linux/dl. In this case, the in-app update detection does not work.

After installation, roamswitch.service starts automatically and the tray icon stays resident at login. The first time, the setup wizard (GTK) opens. The CLI command roamswitch status prints diagnostic results in Japanese or English, matching the OS locale.

Key features

Autonomous defense, running natively on Linux

🛡️ Autonomous nftables profile switchingClient Edition only

On trusted networks (home) it allows comfortable local traffic; at work it watches suspicious ports; on public Wi-Fi it stealth-drops all inbound. Decided by gateway MAC, and switched accordingly.

🚨 Autonomous ransomware isolationClient Edition only

Detects encryption write bursts with fanotify and Shannon entropy, freezes the process with SIGSTOP, and emergency-blocks all external communication and shared services (Air-Gap). It blocks in the same way on canary tampering, and files from before the damage can be recovered from btrfs and LVM snapshots.

🧷 Suspicious autostart detectionClient Edition only

Examines newly created or rewritten autostart entries (systemd, cron, shell startup files and so on) and notifies only those that look like malware persistence, such as reverse shells or download-and-run. It stops nothing. On by default.

📶 Wi-Fi encryption-strength warningClient Edition only

When you connect to an unencrypted (Open) or WEP/WPA network, it raises the protection level automatically and notifies you. It can also stop and restore shared services (SSH/Samba/RDP) automatically (on by default, can be turned off at any time).

🔌 Unauthorized USB / BadUSB guardClient Edition only

An unapproved USB storage device is held at connection and an approval dialog appears. For BadUSB keyboards, only input is blocked via evdev (the port is not physically disconnected at the kernel layer). Automatic ClamAV scanning and quarantine of the Downloads folder is also included.

📜 31/42-item security audit

The client edition covers 31 checks, including LUKS, Secure Boot, SSH/sudo, and externally exposed ports. The server edition adds TLS certificate expiry, web server response headers, and domain SPF/DMARC/MTA-STS (optional) to the CIS baseline, for 42 checks. You can view them from the GUI / CLI / MCP, and each check is mapped to NIST CSF 2.0 / CIS Controls v8. The list of detectable attack techniques (MITRE ATT&CK) can also be exported as an ATT&CK Navigator layer.

🤖 Bundled MCP server

With roamswitch-mcp, AI agents such as Claude can read the security state over JSON-RPC (stdio). It runs fully locally, and no tool changes settings. Only three tools write, and only to update their own record files (such as run_active_vuln_scan). See MCP integration setup.

🔒 VPN tunnel + kill-switchClient Edition only

On public Wi-Fi, all traffic goes through an encrypted tunnel using WireGuard or Tailscale (Exit Node). An nftables kill switch stops plaintext leaking outside the tunnel, and traffic is never passed through unprotected even if the tunnel drops (fail-closed).

🎣 Passive link guard (blocks phishing connections)Client Edition only

It takes the destination host name from DNS queries, TLS SNI, and the HTTP Host header, and warns about or blocks connections to phishing and scam sites (default is block; it also works with DoH browsers). Decisions use only local feeds and heuristics, and the destination is never sent anywhere.

🖧 Autonomous Server Defense & SSH Lockout PreventionServer Edition only

For cloud VPSs and data centers, it automatically applies inbound default deny (Default Drop) and protects the administrative SSH session in progress (ESTABLISHED) so you are not locked out. An optional guard.yaml lets you set containment per severity and a safety timer (automatic rollback if there is no response).

⚡ eBPF Threat Detection & Autonomous Isolation (Falco / Tetragon)

It picks up kernel eBPF events (reverse shells, privilege escalation, execution of rogue binaries) through a UNIX socket, and isolates the compromised process (SIGSTOP/SIGKILL) or the host (Air-Gap) within milliseconds. You can choose Falco (default) or Cilium Tetragon (gRPC) as the sensor.

📂 Critical-Path FIM (File Integrity Monitoring)

Event-driven SHA-256 hash monitoring for critical system binaries and configurations including /etc/shadow, /etc/pam.d, and /usr/bin/ — tampering is detected the instant it happens (periodic scans remain as a backstop). Instantly flags backdoor installations and unauthorized tampering. The notification names the process that made the change and the SSH login it belongs to (source, time, authentication method). A file moved onto a watched name from another folder with mv is caught on the spot too.

🔐 SSH brute-force detection and blocking

It reads sshd login failures the moment they are written, blocks new connections from sources that reach the threshold, and also drops the SSH connections they already have open (except authenticated sessions and exempted sources). Enabled by default on the server edition; on the client edition it works only while sshd is running. When fail2ban or CrowdSec is protecting sshd, it only detects and notifies.

🛡️ Lowering trust by device stateClient Edition only

Even on a “trusted (open)” network, while there is a serious detection from Canary, eBPF Guard, Honeytoken, Exec Recorder, or Persistence, it runs the standard protection with the firewall enabled. It does not isolate or block anything. You can revert with sudo roamswitch posture ack or the app button, and it reverts automatically after 6 hours if there is no new detection. On by default.

🔒 Limiting SSH sourcesServer Edition only

It accepts new SSH connections only from the IP addresses and CIDRs listed in ssh_allow_only_sources. A dedicated nftables table cuts off other sources from the first packet, and established connections are not dropped. It is not enabled if the list is empty or the current SSH source is not in the list. A server edition feature, off by default.

🧠 Resource Exhaustion / Process Anomaly GuardServer Edition only

It detects memory-leak DoS and crash loops (signs of a UAF exploit). It does not raise false alarms on the normal sawtooth rise and fall of the GC, and judges only sustained RSS growth with no recovery. It correlates with eBPF and FIM events by PID and attaches a confidence level (possible/correlated).

🧱 Egress / C2 Blocking & DNS SinkholeServer Edition only

It automatically blocks outbound connections to known malicious IPs using a local threat feed. An optional DNS sinkhole (Quad9 / Cloudflare / AdGuard / CleanBrowsing) also blocks resolution of malicious domains (off by default so it does not break internal DNS).

📢 Multi-Channel Emergency Incident AlertsServer Edition only

The moment a compromise detection, process kill, Air-Gap isolation, or FIM violation occurs, it reports to Telegram, LINE, or a Webhook, with the originating process and command attached. Slack, Discord, and Microsoft Teams work through an incoming Webhook URL.

🐳 Docker Risk Detection & Firewall Bypass Protection

It detects the start of privileged containers (--privileged) and containers that mount docker.sock in real time through docker events (notification only). Protection against firewall bypass through the DOCKER-USER chain is always on in both the client and server editions.

🧫 File Scan Guard (YARA + ClamAV)Server Edition only

It periodically scans directories where files meant for others are placed, such as mail relays, shared folders, and upload destinations. The built-in YARA always runs with no external dependencies, and ClamAV can optionally be added. Confirmed threats are quarantined automatically.

🔑 Secret & API Key Leak Scanner

It finds API keys such as OpenAI, AWS, and GitHub, and SSH private keys, in text or across whole directories (.git and similar are excluded automatically). Available from the CLI, MCP, and Python SDK, and the contents are never sent externally.

📦 Package CVE Scan (dpkg/pacman/dnf/zypper + dependencies)Client Edition only

It checks installed OS packages and the dependencies of projects under development (7 ecosystems, including npm, PyPI, and crates.io) against the local known-CVE map. It makes no network connection at all. Findings you will not fix right away can be accepted with a reason and an expiry date, and once the date passes they go back to being normal findings.

🖥️ ClickFix protection (warns about malicious commands on the clipboard)Client Edition only

It guards against ClickFix-style attacks, where a fake ad or CAPTCHA page lures you into “copy and paste this” and runs a malicious command. It checks the moment something is copied (both X11 and Wayland), and if it matches a known malicious pattern, it warns with a notification and a dialog that stays in front. The clipboard is not cleared automatically; you can empty it with the dialog button.

🔔 Notification History (Past 7 Days)

You can look back at the notifications RoamSwitch has issued. They can be viewed from the CLI (roamswitch notifications), GUI, MCP (get_notification_history), and Python SDK, and notifications past the retention period are removed automatically.

🕵️ DNS Tunneling / Exfiltration Detection

It detects the long, high-entropy labels and suspicious TXT/NULL type queries used by DNS tunneling tools such as iodine and dnscat2 (common to the client and server editions). It looks at nothing but DNS, and name resolution is not affected even if detection stops. The server edition also notifies on subdomain brute-forcing, where 40 or more different names under the same domain all come back nonexistent within 60 seconds.

📊 Vulnerability Scan Staleness (pass_age)Client Edition only

For each item of the proof-based vulnerability assessment, you can check the last confirmed result and the number of days elapsed in the GUI / CLI / MCP.

🪤 Credential Theft Detection

Detects the moment a decoy credential in your home folder (AWS, SSH key, Docker) is read. Real files are never overwritten. The client edition also notifies when an unexpected program opens SSH private keys, AWS, gcloud, browser stores, the sign-in files of Claude Code, Codex, Gemini CLI and opencode, GitHub credentials, ~/.git-credentials, ~/.netrc or ~/.pgpass (notification only). The notification names the program and the command that read it.

🕸️ Web Shell & Malicious Code DetectionServer Edition only

From files written to public folders, it finds web shells, obfuscated injected code, PHP disguised as images, and abuse of .htaccess, and quarantines serious ones by default. Public folders are found automatically from Apache, nginx, and Caddy configuration and Docker mounts. The serious PHP vulnerabilities (CVE-2026-109618, CVE-2026-109619) and the conditions for the unpatched CVE-2026-115560 are checked in the “highly exploitable vulnerabilities” item of the periodic assessment.

🛡️ Detecting and blocking identifier walkingServer Edition only

It finds requests that swap reference numbers or order numbers one after another in the access log, notifies you, and blocks them if you want. It also finds attacks spread across many IPs by the sequence of numbers. The optional web gate holds down attacks that keep changing IPs in front of nginx, using a per-location budget (if it is stopped, the site is not stopped). Notification only by default.

🤖 AI Agent Setup Audit

It examines instruction files, skills, and MCP configuration for Claude Code, Codex, and similar tools, and points out invisible characters, instruction overrides, text that fetches from the internet and runs it as is, and outbound sending of secrets. It also notifies you when something has been rewritten from the approved state. It only reads and does not communicate.

👤 Protection for AI Agent AccountsServer Edition only

When an agent runs under its own account, its outbound traffic is limited to an allowlist, decoy credentials detect snooping, and changes to its instruction files, skills, and MCP settings are reported. The reference state is root-owned and cannot be changed from the agent's account.

🔎 Post-Intrusion Trace DetectionServer Edition only

Notifies when a non-root program or container connects to the cloud metadata address (such as 169.254.169.254), when a SUID/SGID file is added or changed, and when logs are wiped.

🐚 Reverse shell detection

Detects shell or interpreter input and output tied to a connection to an outside address: bash -i >& /dev/tcp/…, nc -e, socat exec:, python or perl one-liners, over TCP and connected UDP. An interactive shell wired to a connection of openssl, telnet, ssh and the like is a weak warning. The client edition only notifies (on by default). The Server Edition isolates according to your policy, but weak warnings only notify.

🌐 Network setting change watchClient Edition only

On a known network, it notifies you when a DHCP server, gateway, or DNS server that has not been seen before, or a new PAC or WPAD auto-discovery, appears. It is a clue to man-in-the-middle attacks by a rogue DHCP server. Notification only: it does not change settings and sends nothing. On by default.

🧾 Process execution record and attack-technique detection

It records process execution (executable, arguments, parent-child relationships, user, container) locally in a tamper-evident form. With 12 rules, it notifies on suspicious chains such as reverse-shell-shaped commands and download-and-run, and you can import your own Sigma rules. Notification only by default.

↓ Actual screens of the native GTK app
🖥️ Network management & protection profiles (native GTK)
RoamSwitch for Linux main window (real screenshot)

It identifies the MAC of the connected gateway and switches nftables profiles automatically. Control of shared services and ARP pinning can also be done from this screen.

📋 Tray menu (AppIndicator / SNI)
RoamSwitch for Linux tray menu (real screenshot)

From the tray you can switch the protection level, set the duration of a manual override, control DNS threat protection, and change the language.

Supported environments

Fully supportedUbuntu 22.04 / 24.04, Debian 12+, Linux Mint, Pop!_OS, elementary, Zorin, Raspberry Pi OS 64-bit (Bookworm), Ubuntu for Raspberry Pi
Architecturex86_64 / aarch64 (Raspberry Pi 4 / 5, AWS Graviton, etc.)
Requiredsystemd, nftables. The Client Edition's tray UI needs an AppIndicator/StatusNotifierItem desktop (KDE / Cinnamon / MATE / Budgie, or GNOME with the extension). The Server Edition runs fully headless.
PackagesAPT (Ubuntu/Debian family), DNF (Fedora/RHEL/Rocky/Alma), zypper (openSUSE), pacman (Arch). Non-systemd distros (Alpine / Void / Devuan) are not supported.
Use caseWe ship two packages: a Client Edition (GUI + tray) for workstations and laptops, and a Server Edition (headless, Default Drop, eBPF/Falco integration) for cloud VPS, container hosts and data centers.

Bundled apps

The client edition packages (deb, rpm, tarball) bundle three apps separate from RoamSwitch (PersonalSOC, PathScope, AccessScope), which you can open from the app list. They are licensed under the Apache License 2.0 and are not covered by the RoamSwitch End User License Agreement (EULA). The server edition includes only the three commands (personalsoc, pathscope, accessscope).

PersonalSOCGathers this device's logs and defense status into a single report at the press of a button (a personal security operations center). Its LLM integration is optional and off by default.
PathScopeWorks out the paths by which an ordinary user could reach root and shows where to fix first (a privilege-escalation path analysis tool). Its LLM integration is optional and off by default.
AccessScopeA diagnostic tool that finds attack attempts from web server and SSH access logs, with the supporting log lines. LLM integration is optional and off by default. The server edition package also includes the accessscope command.
Updates and dependenciesThe bundled apps are updated together with the RoamSwitch package. Their windows need WebKitGTK 4.1 (libwebkit2gtk-4.1), which the deb and rpm packages install automatically; on Arch install webkit2gtk-4.1 as an optional dependency.

Client Edition vs. Server Edition

The client edition is for workstations and laptops, and the server edition is for cloud VPSs, container hosts, and data centers.

Area Client Edition (Desktop) Server Edition (Headless)
Network detection & profile switchingAutonomous switching by Wi-Fi / gateway MAC (3 profiles)Static policy (/etc/roamswitch/server.conf, fixed Default Drop)
Firewall postureAuto-selects Open / Balanced / LockdownDefault Drop + explicit allowlist of declared service ports + SSH lockout prevention
Outbound (egress) trafficPassive link guard + DNS Threat Guard block phishingEgress blocking of C2 / malicious domains + optional DNS sinkhole + emergency host Air-Gap isolation
VPN tunnel + kill-switch✅ WireGuard / Tailscale❌ Not supported (administrative access is SSH only. If you need a VPN, set up something like the OS's standard WireGuard separately)
Ransomware, tampering & intrusion detectionfanotify autonomous ransomware detection & process freezeeBPF intrusion detection (Falco / Tetragon) + critical-path FIM (event-driven, instant detection) + resource-exhaustion / crash-loop detection
Reverse shell detection✅ Notify only (on by default)✅ Isolates by the guard.yaml policy (the weaker form only notifies)
Network setting change watch✅ Notifies on DHCP, DNS and PAC / WPAD changes (notify only)A Client Edition feature
Kernel hardening (sysctl / Yama / noexec)Applied on an untrusted networkAlways applied (bundled Docker-bypass protection filter)
Security health assessment✅ 31 items (GUI / CLI / MCP)✅ 42 items (CIS Benchmark, CLI / MCP)
Operator UIGTK GUI + tray + CLI + MCPCLI (roamswitch status --server / setup) + MCP + headless
Emergency notificationsDesktop notifications (GTK / libnotify)Telegram / LINE / Webhook instant alerts (Slack, Discord, Teams via incoming-webhook URL)
Central management & auditing[Planned — not yet available] Added with a Business license[Planned — not yet available] Added with a Business license (signed policy distribution, periodic check-in; free tier stays fully local)
Detailed documentation Security Whitepaper (Client) → Server Edition Operations Manual / Security Whitepaper (Linux Server)

Server Edition Operations Manual Security Whitepaper (Linux Server) CLI / headless operations guide →

🏢 RoamSwitch Business (for organizations)

The personal edition (Community Edition) is free with all features unlocked. For organizations that want to govern multiple Linux machines, we plan the following management features in a paid Business edition (none are available at present). Protection on the machine itself is included in Community, and we do not intend to reduce it in Business.

Planned featuresSummary
Fleet management[Planned — not yet available] Enrol devices with an Ed25519-signed organisation token; aggregate protection level, health score and policy status via periodic check-in.
Signed bulk policy distribution[Planned — not yet available] Distribute trusted networks, away level, sharing-service control and each guard's enforced value as Ed25519-signed JSON. Locked on the endpoint.
Signed private APT / RPMA private repository signed with an organisation-specific GPG key. In-app update checks keep working.
SLA supportA contract-based contact for deployment design, policy design and incident response (Japanese, JST business days).

At present there is no management server or fleet management feature, and the Community Edition does not communicate with a management server (Zero Telemetry). If Business management features are introduced, they will be opt-in and apply only to machines the organization has explicitly enrolled, and our policy is to publish in advance what will be sent. Please contact us about pricing and timing.

Contact us about Business

🔒 Zero Telemetry / License

Communication contents, connection history, browsed URLs, and system logs are never sent externally. The only outbound traffic by default is receiving signed data updates (client edition once a day; server edition daily for the manifest and KEV, and weekly for kernel CVE data). It contains no information about the machine and can be turned off. Nothing else communicates unless you opt in.

It is proprietary freeware, and the source is not public. The official .deb may be redistributed if left unmodified with the copyright notice intact (/usr/share/doc/roamswitch/copyright). LLM integration in the bundled tools is off by default.