Contents
Traffic metering and limits
Windows nowhere shows permanently how much a program transfers — and offers no way of allotting it a speed or a data volume. FireQai can do both: it counts per program, throttles download and upload separately and, if you wish, sets a ceiling on the data volume — one-off, per day or per month.
8.1 Switching metering on
Traffic metering is off to begin with. Switch it on under Settings → Traffic metering with Measure data volume per program — it takes effect immediately. For this, FireQai loads the WinDivert driver component in the background (used under the GNU LGPL version 3; licence text and source code are included, see section 12.9); it is removed again when you switch metering off and when you exit. Filtering is unaffected: it works the same with or without metering.
If the driver file is not next to the program, the switch is disabled and the line below reads Unavailable; if the driver cannot be loaded, metering stays off and the line gives the cause.
The line below the switch tells you how many packets were seen and what share of them could be assigned to a program; next to it is the data volume that cannot be assigned — multicast and traffic from the system kernel, which belongs to no program. If packets were lost, the line says so too: metering is then incomplete. Below that is the total counted; Reset all counters sets all counters to zero.
8.2 Data volumes in the applications list
With metering running, the applications list shows two more columns. Data volume gives what the program has transferred in total, with the current throughput in green below it — split into received (↓) and sent (↑), in the same format as the limit next to it. The tooltip breaks the volume down into received and sent and says since when counting has been going on. The counters survive exiting FireQai. Limit shows what has been set for the program. How much each application transferred on which day, in which month or year is shown by the Overview under Data usage (chapter 6.6).
If you pause the Live view, this display rests as well: the totals stay put and the throughput reads zero. Metering continues — counters and limits carry on unchanged, it is simply not shown again until you resume. Counting does not depend on the Filtering switch: metering is a tool of its own and counts whether filtering is on or not. Limits, on the other hand, are only enforced while filtering is on (section 8.7).
8.3 Limiting the speed
- In the program’s row, click + Set limit — or, if something is already set, on the values shown.
- Use the Download and Upload sliders to set the maximum speed. The sliders move in steps from 25 kB/s to 1 GB/s; far left means unlimited.
- Click Apply. No limit resets everything to unlimited.
8.4 Limiting the data volume
The third slider, Data volume, sets a ceiling on how much may be transferred in total — from 50 MB to 1 TB. Without saying what the limit applies to, the number would mean nothing; that is why you choose the Period below it — selectable only once a data volume is set:
| Period | The volume starts again from zero … |
|---|---|
| One-off | … only when you reset the counter by hand. |
| Daily | … every night at midnight. |
| Monthly | … on the first of each month. |
Once the volume is used up, FireQai blocks the program — while filtering is on — until the period starts afresh or you reset the counter. The period rolls over even if FireQai keeps running through midnight or the turn of the month. Below the sliders, once something has been counted, it says how much has already been used — so while setting it you see that of five gigabytes perhaps four are already gone.
8.5 Schedule: when the limit applies
A limit applies around the clock by default. Under Schedule in the limit dialogue you decide that it applies only during certain time slots — say weekdays from 8 am to 4 pm while you work, or at night while the backup runs. Outside the slots the program is unrestricted: it is neither throttled nor blocked once its volume is used up. Counting still goes on around the clock, because the data volume still answers the question of what the program has used. Without a time slot the limit applies at all times, as before.
- In the limit dialogue, click Add time slot. The area for creating one opens below it.
- Choose the kind: Recurring for fixed weekdays, Calendar days for individual days from a month sheet, One-off for exactly one period from one point in time to another.
- Set the days and times and click Add. The time slot appears in the list; the small cross next to it removes it again. Up to twelve time slots per program are possible — it is enough for one of them to be running.
| Kind | When the time slot applies |
|---|---|
| Recurring | On the chosen weekdays between From and To. With Weekdays, Weekend and Every day you pick the days in one go. |
| Calendar days | On the days clicked in the calendar, each between From and To. A click on a weekday above the calendar selects all of them in this month; Repeat every week turns the selection into a recurring time slot with exactly those weekdays. |
| One-off | From one date and time to another. You type the date or pick it from the calendar next to the field (F4); a time slot that is already over is not accepted. |
The same time for From and To means the whole day. If To is earlier than From, the time slot runs past midnight — a slot Fr 22:00–06:00 runs until early Saturday and belongs to Friday. Times can be typed generously: 8, 8:30, 08.30 and 0830 are all read. If a time slot is still open in the area when you click Apply, FireQai takes it along — and if it is incomplete, stays in the dialogue and says what is missing. No limit also deletes the schedule: time slots with nothing for them to apply to would otherwise lie around invisibly.
8.6 The display in the row
In the Limit column, the allotted speed appears in green with a bar that shows how far it is being used right now. Below it follows, if set, the data volume — e.g. “7.86 GB of 20 GB · this month” — with an orange bar. Once the volume is used up, text and bar turn red.
If the limit has a schedule (section 8.5), the bottom of the cell holds a line with a clock in front: the first time slot, such as Mo–Fr · 08:00–16:00, with +2 after it if there are several — all of them are in the dialogue. While none is running, speed and data volume fade into the background and the line starts with paused · . They apply again as soon as the next time slot begins; counting goes on all the time.
The same cell also appears in the table of data usage (section 6.6): with the same values, the same click and the same dialogue, likewise only while metering is running.
8.7 Resetting counters
The quickest way to reset a single counter is the small arrow ↺ to the right of its data volume; it only appears where something has been counted. You get the same with Reset counter in the limit dialog or with Reset data counter in the context menu of the applications list, and all of them together under Settings → Traffic metering. FireQai asks every time and names the volume that will be lost. The applications stay in the list — what is reset is a counter, not a memory.
WinDivert64.sys, is included, unmodified. WinDivert is available under your choice of the GNU LGPL version 3 or the GNU GPL version 2; FireQai uses it under the LGPL version 3. The full licence text is in the program folder as WinDivert-LICENSE.txt, the complete source code as Lizenzen\WinDivert-2.2.2-source.zip — more on this in section 12.9.8.8 Protecting limits with a password
If others who use the same computer should not be able to change the limits, set a password under Settings → Password protection. As long as none is set, FireQai never asks for one.
- Click Set password ….
- Enter the password twice — it must be at least four characters long — and confirm with Set.
From then on, FireQai asks for the password for everything that changes a limit or would get around it:
- opening the limit dialog of an application,
- resetting counters as soon as a data volume is limited — individually or all together,
- switching traffic metering off while a limit is set,
- forgetting a limited application — even when metering is down, since FireQai’s memory is what is asked, not the row in the list,
- importing data while any limit is set — the import replaces limits and budgets, and with an older backup every limit would otherwise be lifted without a password (the imported limits take effect at once, not only after a restart),
- deleting, switching off or setting to Allow the block of an AI daily limit in the rules list — that lifts the limit and therefore sits behind the same password as releasing it in the AI tab; the same goes for allowing the application in the applications list and for Network rules… when such a block would fall with it,
- switching automatic start off or lengthening its delay while a limit is set,
- exiting FireQai via the notification area while limits are in effect — metering and filtering on, at least one limit set,
- switching off the AI module or one of its protective switches, removing an agent from supervision or extending its profile by targets or starts, having a confirmed agent relearn, changing or releasing an AI daily limit, accepting an open model service, switching on Count first, do not block for the prompt about local models (chapter 13),
- resetting FireQai to defaults (chapter 12.6).
After the correct entry — and likewise right after setting it — the protection stays open for five minutes so you can configure several applications in a row; every further protected action extends this period. During that time the settings show a notice with the Lock now button. As soon as you close or minimize the window, it locks again immediately — as it does with that button. After three wrong entries, FireQai waits 30 seconds before each further attempt.
Change password … and Remove password always require the current password, even while the protection is open. That way nobody who comes to the computer shortly after you can swap the password.
LimitPassword entry in %ProgramData%\FireQai\settings.json and start FireQai again. Because FireQai does not end properly in doing so, metering that was running stays off once at the next start and has to be switched on again.