Skip to content

Sessions and usage

Farava knows who is online from the router’s accounting reports, not by asking the router. When a subscriber connects the router sends a “start”, every few minutes an “update”, and when they disconnect a “stop”. If accounting is off on the router, the subscriber is connected but shows as Offline in the panel — see MikroTik setup.

Network → Sessions (the “Accounting and sessions” page) lists every session. Search by exact PPPoE username or filter by state.

State Meaning
Online The session is open and the router is reporting.
Stale The session was open but the router has not reported for a while. The subscriber may still be connected.
Incomplete Some reports did not arrive, for example the session’s first report. A wrong router clock does not cause this: it is shown on the router’s page and usage is still recorded.
Closed The session has ended.
Quarantined The reports do not agree and were set aside for investigation.

On the session’s row, select Disconnect, then Request disconnect. Only that session closes; the service stays active and the subscriber may reconnect. To stop them reconnecting, suspend the service.

A disconnect is a command sent to the router. See its result (succeeded, failed, pending) under Network delivery records.

End session (on an online, stale, or incomplete session) closes the session in Farava at once and asks the router to disconnect the customer. Add a reason; it is saved in the audit log. Use it when a customer cannot connect, for example after the router restarted and left a session stuck. The service stays active, so the customer can reconnect. Disconnect only asks the router; End session also closes the session in Farava.

Closing in Farava is immediate, but whether the router dropped the customer is only known afterwards. Open the session’s View details:

  • no warning — the router confirmed the disconnect;
  • The router has not confirmed the disconnect yet — the command is waiting or being retried; Farava keeps trying;
  • The router never confirmed the disconnect — it failed or could not be sent. The customer may still be online and the address may still be in use on the router, so it could be given to someone else. Disconnect them on the router.

A router that goes quiet does not free its customer’s address: it stays reserved until the customer reconnects or you end the session.

Closed sessions say how they ended:

Shown Meaning
Closed: the router stopped reporting Farava closed it after the router missed about three reports. A new report reopens it.
Closed: the router restarted The router announced a restart, so Farava closed its older sessions. The customer’s next sign-in gets the same address back.
Closed: the router was disabled Someone disabled the router in the panel, so Farava ended its open sessions. Nobody is disconnected from the router.
Ended by an operator Someone used End session.
Router: … The router’s own reason when it closed the session, for example “The user logged out” or “The link was lost”. It also appears in the session details as Router’s reason.

A report that arrives late for a session Farava already closed is added to that same session; it does not create a second one.

On the customer’s page:

  • the Sessions tab — current and past sessions across all their connections;
  • the Traffic tab — Usage history, a download and upload chart.
  • Group by Hour (one day), Day (30 days), or Month (12 months). Previous day / Previous 30 days / Previous 12 months and the matching Next buttons move through time.
  • Each bar splits into Counted and Not counted traffic. Hover over a bar, or tab to it, to read its details: Total and Download / Upload.
  • Show history as Chart or Table. Hide hours with no traffic (or days, or months) tidies a sparse range. Export CSV saves the numbers, in bytes: start, download, upload, total, counted, and not counted.
  • Where the range cuts through a session update, the page says Includes estimated traffic for that edge.
  • The billing period is marked on the chart (Current billing period or Selected billing period), with when it started and when it ends.

Hours, days, and months follow the ISP time zone and calendar in Regional preferences.

Real traffic is everything the router reported. Counted is what counts toward the data allowance. Traffic in hours made free or cheaper by fair use, and portal traffic while a subscriber has restricted access, is not counted.

Beside the chart, the Billing period card shows one period at a time (move to an Older billing period or Newer billing period):

  • Counted toward allowance, as a share of the quota (N% used), what is left (N left), Data used up, or Unlimited;
  • Real traffic and Not counted (free or reduced hours);
  • when it was Updated, and when it Resets, Ended, or Starts;
  • if it ended before its time, Ended early with the reason: plan changed, next period started, data used up, service cancelled, or ended by an operator.

If a few usage reports from the router are missing or late, the page shows an Incomplete data chip: “A few usage reports from the router are missing or late, so these totals may be slightly low.” Select Open RADIUS diagnostics to look into it. Don’t read a low or zero bar as low usage before checking this chip.

On the service page, Usage this period shows usage in the current paid period against the Data allowance: used, remaining, and percent. Usage here means counted traffic. When part of the traffic was free or reduced, the cell adds + N not counted (or + N free) and shows the Real traffic separately. For an unlimited plan it shows “Unmetered plan”.

On the same Sessions page, Usage totals shows each username’s total traffic and online time since the start. For period reports, see the Usage and Sessions reports under Reports.