Security and privacy

  • Secrets are encrypted. On Windows, the firewall API key and secret, SMTP password, DNS tokens and webhook / ntfy URLs are stored encrypted with DPAPI, readable only by your Windows account. On Linux the config file is created with mode 0600 in a 0700 folder.
  • HTTPS by default. Firewall and DNS connections must use HTTPS unless you explicitly allow plain HTTP for that connection (opnsense.allow_http, dns.allow_http). Certificates are verified unless you turn that off.
  • Secrets stay out of logs. Tokens, keys and notification URLs are masked in errors, the activity log and the diagnostic dump-* commands.
  • Read-only unless you say otherwise. IPS Watch only reads from the firewall and DNS servers. The exceptions are explicit: blocking IPs in the block alias, the Drop policy, and the ips-rulesets and dns-blocklists commands. Each change command does a dry run first and needs confirmation (--yes on the CLI).
  • Least privilege. Give the API user only the pages listed in OPNsense setup.
  • Syslog is treated as untrusted. Only the firewall’s addresses (or the senders you list) are accepted, intake is bounded, and syslog-only alerts never trigger auto-block.
  • Blocking has guard rails. Internal, private and reserved addresses and the never-block list are never blocked; auto-block only acts on sources the firewall API reported, and a block counts only once the firewall confirms it.
  • Text from the network is cleaned. Device names (DHCP, ARP), DNS client names, signatures and CrowdSec reasons are chosen by whoever sends them. Before IPS Watch stores or shows them it turns control characters into spaces (a line break could fake a row), removes invisible direction and formatting marks (which can make one name read as another), and cuts them to 8,192 characters.
  • Hardened executables. Built with Control Flow Guard, and linked so the Windows DLLs they use load from System32 only, never from the folder they run in. Each release lists the SHA-256 of every file; the CI workflows run with read-only access and their actions are pinned to exact commits.
  • No telemetry. IPS Watch talks only to your firewall, your DNS servers and the notification services you configure. The one exception is Who owns it? on the host page: only when you click it, the one public address shown is sent to rdap.org (which passes the question to the internet registry holding the address) and its name is asked of your own DNS resolver. Private and reserved addresses are never sent.

Found a security problem? Please open a private security advisory on GitHub rather than a public issue.


Back to top

IPS Watch documentation. Screenshots use made-up demo data.