Contents
Emergency, diagnostics and maintenance
12.1 The emergency exit
If you have locked yourself out with a rule, Remove all filters now under Settings → Emergency exit, after a confirmation, removes all of FireQai’s filters and switches filtering off — including permanently stored ones that would otherwise work even without the program running. “Internet Stop” (section 2.3) is released as well: whoever pulls the emergency exit wants to get back online, whatever the reason it is gone. If releasing fails, filtering is switched off anyway, and the error is reported afterwards. The computer is then protected only by the Windows Firewall. Your rules stay saved and take effect again as soon as you switch filtering back on; until then it stays off, even after a restart.
If the window cannot be opened for some reason, it also works without the interface — in a command prompt running as administrator:
FireQai.exe --panic
The command also works while FireQai is running: it ends it first — by the same signal the installer uses, forcibly after 15 seconds —, because the filters and the “Internet Stop” block belong to the running program’s session and cannot be released from outside. It then removes the filters, switches filtering off and also resets “Internet Stop”, so that the next start does not set the block up again at once. At the end a window shows how many filters were removed, and filtering is switched off in the settings.
12.2 Automatic rollback
Every time filtering is switched on — and at program start with filtering enabled — FireQai checks every five seconds for 90 seconds whether the computer stays online. If it loses the connection, FireQai switches filtering off again by itself and says so. Usually the baseline rule set is then not letting through something this computer needs to run on the network. Look under Overview to see what was blocked shortly before the outage — it shows which rule is missing.
Two things are checked: whether the computer still has a valid address and a route to the network — and whether, according to Windows, the internet is actually reachable. The second case is treacherous: the line is up, but nothing reaches its destination because a check needed for the connection is being blocked. Windows reads this as “no internet”, and some Wi-Fi drivers then drop the connection and re-establish it, over and over. The baseline rule set therefore includes the Windows connectivity check, which keeps exactly this path open; if the loss nevertheless persists for about 30 seconds, FireQai rolls filtering back. Wi-Fi disconnecting and reconnecting does not interrupt this count. A connection that is up but no longer has a valid address or default route likewise triggers it after 30 seconds. If the network was already unusable before switching on, the rollback does not apply.
A disconnected connection, on the other hand, does not roll filtering back: if you pull the network cable during these 90 seconds, the Wi-Fi drops out or you switch the adapter off, that is not down to filtering. It stays on, and Events only shows a quiet note. Nor does a connection count that had no address when filtering was switched on — a cable straight to a device without address assignment, for example.
12.3 Diagnostics
Run self-test checks the connection to the Windows Filtering Platform step by step and removes its test filters again afterwards — that is the first step when the status line reports Filter engine unreachable. The report appears in a window — as a warning if a step failed — and FireQai then re-applies the rules; the report is in German only. Filtering in progress is left untouched: the test shares the program’s session and only clears away what it created itself. Open data folder and Log folder take you to FireQai’s files.
FireQai.exe --selftest, FireQai writes the report to the file fireqai-selftest.txt next to the program file (elsewhere: --out <path>); a window appears only if writing fails. If FireQai is already running at the time, the two filter steps fail: if filtering only runs while FireQai runs, the sublayer and provider belong to that session, and a second one may not set filters for them. The report says so — the route via Run self-test does not have this problem.
12.4 The event log
Besides the connection log (chapter 6) and the warning log (chapter 13), FireQai keeps a third: the Events tab records what FireQai itself did and what went wrong along the way — from a prompt that expired unanswered to a driver that failed to load. The newest entries are at the top. It is meant for the question “why didn’t that work just now?”: a prompt nobody answers blocks the program for a quarter of an hour — here it appears with the program, the time and the end of the block. Much of this used to be only a balloon; if you missed it, no trace was left. The tab has two sub-tabs: Program is what FireQai itself did — this section describes it up to the end of “What is kept” —, and Communication is who the computer talked to on the internet (section “The communication log” further down). Not recorded here are the individual connections of the moment including the home network (the Overview shows those) and the programs agents start (the warning log shows those).
Every entry carries a level and an area. The level always appears as a word in the row as well — colour alone would not carry for people with red-green colour blindness.
| Level | Meaning |
|---|---|
| Info | Ordinary events: FireQai started or exited, a rule created, filtering switched on. |
| Notice | Worth a look but demands nothing: filtering switched off, password protection removed, an orphaned rule removed, an agent added. |
| Warning | Needs attention: a prompt that expired unanswered and blocked, a suspended rule, a wrong password, a daily limit that was reached, a model service that is reachable from the network. |
| Error | Protection itself is affected: the filter engine not ready, filtering rolled back, the metering driver not loaded, limits could not be enforced, a file could not be saved, no valid licence. |
The areas are Program, Filtering, Rules, Prompts, AI module, Local tools, Metering, Licence, Password protection and Maintenance.
Using it
- At the top, the five buttons filter by level, each with its number of entries; next to them the list All areas picks an area, and the search covers the sentence, the area and the details — which hold paths and rule names.
- A click on a row shows the whole sentence below, and everything that does not fit: paths, affected rules, the wording of an error. The text can be selected and copied.
- Copy puts everything the list currently shows on the clipboard as text — filters and search apply, and the version comes first. That is the way to pass a log on when someone else should take a look. Copy single rows by selecting them and pressing Ctrl+C, or via the right mouse button (Copy selected entries).
- Export… saves the same as a text file — filters and search apply, the version comes first — for attaching to a bug report, for example.
- If the same entry repeats within a minute, it appears once, with a counter such as ×20 — a safety brake that triggers twenty times is one event, not a wall of rows.
- Clear list deletes ALL entries after a confirmation, including the older ones; this cannot be undone.
The badge on the tab counts the new warnings and errors since you last looked: yellow, red as soon as one of them is an error, and 99+ from 99 on. Its tooltip gives the number. As soon as you open the tab, everything counts as seen and the badge disappears — provided the Program sub-tab is in front; in the communication log the program log does not count as seen. What arrives while you are looking at the list does not count.
ereignisse.jsonl in the data folder (section 12.5) and survive restarts. Above 1 MB FireQai sets the older half aside as ereignisse.alt.jsonl; the list shows the most recent 2000 entries. What is stored are keys and values, not finished sentences — after switching language, the old entries appear in the new one as well. The factory reset deletes both files; they are not part of the backup (section 9.4). The technical crash log absturz.log remains alongside: what lands there also appears here as a readable entry, with the path to the file.The communication log
The Communication sub-tab answers a question the connection log does not: Who has this computer talked to on the internet? The connection log (chapter 6.5) writes everything the filter platform reports — on an ordinary computer about nine of ten lines come from the home network and the computer itself: name resolution at the router, device discovery, broadcasts. Here is only what concerns the internet: every connection, outgoing and incoming, allowed and blocked. Not listed are the computer itself, the home network (10.x, 172.16–31.x, 192.168.x, link-local addresses), the provider NAT range 100.64.x — and thus also VPN networks such as Tailscale — as well as broadcasts and group addresses. Unlike the activity in the Overview, the list is permanent: it also shows what happened yesterday.
Per row: time, decision, direction, program (below it the principal or the folder, to tell programs of the same name apart), remote host (the host name, below it the address), port including protocol and, for repetitions, the count. Green and red in the decision stand only for what FireQai itself decided; anything else stays grey (section 6.1). The port is that of the service: outgoing the destination’s, incoming the one on this computer. The same connection in quick succession — same program, direction, result, remote host and port — appears as one entry with a counter such as ×40; the tooltip names when it first and last occurred. An entry stays open as long as the pause stays under a minute, but for ten minutes at most.
- At the top, the buttons All, Outgoing, Incoming and Blocked filter — each with its number of entries; the search covers program, principal, remote host, address, rule and port. Right-click a row and Show on route map shows the path to the remote host on the route map (chapter 14.2).
- The list shows at most the newest 5000 matching entries; a line beneath says how many there are. Search and filters narrow it down. FireQai keeps 20,000 entries in memory.
- Export… saves everything that matches filter and search — including what the list does not show because of its cap — as a CSV file for Excel or LibreOffice: oldest entry first, with a marker for umlauts and the Windows list separator. The columns also give path, principal, host name, address and rule.
- Copy single rows by selecting them and pressing Ctrl+C or via the right mouse button; Esc clears the selection. Clear list deletes ALL entries after a confirmation, including older ones; this cannot be undone — the program log records that it happened and how many there were.
kommunikation.jsonl in the data folder (section 12.5); above 8 MB the older half is set aside as kommunikation.alt.jsonl. Unlike the connection log, FireQai does not clear it out by age — it empties only when you clear it or reset to defaults. It is not part of the backup (section 9.4).12.5 Where FireQai stores its data
Everything FireQai remembers is stored under %ProgramData%\FireQai and applies to the whole computer. The folder belongs to the system and the administrators; ordinary users may read in it but neither create nor change anything — otherwise any program of a standard user could leave files there before FireQai writes them. FireQai runs with administrator rights anyway.
| File | Content |
|---|---|
rules.json | The rule set — the rules for the network. |
settings.json | The settings. |
applications.json | The known applications including data counters and limits. |
traffic-history.json | The data usage per application, day by day and month by month (chapter 6.6). Single days are kept up to 400 days with data, months permanently. |
ai.json | What the AI module has observed: confirmed agents, learned destinations and starts, usage counters. |
local-rules.json | Your decisions about local program starts — Allow and Block per agent and tool (chapter 13.8). Deleting it withdraws them all. |
watch-catalog.json | The warning catalog. |
warn-log.json | The warning log of reported local starts. |
ereignisse.jsonl | The event log — what FireQai itself did and what went wrong along the way, one line per entry (section 12.4). Above 1 MB the older half is set aside as ereignisse.alt.jsonl. Unlike the connection logs, log clean-up does not remove it: it is precisely the old “why was that blocked?” entry that is looked for later. |
kommunikation.jsonl | The communication log — every connection with the internet, one line per state of an entry (section 12.4). Above 8 MB the older half is set aside as kommunikation.alt.jsonl. Log clean-up leaves it in place. |
program-notes.json | Your own entries in the app and service catalog. |
suspended.json | The processes currently paused. If FireQai crashes while a tool is paused, the next start resumes it from this list — otherwise it would stay frozen forever. Empty in normal operation. |
baseline-hosts.json | The last seen addresses of the host names in the baseline rule set. With them, the rule for the Windows internet check applies right at boot, before the network is up. |
logs\ | The connection log, one file per day — verbindungen-YYYY-MM-DD.jsonl (chapter 6.5). |
absturz.log | The crash log: exceptions FireQai failed on or carried on past, with call stack and how long Windows had been running — plus notes on repeated sign-in starts. Above 1 MB it is set aside once as absturz.alt.log. Log clean-up leaves it in place. Without write access it goes to the temp folder as FireQai-absturz.log. |
backups\ | The backups that the factory reset makes beforehand (section 12.6) — one folder per run. The reset itself leaves them in place; delete them by hand once you no longer need them. Uninstalling deletes them too (section 12.8). |
12.6 Factory reset
Resetting individually
Often not everything is meant, only the rules that have piled up. For that, Settings → Factory reset first offers two smaller buttons. Both ask first, back up beforehand exactly like the full reset and need no restart; settings, password, catalogs and everything else stay.
| Button | What is deleted | Afterwards |
|---|---|---|
| Network rules… | All network rules except the baseline rule set: your answers to questions, learned rules and rules created by hand. The baseline rule set stays as you chose it, including your own baseline rules, and is completed. | FireQai asks about connections again. |
| Local rules… | All Allow and Block decisions about tools started by agents (chapter 13.8). | The warning catalog applies again: whatever is set to Hold is paused and asked about again. |
The backup goes into its own folder reset-netz-… or reset-lokal-… under %ProgramData%\FireQai\backups\; you can restore it via Backup and transfer → Import….
Back to the start
If you want to start over with FireQai — after a long period of trying things out, say, or before passing the computer on —, Reset everything… under Settings → Factory reset returns every function to its state after installation. Unlike the emergency exit, which only removes the filters and leaves everything else in place, the factory reset takes everything.
| What | Scope |
|---|---|
| Deleted | The rules for the network and your decisions about local starts, the AI data, the recognised applications with their limits and counters, the data usage, your own app and service catalog, the warning catalog, the warning log, the event log and the connection logs. The baseline rule set is created afresh on restart. |
| Back to default | All settings. The password of the password protection is removed. |
| Removed from Windows | All filters, the rules FireQai created in the Windows Firewall (group “FireQai”), the service entry of the traffic metering driver and the task for automatic startup. |
| Kept | Language, theme, licence and your acceptance of the terms of use — none of these is a function. Likewise filtering platform monitoring (section 9.3): it is a Windows setting, and FireQai needs it again after the restart anyway. |
The sequence:
- A confirmation tells you what will be lost. Read it — confirming means: everything listed above.
- If a password is set, FireQai asks for it — always, even if the protection is currently open. After all, the reset removes the password itself.
- FireQai backs up everything into a new folder under
%ProgramData%\FireQai\backups\: the collected data asfireqai-daten.fireqaiand the settings assettings.json. If the backup fails, nothing is reset. - FireQai shuts down properly — paused tools carry on running, the traffic metering driver is unloaded —, only then removes the filters and its traces in Windows, empties the data folder and restarts.
- After the restart, FireQai tells you where the backup is — and anything that could not be removed; if filters were left behind, the message points to the emergency exit. If FireQai cannot restart by itself, a notice asks you to start it by hand. The Events tab afterwards holds an entry about the reset — a warning if anything was left behind; the details say where the backup is.
fireqai-daten.fireqai via Backup and transfer → Import… (section 9.4) — rules, catalogs, AI data, applications, data usage, local decisions and the warning log are then back. The settings are not part of this import; in the accompanying settings.json you can look up how they were and set them again by hand. The connection logs and the rules in the Windows Firewall are not backed up — the confirmation says so explicitly.12.7 About FireQai
About FireQai — at the very bottom of Settings via Show, in the notification area menu as About FireQai…, or by clicking the crest in the title bar or in the header — gives the version, the vendor with contact details, the legal notices and the third-party components used; Open licence notices opens the overview of all licences (section 12.9). The version is helpful for support enquiries.
12.8 Updating and uninstalling
The setup does both. Start it again: if it brings a newer version, it offers Update — rules and settings are kept; if the same or a newer version is installed, Uninstall remains. In both cases it first closes a FireQai that is still running, after asking — and does so properly, just like Exit in the notification area: the counters are saved, and the traffic metering driver is unloaded before the setup replaces or deletes its file.
When uninstalling, the setup proceeds in this order:
- It closes a FireQai that is still running, after asking, and makes sure the traffic metering driver has been unloaded.
- It removes all filters and the rules FireQai created in the Windows Firewall — while the program is still there. The other way round would leave behind a computer that keeps filtering, with no program that could ever lift the block.
- If that fails, the setup asks whether to continue anyway — filters could then be left behind in the system.
- It deletes the program, Start menu entry, autostart task and the entire data folder
%ProgramData%\FireQai— including the backups inbackups\. If you want to keep them, copy them away first.
12.9 Licences and third-party components
FireQai is software by LocomeoSoft. Its use is governed by the licence terms and the general terms and conditions of LocomeoSoft; section 1.7 explains how FireQai checks its licence file. In addition, FireQai contains or uses a few third-party components. Their own licences apply to them, and the terms of FireQai do not restrict the rights these licences give you. An overview is in the file THIRD-PARTY-NOTICES.txt next to the program file; in the About FireQai window, you open it with Open licence notices.
| Component | Used for | Licence | In the program folder |
|---|---|---|---|
| WinDivert 2.2.2 © Basil (basil00) | Driver of the optional traffic metering (chapter 8) | GNU LGPL version 3 — alternatively GNU GPL version 2; FireQai uses the LGPL | WinDivert64.sys, unmodified; licence text WinDivert-LICENSE.txt; source code Lizenzen\WinDivert-2.2.2-source.zip |
| Microsoft .NET with WPF, System.Management and System.CodeDom © .NET Foundation and Contributors | Runtime that FireQai ships with; reading the Windows services | MIT | folder Lizenzen: Microsoft.NETCore.App-LICENSE.txt, Microsoft.NETCore.App-THIRD-PARTY-NOTICES.txt, Microsoft.WindowsDesktop.App-LICENSE.txt |
| Windows SDK projection © Microsoft | Display names of Store apps | Licence terms of the Windows SDK | Microsoft.Windows.SDK.NET.dll, WinRT.Runtime.dll |
| DB-IP “IP to City Lite” IP Geolocation by DB-IP (db-ip.com) | Locations on the route map (chapter 14) | Creative Commons Attribution 4.0 (CC BY 4.0); DB-IP sources part of the data from GeoNames (geonames.org, Creative Commons Attribution) | Standort\dbip-city-lite.mmdb, unmodified; notice Standort\DB-IP-LICENSE.txt |
| Natural Earth | World map of the route map | public domain | built into the program |
| Team Cymru “IP to ASN” | Operator, network and country of a hop on the route map — only when switched on, off by default | Service, queried via DNS | — (nothing included) |
| .NET Reactor Licensing Eziriz | Checking the licence file (section 1.7) | commercial component | License.dll |
The icons come from the Windows system font Segoe Fluent Icons; it is not included. Everything else consists of interfaces of Windows itself — the Windows Filtering Platform, the security log and the Windows Firewall interface.
WinDivert64.sys from the official 2.2.2 build is included, unmodified and countersigned by Microsoft. FireQai talks to the driver through its device interface; the WinDivert.dll library is not part of the distribution. The complete source code of exactly this version is in Lizenzen\WinDivert-2.2.2-source.zip — the same state the project publishes as version 2.2.2 at github.com/basil00/WinDivert. FireQai loads the driver from the file next to the program file. You may replace it with a modified version with the same interface (although Windows only loads signed drivers), modify WinDivert and reverse-engineer FireQai to debug such modifications — as required by the GNU LGPL version 3, section 4. LocomeoSoft accepts no warranty and provides no support for WinDivert itself. As long as traffic metering is off, FireQai does not load the driver.