💡 Official FAQ
Frequently Asked Questions (FAQ)
Questions and answers about RoamSwitch (Mac / Linux): overview, zero-telemetry design, autonomous defense, supported environments, and AI integration (MCP).
🍎 Overview & Core Concepts
Q1. What is RoamSwitch for Mac?
A zero-trust tool for macOS for automatic network defense and security diagnosis. It is designed around "Zero Telemetry": usage data and diagnostic results are never sent outside. It offers automatic pf switching according to the Wi-Fi, ransomware detection and Air-Gap isolation, prevention of LAN exposure of development servers, a 23-item comprehensive diagnosis, AI integration (MCP), and more.
Q2. What is the difference between the Free and Pro Lifetime editions?
Even the free edition offers automatic Wi-Fi detection, 3-level pf profile switching, automatic stop and restore of sharing services, a 23-item manual diagnosis, and more, with no time limit. The Pro lifetime edition (¥2,980 / $19.99, one-time purchase, free updates forever) adds automatic defenses such as ransomware detection and Air-Gap isolation, automatic blocking of port anomalies, a VPN tunnel and kill switch, and an unauthorized-USB guard, and can be used on 2 Macs.
Q3. How is RoamSwitch different from traditional antivirus or tools like Little Snitch?
While traditional antivirus software relies on passive scans for known malware signatures, RoamSwitch detects when the Wi-Fi network you are connected to changes and autonomously blocks ports and shared services. Unlike dialog-heavy interactive firewalls like Little Snitch, RoamSwitch provides zero-click autonomous defense once your trusted networks are configured, never interrupting your workflow with constant approval popups.
Q4. How is Zero Telemetry (a design that does not send usage data) guaranteed?
The app contains no code for analytics, external tracking, or telemetry. All outbound communication paths are published in the whitepaper, and with Wireshark or tcpdump you can verify that traffic uses only the published paths (license activation, update checks, receiving signed update data, and so on).
⚙️ Features & Specifications
Q5. What is automatic network security profile switching (firewall control)?
RoamSwitch identifies connected Wi-Fi networks by gateway BSSID/MAC address and SSID, automatically switching the macOS firewall, stealth mode and sharing-service settings among three profiles: Trusted (Home, etc.), Standard Protection (Office, tethering, etc.), or Maximum Lockdown (Public/Untrusted Wi-Fi). Unnecessary listening ports are instantly blocked the moment you open your Mac in a cafe or hotel.
Q6. How does ransomware detection and Air-Gap isolation work?
By monitoring decoy files placed in important folders (Desktop/Documents/Downloads, etc.) and via FSEvents, when it detects mass rewriting or a sudden spike in encryption entropy, it freezes that process (SIGSTOP). At the same time it cuts external communication with pf (Air-Gap) and emergency-stops sharing services to prevent the damage from spreading.
Q7. What is local dev server LAN exposure isolation?
It detects front-end development (Vite, Next.js, Webpack, and so on), API servers, and local AI servers (Ollama, LM Studio, and so on) bound to 0.0.0.0 and reachable by third parties on the same Wi-Fi, and automatically blocks their exposure on a public LAN (access from localhost is kept).
Q8. How does automatic sharing service control work?
Even if you have file sharing or screen sharing enabled on your home LAN, when you connect to an untrusted Wi-Fi it automatically pauses incoming SSH, SMB (file sharing), VNC (screen sharing), AirDrop, and so on. When you return to a trusted network, it restores them automatically.
Q9. What are the unauthorized USB storage guard and BadUSB keyboard guard?
When an unregistered USB storage device is connected, it is ejected automatically (or scanned read-only with ClamAV to confirm it is safe). For devices that type commands automatically, such as modified USB cables and BadUSB (Rubber Ducky and the like), it temporarily stops keystrokes and shows an approval dialog.
Q10. What are ARP spoofing detection and preventive gateway pinning?
It continuously watches for man-in-the-middle attacks in which a device on the same Wi-Fi poses as the router to eavesdrop on or tamper with traffic, and performs an emergency Air-Gap cut-off when one is detected. On untrusted Wi-Fi, it can also use "preventive ARP/NDP pinning", which pins the MAC addresses of the gateway and DNS server in the neighbor cache to stop attacks before they happen.
Q11. What are DNS threat protection and web/mail download protection?
It switches to a protective DNS (Quad9, Cloudflare, AdGuard, and so on) to block name resolution for C2 servers and phishing sites (on Wi-Fi away from home, the destination of DNS queries changes to that provider). Files downloaded through the browser or email and dangerous AI models (.pkl/.pt) are detected immediately with FSEvents and automatically scanned and quarantined with ClamAV.
Q12. What are Link Audit and passive Link Protection?
Before you open a link from email or chat, it checks short-URL expansion, redirect tracing, Unicode homograph spoofing, and domain reputation. Diagnostic results and the URLs you enter are never sent to the developer (short-URL expansion and redirect tracing send a HEAD request directly to the target URL to check it). There is also “Link Guard (/etc/hosts sinkhole method)”, which automatically blocks, on the device, connections to obvious phishing sites.
💻 System Requirements, Installation & Setup
Q13. Which macOS versions and CPU architectures are supported?
Only for Apple Silicon Macs (M1 / M2 / M3 / M4 and later) running macOS 13 Ventura or later. Intel Macs are not supported.
Q14. Why is RoamSwitch distributed via direct .dmg download instead of the Mac App Store?
RoamSwitch requires privileged daemon execution (SMAppService.daemon) and packet filter (pf) control, which cannot run under Mac App Store sandbox restrictions. The .dmg package is officially code-signed with Apple Developer certificates and notarized by Apple for full security and integrity, and is distributed at https://roamswitch.com.
Q15. What should I do if I see 'Helper connection failed' or 'Operation not permitted'?
Open System Settings → General → Login Items & Extensions, and turn on the RoamSwitch helper under “Allow in the Background”. Then quit the app once and relaunch it. Always keep the app in the /Applications folder.
Q16. When I enable the antivirus feature, RoamSwitch asks for access to my Desktop and Downloads folders. Is this a sign of malicious behavior?
No, it is not a dangerous operation. “Web & Email Protection” scans downloaded files on the spot, so it asks for access to the Desktop, Downloads and Documents folders through the standard macOS mechanism (TCC). All scanning happens inside the Mac, and file contents are never sent to any external server (Zero Telemetry). If you do not allow it, you can leave this feature off and still use other protections such as DNS threat protection.
Q17. Can I transfer my license to a new Mac or use it on multiple Macs?
A Pro perpetual license can be used on up to 2 of your own Macs per license. When moving to a new Mac, deactivate the license on the old Mac, or contact support via the official website.
How do I uninstall RoamSwitch? Could the network stay cut off after I remove it?
Use “🧰 Recovery and uninstall” → “🗑 Uninstall RoamSwitch…” in the menu bar (version 1.10.5 and later). Before removing anything, RoamSwitch undoes every change it made to the network (isolation, VPN kill switches, the gateway ARP lock, DNS, the link guard's hosts entries and so on), so the connection does not stay cut off. See the uninstall steps for the details.
🤖 Diagnostics, AI Integration (MCP) & Developer Tools
Q18. What does the 15-item Mac Security Health Audit check?
It checks 23 items, including FileVault, SIP, Gatekeeper, automatic updates and the macOS firewall, and turns them into a score. It also checks proxy auto-discovery (WPAD / PAC) and the permissions and location of AI agent credential files.
Q19. What is the bundled MCP server and which AI tools can connect to it?
It is an implementation of the Model Context Protocol (MCP) enabling AI assistants such as Claude Desktop, Claude Code, Cursor, OpenCode, and Google Antigravity to directly inspect your Mac's security posture score and audit findings.
Q20. Is there any risk of AI altering Mac system settings through MCP?
No. The bundled MCP server (RoamSwitchMCPServer) runs over local stdio only and has no tool that changes settings, defenses, ports or devices. Most tools are read-only; the only writes are three tools updating their own record files. Even if the AI is hit by prompt injection or similar, the firewall and settings cannot be rewritten from outside.
Q21. Can I query RoamSwitch diagnostic data from custom Swift apps or scripts?
Yes. We provide a Swift client SDK, “RoamSwitchKit” (open source, SPM supported). With a few lines of Swift code you can asynchronously get the diagnostic score, exposed ports, guard status and link safety.
Q22. My USB keyboard suddenly stopped working. Is it broken?
A. It is probably not a malfunction: the “Rogue USB / BadUSB Keyboard Guard” may have detected an unregistered keyboard and temporarily stopped its input. If you choose “Allow” in the approval dialog shown on connection, that keyboard can be used from then on (if you missed it, unplug and reconnect to show it again). With no activity for 3 minutes, input returns automatically. If it is not resolved, check the allow list under “USB / BadUSB Guard Settings…” in the menu.
Q23. What exactly is the difference between the protection levels (Trusted, Standard Protection, Maximum Lockdown)? Can I still use the internet during Lockdown?
A. Yes, you can. Communication you start yourself (outbound), such as web browsing, email and chat, is not restricted at any protection level. What differs is how much incoming traffic from outside (inbound) is allowed. 🟢 Trusted turns the firewall off and also allows sharing services (SSH/SMB/Screen Sharing) and AirDrop. 🟡 Standard Protection blocks probing from outside with the firewall and stealth mode, and keeps sharing services. 🔴 Maximum Lockdown blocks everything with the firewall and enables stealth mode, and also stops sharing services and AirDrop.
Q24. What happens if RoamSwitch development stops?
A. The release interval is not a condition. The conditions are an announcement that development or the business is ending, or 90 days without a response to a report or inquiry. In the case of no response, a notice is issued, and if there is no response within 30 days, the source code (Mac edition, root helper, Linux edition, Sensor, MCP server) is released under the Apache License 2.0 within 90 days of the notice, and a final release that works without the server is also issued. Already-activated copies keep working. Signing private keys and customer records are not published. See CONTINUITY.md for details.
Q25. Can the Mac and Linux client editions detect unauthorized access and intrusions?
Some work on the client, and some are server edition only.
What works on the client
Default-deny inbound, port scan detection, ransomware decoys, tamper monitoring (FIM) and so on. Reverse shell detection is notification only (on Mac, most are Pro).
SSH brute force
It blocks only when sshd is enabled; if there is none, it reads nothing.
FIM clues
Notifications attach SSH logins (on Mac it only lists the logins before and after, which is not evidence).
Server edition only
Process isolation when a reverse shell is detected. eBPF detection is not available on Mac.
What works on the client
Default-deny inbound, port scan detection, ransomware decoys, tamper monitoring (FIM) and so on. Reverse shell detection is notification only (on Mac, most are Pro).
SSH brute force
It blocks only when sshd is enabled; if there is none, it reads nothing.
FIM clues
Notifications attach SSH logins (on Mac it only lists the logins before and after, which is not evidence).
Server edition only
Process isolation when a reverse shell is detected. eBPF detection is not available on Mac.
Q26. Why is protection at "Balanced" when I am on a trusted network?
A. Because the device shows signs of compromise. For 6 hours after a serious detection (high or above), even a “Trusted” network runs under Standard Protection (Pro on Mac). Nothing is isolated or blocked. After you have investigated, restore it with “Confirmed” in the Mac menu, or
sudo roamswitch posture ack on Linux (it also returns automatically after 6 hours). To turn it off, set device_posture_trust_enabled in config.json to false on Linux, or switch it off in the menu on Mac.Q27. Can I accept SSH only from certain IP addresses?
A. Yes (off by default). On Mac (Pro), write the allowed IPs or ranges in “Limit SSH sources”; on the Linux server edition, in
ssh_allow_only_enabled and ssh_allow_only_sources (sudo roamswitch ssh-allow). Only new connections are refused; established sessions are not cut. It is not enabled if the list is empty or does not contain your current source. Via Tailscale, write 100.64.0.0/10. The Linux client edition does not have it.🐧 Overview & Core Concepts
Q1. What is RoamSwitch for Linux?
A free zero-trust network auto-defense and security diagnostic tool for Linux. Its hallmark is “Zero Telemetry”, which sends no data externally at all. It provides automatic nftables switching, ransomware isolation, a 31-item overall diagnostic, AI integration (MCP) and more in a single lightweight binary.
Q2. How does it differ from traditional Linux tools like ClamAV or Lynis?
Most software stops at malware detection or manual diagnostics. RoamSwitch specializes in protecting automatically: autonomous isolation (network cut-off) the moment something is detected, and real-time nftables switching according to the Wi-Fi network.
Q3. Is RoamSwitch for Linux open source (OSS)?
The core is proprietary (source code not public) free software (Community Edition). Surrounding SDKs and the MCP interface for AI integration are published as open source.
Q4. Since the core binary is closed source, how can users verify its safety?
Because users can verify it technically themselves. The developer, Lafine, publishes in a whitepaper specific ways to check packet captures and system behavior. You can confirm that no user or device information is sent externally (Zero Telemetry. The only default outbound traffic is a once-a-day update that just receives signed data).
⚙️ Features & Specifications
Q5. What does 'Zero Telemetry' mean in practice?
By default, it guarantees that zero security logs, system information, traffic history, or audit scores are ever sent to any remote server or cloud, including Lafine's own infrastructure (the only things sent are the notifications and forwarding that an operator has configured on the Server Edition, and LLM integration). All analysis and policy enforcement execute 100% locally on your Linux machine.
Q6. What is autonomous nftables profile switching?
RoamSwitch identifies the connected Wi-Fi network by its gateway MAC address and automatically applies tailored nftables rulesets for Home (Trusted), Office (Balanced), or Public Wi-Fi (Lockdown) environments without requiring manual iptables/nftables configuration.
Q7. How does the autonomous ransomware isolation feature operate?
When tampering with a decoy file is detected, it urgently cuts off all external communication (Air-Gap mode) and sharing services to prevent damage from spreading inside the LAN. When fanotify/inotify and Shannon entropy detect encryption activity, it immediately freezes that process with SIGSTOP and notifies you, and likewise urgently cuts off all external communication and sharing services.
Q8. How do the unauthorized USB and BadUSB guards work?
When an unapproved USB storage device is connected, it holds the mount via udev integration and shows a confirmation dialog (a ClamAV scan also runs). Against “BadUSB”, which poses as a keyboard and types malicious commands at high speed, it temporarily takes exclusive control of key input via evdev (EVIOCGRAB), shows an approval dialog, and stops the malicious input (it does not disconnect the physical port).
Q9. How do the VPN auto-tunnel and kill switch features operate?
On untrusted networks, it automatically connects to an encrypted tunnel of the WireGuard (.conf file) or Tailscale (Exit Node) you have configured. An nftables kill switch blocks plaintext packets from leaking outside the tunnel, and does not let plaintext through even if the tunnel drops (fail-closed, opt-in).
Q10. What is passive Link Guard (phishing connection blocking)?
It extracts the destination hostname of outbound connections locally from DNS queries, TLS SNI and HTTP Host, and warns about or blocks connections to phishing sites using a signed threat feed and brand homograph detection (it also works with DoH browsers). Destination URLs are never sent to an external server. Traffic to external servers (such as interact.sh) that diagnostic tools use to confirm whether an attack succeeded is not blocked; it only notifies.
💻 Operating Environment & Supported OS
Q11. Which Linux distributions are supported?
It supports the main distributions that use systemd and nftables, such as Ubuntu 22.04 / 24.04, Debian 12+, Fedora and Arch Linux.
Q12. How is RoamSwitch installed on Linux?
You can install it from the official repositories. For Ubuntu/Debian it is APT (lafine.net/apt), for Fedora/RHEL it is DNF (lafine.net/rpm), and for openSUSE it is zypper (lafine.net/rpm). On Arch Linux, you can install from the signed pacman repository (lafine.net/archlinux), the bundled PKGBUILD, or the signed tarball (lafine.net/linux/dl/).
Q13. Does RoamSwitch work on headless environments (CLI/CUI)?
Yes. On a desktop you operate it through the GTK GUI and tray icon, but even in environments without a display, every feature works with the combination of the background daemon, the CLI (roamswitch) and the MCP server.
Q14. Can RoamSwitch be deployed on Linux servers (VPS / data centers)?
The client edition (this tab) is for devices that move between networks, such as workstations and laptops. For cloud VPS and data-center servers, use the headless edition, “
roamswitch-server” (free, separate package). It has server-oriented features such as default-deny inbound, SSH lockout prevention and eBPF intrusion detection. See the “🖧 Linux Server Edition” tab for details.Q15. When was the Server Edition released? Is it free?
Yes. It is released, and like the client edition it is free (Community Edition, all features included, no license activation required). Install the
roamswitch-server package separately with APT / DNF / zypper / Arch (pacman).How do I uninstall RoamSwitch? Could the network stay cut off after I remove it?
Use “🧰 Recovery and uninstall” → “🗑 Uninstall RoamSwitch…” in the tray, the command
sudo roamswitch uninstall, or a package manager such as apt remove (version 1.10.7 and later). On every route, RoamSwitch undoes every change it made to the network (firewall tables, the gateway ARP lock, DNS and so on) before removing anything, so the connection does not stay cut off. See the uninstall steps for the details.🤖 Diagnostics & AI Integration (MCP)
Q16. What is verified in the 31-item Security Health Check (MCP Audit)?
It checks 31 items, including Secure Boot, LUKS disk encryption, LSM (AppArmor/SELinux), automatic security updates and SSH/sudo settings, and turns them into a score.
Q17. How can I inspect diagnostic results?
Besides the GTK GUI dashboard, running roamswitch status in a terminal shows the latest diagnostic results and security score as text at any time.
Q18. What is the bundled Model Context Protocol (MCP) server?
roamswitch-mcp is a standardized interface that allows AI agents such as ChatGPT, Claude, Cursor, and Antigravity to securely inspect your local Linux security posture without needing custom integration code.
Q19. What workflows are possible by integrating AI with RoamSwitch via MCP?
Just ask “What is my current security score?” or “Are there any problem settings or ports exposed externally?”, and the AI analyzes RoamSwitch’s local diagnostic data and presents an audit report and concrete steps to improve.
Q20. Is there any risk of AI tampering with Linux system configurations through MCP?
No. The bundled MCP server runs over fully local stdio and has no tool that changes settings, defenses, ports or devices. The only writes are three tools updating their own record files. Even if prompt injection makes the AI issue wrong instructions, the firewall and system settings cannot be rewritten from outside.
Q21. My USB keyboard suddenly stopped working. Is it broken?
A. It is probably not a malfunction: the “BadUSB Keyboard Guard” may have stopped input from a keyboard not on the allow list and shown an approval dialog. Choosing “Allow” registers it in the allow list and makes it usable. With no activity for 3 minutes, input returns automatically; if you cannot find the dialog, unplug and reconnect the keyboard to show it again.
Q22. What exactly is the difference between the protection levels (open, balanced, lockdown)? Can I still use the internet in lockdown mode?
A. Yes. Outbound communication (browsing, package updates, SSH connections and so on) is not restricted at any protection level. What differs is how much incoming traffic from outside nftables allows. open is for a home LAN and allows local communication, balanced is for the workplace or tethering and monitors suspicious ports, and lockdown is for public Wi-Fi and stealth-blocks all incoming traffic.
Q23. Can the Mac and Linux client editions detect unauthorized access and intrusions?
Some work on the client, and some are server edition only.
What works on the client
Default-deny inbound, port scan detection, ransomware decoys, tamper monitoring (FIM) and so on. Reverse shell detection is notification only (on Mac, most are Pro).
SSH brute force
It blocks only when sshd is enabled; if there is none, it reads nothing.
FIM clues
Notifications attach SSH logins (on Mac it only lists the logins before and after, which is not evidence).
Server edition only
Process isolation when a reverse shell is detected. eBPF detection is not available on Mac.
What works on the client
Default-deny inbound, port scan detection, ransomware decoys, tamper monitoring (FIM) and so on. Reverse shell detection is notification only (on Mac, most are Pro).
SSH brute force
It blocks only when sshd is enabled; if there is none, it reads nothing.
FIM clues
Notifications attach SSH logins (on Mac it only lists the logins before and after, which is not evidence).
Server edition only
Process isolation when a reverse shell is detected. eBPF detection is not available on Mac.
🖧 Overview & Pricing
Q1. What is RoamSwitch Server Edition?
A fully headless (zero GUI dependency) autonomous defense suite for cloud VPS, on-premises data centers and container hosts. The package is
roamswitch-server, a separate package and binary from the client edition (roamswitch). It provides default-deny inbound, SSH lockout prevention, eBPF intrusion detection and more in a single lightweight systemd daemon.Q2. What's the difference between the Client Edition (desktop) and the Server Edition?
The client edition is for mobile use, automatically switching among three profiles as the Wi-Fi (gateway MAC) changes. The server edition does not assume mobility; its basis is always-on default-deny inbound, and it focuses on threats to always-running servers, such as protecting the SSH management path, preventing container port exposure and eBPF intrusion detection. It has no GUI and is operated through the CLI (
roamswitch command), configuration files and MCP.Q3. How much does the Server Edition cost?
Like the client edition, the Community Edition is free, includes all features and needs no license activation. For organizations that want to manage multiple machines centrally, a paid RoamSwitch Business (fleet management, signed policy distribution, SLA support) is planned (not offered at present). The defense features themselves are included in the free edition.
Q4. Is Zero Telemetry (sending no information about you or your environment) maintained on the Server Edition too?
Yes. By default, communication content, connection history, diagnostic results and the like are never sent. The only default external communication is OS package updates and anonymous retrieval of signed data (kernel CVE data, KEV and so on) (HTTPS GET to lafine.net: daily, and weekly for the CVE data itself), which contains no host information. The latter can be stopped with
roamswitch server config set cve_kernel_map_updates_enabled false. Notifications and the like are opt-in only. This is verified at build time with audit_no_network.sh.⚙️ Installation & Initial Setup
Q5. Which Linux distributions are supported?
Ubuntu 22.04/24.04, Debian 12+, Fedora, RHEL, Rocky Linux, AlmaLinux, openSUSE, and Arch Linux (all require systemd + nftables). Both x86_64 and aarch64 (including AWS Graviton) are supported.
Q6. How do I install it?
Install it from the same official repositories as the client edition. Ubuntu/Debian:
sudo apt install roamswitch-server; Fedora/RHEL family: sudo dnf install roamswitch-server; openSUSE: sudo zypper install roamswitch-server. It is set to Conflicts with the client edition (roamswitch), so the two cannot be installed on the same host.Q7. What should I do first after installing it?
Start the interactive setup with
sudo roamswitch server setup. It asks in turn for the SSH admin port, maintenance source IPs, emergency notification targets (Telegram/LINE/Webhook), and the action for critical eBPF events (isolate/freeze/alert_only). At the end it sends a test notification and restarts the service.Q8. What do I need to do after editing the config file directly for it to take effect?
After editing
/etc/roamswitch/server.conf, run sudo roamswitch server restart. roamswitch-server.service does not support reloading with systemctl reload (only restart).Q9. What is guard.yaml? Is it required?
Optional. In
/etc/roamswitch/guard.yaml you can set, for each Falco/Tetragon severity (warning/error/critical/emergency), the containment (notify only / process isolation / full host block) and the safety timer. If the file is absent, the same policy is built from action_on_critical in server.conf. The template is /etc/roamswitch/guard.yaml.example.🔥 Firewall & SSH Lockout Prevention
Q10. What does "inbound Default Drop" mean?
A setting that rejects, from right after installation, all inbound traffic to any port other than those allowed in
allowed_ports (default 80,443). It prevents unintended exposure of admin and debug ports. Ports are TCP only; UDP is allowed with allowed_udp_ports. The default is empty, so no UDP is accepted other than replies to established traffic.Q11. Could a misconfiguration lock me out over SSH?
There are four layers of protection: (1) established (ESTABLISHED/RELATED) connections are always kept; (2)
ssh_ports (default 22) is allowed unconditionally; (3) even during emergency isolation (Air-Gap), the administrator's SSH is kept by preserve_ssh_on_isolation=true (default); (4) on a configuration error or an nftables load failure, the previous rules are restored automatically. Server versions 1.10.4 and earlier had a bug where the administrator's SSH did not get through during isolation; it was fixed in 1.10.5.Q12. Are Docker/Podman container ports protected too?
Yes. With
-p, Docker creates its own iptables rules and may publish ports bypassing the host firewall. With protect_docker_ports=true (default), inspection rules are inserted into the DOCKER-USER chain, and allowed_ports / whitelist_ips also apply to traffic destined for containers. This is a second layer: even with false, the default-deny firewall still drops published ports from outside. To use a port from outside, add the host-side port to allowed_ports (allowed_udp_ports for UDP) and run sudo roamswitch server restart.Q13. What if I accidentally lock myself out?
Log in from the cloud provider's management console (VNC/serial console) and either run
sudo roamswitch emergency-restore to return emergency isolation and the firewall to the initial baseline, or stop the service with sudo systemctl stop roamswitch-server.⚡ Threat Detection & Autonomous Response
Q14. What is the eBPF Runtime Guard? What's the difference between Falco and Tetragon?
It works with kernel-based eBPF sensors to detect reverse shells, privilege escalation, container escapes and the like in real time. The default sensor is Falco (JSONL over a UNIX domain socket); with
sensor.type: tetragon in guard.yaml you can switch to Cilium Tetragon (native gRPC, the same UNIX socket). Neither adds a listening port.Q15. What actually happens when a critical threat is detected?
According to
action_on_critical (or guard.yaml), one of isolate (isolation), freeze (freeze with SIGSTOP and isolate), or alert_only (notify only) runs automatically. With kill_process: true, SIGKILL is also sent. Core daemons such as init and container runtimes are exempt from freezing and forced termination.Q16. What is the safety timer?
The grace period after an emergency isolation of the whole host (Air-Gap) until the administrator responds with
sudo roamswitch server ack (safety_timer_secs in guard.yaml, default 300 seconds). If no response comes in time, the isolation is lifted automatically, which prevents a false positive from leaving the server cut off.Q17. How does critical-path FIM (file tampering monitoring) actually work?
It monitors the SHA-256 of critical binaries, authentication settings and systemd units. It catches the completion of a write with
fanotify (FAN_CLASS_NOTIF) and detects tampering at that moment (periodic scans are a backup). Files moved in from another folder with mv are also detected. On a package update, a DPkg::Post-Invoke hook or a systemd.path unit takes only the files of the updated packages into the baseline, along with system accounts (UID and GID below 1000, no login) that a package added during an apt or pacman update; any other change is not taken in and is reported.Q18. What are the ransomware canaries?
It periodically inspects decoy files placed in web roots (such as
/var/www, /srv). When it finds rewriting or encryption, it freezes and isolates the process that accessed them and sends an emergency notification to the administrator.Q19. What are egress blocking and the DNS sinkhole?
Two things: stopping outbound traffic to known malicious IPs with
nftables (egress_ip_blocklist_enabled, default true), and a DNS sinkhole that blocks resolution of malicious domains via filtering DNS (Quad9/Cloudflare/AdGuard/CleanBrowsing) (dns_sinkhole_enabled, default false so as not to break internal DNS). The bundled seed is only the three entries published by JPCERT/CC.📢 Notifications, Operations & Diagnostics
Q20. Which channels are supported for emergency alerts?
Telegram Bot, LINE Messaging API and generic Webhooks (Slack / Discord / Microsoft Teams, etc.) are supported. Serious events such as unauthorized port exposure, FIM tampering, eBPF threat detection and emergency isolation are sent immediately. You can check the settings with
roamswitch server test-notify.Q21. My Telegram test notification says "chat not found" — what's wrong?
In most cases, the supergroup's chat ID is missing its required
-100 prefix (e.g. -1001234567890). Check the correct value in the "chat":{"id":...} field of the response from curl -s "https://api.telegram.org/bot<token>/getUpdates".Q22. What does the "42-item security audit" check?
roamswitch status --server audits 42 items based on the CIS Benchmark in one pass and outputs a score of 0–100 and a grade (S–C). It checks the firewall, Frag Gap mitigation (disabling unprivileged User Namespaces), Yama LSM, permissions of important files, Docker exposure, web server security headers and cookies, and so on. SPF, DMARC, MTA-STS and expiry dates are optional items, checked only when you write the domain in the settings. 42 is the number of fixed items; depending on the host, items such as whether each protection is actually working are added. Items that do not apply are left out of the score.Q23. Could an AI change my firewall settings through the MCP server without my knowledge?
No. The bundled
roamswitch-mcp has no tool that changes settings, defenses, ports or devices. It writes only when three tools update their own record files. Even if a log contains a malicious prompt injection, the AI cannot open the firewall or lift an isolation. Changing a policy or releasing a freeze requires running a command on a local TTY (SSH terminal).🏢 Licensing & What's Next
Q24. What does the paid RoamSwitch Business tier add?
These are planned features and are not available today. The design envisions fleet management (enrolling multiple servers with an Ed25519-signed organization token and aggregating protection level, health score and policy status), signed policy distribution (pushing trusted networks and each guard's enforced values as signed JSON), a private APT/RPM repository signed with an organization-specific GPG key, and contract-based SLA support. No management server or fleet-management feature exists today. The endpoint defense itself is included in the free edition and is not to be reduced in Business.
Q25. Are there plans to support container orchestration platforms like Kubernetes?
At present the target is standalone Docker/Podman hosts. Policy distribution and auditing for entire Kubernetes clusters is under consideration as a future extension of fleet management for Business. Please send requests to the support desk.
Q26. Can RoamSwitch Server detect unauthorized access and intrusions in real time?
Yes. However, what it can see is limited.
What it detects, and stops or reports
• For SSH brute force, a source that reaches the threshold (default 6 attempts in 600 seconds) is blocked in about 0.2 seconds. Authenticated sessions are not cut.
• Falco / Tetragon detect reverse shells, privilege escalation and container escapes, and everything from isolation to Air-Gap runs automatically (42 to 64 milliseconds from detection to response). RoamSwitch also looks for reverse shells every 2 seconds (about 2.4 seconds).
• FIM detects rewriting immediately and attaches the account that made the change and the SSH login. It also detects canaries, port scans, DNS tunneling and more.
Notifications
Nothing goes out unless the operator has set a notification target (off by default).
Limits
• Falco 0.45.0's standard rules (29) have no detection of reverse shells on the host; RoamSwitch fills this in itself, but cannot cover everything.
• FIM does not show the entry point of an intrusion.
• It is less effective against attacks that try once each from many IPs. If fail2ban or CrowdSec is present, it leaves blocking to them. Also use key authentication and an allowlist.
What it detects, and stops or reports
• For SSH brute force, a source that reaches the threshold (default 6 attempts in 600 seconds) is blocked in about 0.2 seconds. Authenticated sessions are not cut.
• Falco / Tetragon detect reverse shells, privilege escalation and container escapes, and everything from isolation to Air-Gap runs automatically (42 to 64 milliseconds from detection to response). RoamSwitch also looks for reverse shells every 2 seconds (about 2.4 seconds).
• FIM detects rewriting immediately and attaches the account that made the change and the SSH login. It also detects canaries, port scans, DNS tunneling and more.
Notifications
Nothing goes out unless the operator has set a notification target (off by default).
Limits
• Falco 0.45.0's standard rules (29) have no detection of reverse shells on the host; RoamSwitch fills this in itself, but cannot cover everything.
• FIM does not show the entry point of an intrusion.
• It is less effective against attacks that try once each from many IPs. If fail2ban or CrowdSec is present, it leaves blocking to them. Also use key authentication and an allowlist.
No matching questions were found. Please try a different keyword.