Flow: setup and mitigation
How to get the anti-DDoS running: register the routers that send flow (manually or with AI), define the networks Flow protects, calibrate detection, and set up mitigation via FlowSpec and RTBH, including 1-click approval from your phone.
The configuration tabs New in 7.2
All of Flow's configuration lives in one place: inside the Flow environment, click the Settings gear to open the Flow settings screen. In 7.2 it was redesigned into 9 guided tabs: the operator does not need to know NetFlow or BGP to enable the anti-DDoS.
| Tab | What it does |
|---|---|
| Exporters | Register the routers that send flow, manually or with AI (sections Register exporter and AI setup). |
| My networks | The provider's IP blocks that Flow watches as potential victims (section My networks). |
| Transit cost | Classify ASNs (transit, peering, CDN, cache) for the cost lens and peering recommendations (section Transit cost and peering). |
| Detection | Attack rules, baseline, sensitivity, simulator, and response playbook (section Detection and sensitivity). |
| Mitigation | Auto-mitigation, protected networks, blocking routers, FlowSpec templates, communities, and announcement groups (sections Mitigation onward). |
| BGP table | Route collection (route enrichment), optional (section BGP session). |
| Explore | Explorer sampling, storage backend (MariaDB or ClickHouse), city-level GeoIP, and offline map. Using the Explorer is covered in Traffic Explorer. |
| Alerts | Channels (Telegram, WhatsApp, email), minimum severity, severity by impact, approval link, and silence windows. |
| Server capacity | Reading of the server's real resources and the state of heavy features (section Server capacity). |
Prerequisites
- Premium Flow / Gold Flow / Enterprise Flow is unlocked according to the subscription plan, with an exporter limit: Premium Flow allows 1 exporter, Gold Flow up to 4, and Enterprise is unlimited. The limit only blocks adding a new exporter; editing existing ones always works. The Flow button in the menu is always visible: with no eligible plan, clicking it offers to migrate to or trial a higher plan.
- The user needs the Flow permission in their access group (see Group access). The settings gear only appears for those with a management level.
- The exporters must reach the collector on UDP ports
2055,4739,9995,9996(NetFlow/IPFIX) and6343(sFlow).
When you save an active exporter, the system itself opens the collection ports in the Ravi server firewall. The change is logged in the Action history.
The Alerts tab in brief
Beyond the items detailed in the following sections, the Alerts tab gathers:
- Alert type: the minimum severity that raises an alert, Warning and Critical (all) or Critical only (default). Applies to all channels.
- Telegram, WhatsApp, and Email alerts channels, each with a toggle and two modes: Inherit the system default or Customize with Flow's own bots, contacts, and recipients. The screen warns when the system default is not configured (for example, WhatsApp not connected in Settings › Integrations).
- Maintenance / mute alerts: Silence now for 1 h, 4 h, or Indefinite (until turned off), and Scheduled windows with Start, End, Scope (Global or Per exporter), and Reason. An event within the window is recorded as silenced and does not alert on any channel.
Register exporter
An exporter is the router that sends flow telemetry (NetFlow, IPFIX, or sFlow) to the Ravi collector. The Exporters tab lists the registered devices with the status Receiving flow or No flow yet, and each has edit, delete, and Review configuration (AI) actions.
When you click Add equipment, a page opens with two sub-tabs: Automatic setup (with the AI badge, the default, see AI setup) and Manual setup, described below.
Supported brands
The model chosen in the Equipment field defines the protocol, port, default sampling, whether the device supports FlowSpec, and the How to enable on each brand mini-guide, with ready-made commands and a Copy button.
| Model | Protocol | Port | Default sampling | FlowSpec |
|---|---|---|---|---|
| Mikrotik (RouterOS) | Traffic Flow (NetFlow v9) | 2055 | no sampling | No (RTBH-only mitigation) |
| Huawei | NetStream (v9) | 2055 | 1:1000 | Yes |
| Cisco | Flexible NetFlow (IPFIX) | 2055 | 1:1 | Yes |
| Juniper | J-Flow v9/IPFIX | 2055 | 1:1 | Yes |
| Nokia (SR OS) | Cflowd (IPFIX) | 2055 | 1:1 | Yes |
| Datacom (DmOS) | sFlow | 6343 | 1:2000 | No |
| Ubiquiti (EdgeRouter) | flow-accounting (NetFlow v9) | 2055 | 1:1 | No |
| ZTE | NetFlow v9 | 2055 | 1:1 | No |
| sFlow switch (generic) | sFlow | 6343 | 1:2000 | No |
| Other / Generic | NetFlow/IPFIX/sFlow | 2055 | 1:1 | No |
The form shows the model's mitigation label: FlowSpec (granular) + blackhole (RTBH) or Blackhole only (RTBH) — this model does not support FlowSpec.
Manual setup, step by step
- In the Flow environment, open the Settings gear and the Exporters tab.
- Click Add equipment and choose the Manual setup sub-tab.
- Select the model in the Equipment field, fill in Name and Device IP, and keep the Active checkbox checked. The system checks the IP as you type and rejects an IP already registered on another exporter.
- If needed, adjust the Advanced options: protocol Version (only when the model supports more than one) and Sampling (1 packet every N; on Mikrotik the field does not even appear).
- Optional, but recommended: check Use SNMP to name interfaces and provide the SNMP community, version, and port.
- In the How to enable on your brand guide card, check the Collector address field (the IP the routers use to reach this server; the Detect public IP link helps) and apply the ready-made commands on the router.
- Save. The Ravi firewall is opened automatically and, within a minute of receiving flow, the status changes to Receiving flow.
The sampling registered in Ravi must match the one configured on the device. If the values diverge, all traffic numbers are wrong.
If the Ravi server is behind NAT (no public IP on the interface), the screen warns: create the forwarding of UDP ports 2055 and 6343 from the public IP to the server's private IP. For devices on a private network or VPN, the system resolves the collector address per destination, using the tunnel or route IP, not the public one.
Additional form fields
| Field | What it does |
|---|---|
| Use SNMP to name interfaces | Reads the router's interface names and aliases. On save, the read fires immediately and then repeats periodically. The read speeds become the links' reference capacity, used in severity by impact and in saturation forecasting; there is a manual per-interface capacity override. |
| Device access (SSH — optional) | SSH user, SSH password, SSH port, and Protocol (SSH or Telnet) fields. The credential is stored encrypted in the credentials vault and is used for automations such as the forensic capture and Review configuration (AI). When editing, leaving the password blank keeps the current one: the password never returns to the browser. |
AI setup New in 7.2
The Automatic setup sub-tab configures the router for you: an AI assistant accesses the device over SSH, takes a backup, enables flow export, enables read-only SNMP, and registers the exporter in Ravi. It is the default and recommended option for those who do not master the brand's commands.
- In Add equipment, stay on the Automatic setup sub-tab.
- Answer What is the device's brand? by choosing the logo in the grid (the same 10 brands from the catalog).
- In the Device SSH access card, provide the IP or host, choose in Authenticate with between Device password and System SSH key (Ravi's single key, see System SSH key), fill in User, Password, and Port, and click Connect and start.
- Follow the chat. The AI converses in the logged-in user's language and asks for confirmation whenever necessary.
The assistant follows a mandatory order of work:
- Mandatory backup, always the first action. On Mikrotik, a binary backup and a configuration export; on the other brands, a capture of the current configuration. The chat offers a download of the file. Without a completed backup, no change command is executed.
- Tests whether the device reaches the collector (a ping from the device itself). If it cannot, it explains the limitation and aborts.
- Enables flow export following the brand guide, first reading what already exists and applying only what is missing, without duplicating configuration.
- Enables read-only SNMP to name interfaces, reusing a community already registered in Ravi when there is one.
- Registers the exporter automatically (without duplicating by IP) and checks whether flow is arriving, which can take about 1 minute.
- When the brand has a mitigation recipe, it proposes bringing up the mitigation iBGP neighbor on the device, always asking for confirmation in the chat before any BGP command, and confirms whether the session came up.
- Concludes with Equipment added successfully! or Could not complete.
Assistant safety
- A deterministic layer, independent of the AI, blocks catastrophic commands even if they are issued: factory reset, reboot, formatting, changing users and passwords, among others.
- Commands that remove or undo something require explicit approval in the chat, with the Approve and Reject buttons.
- The chat only deals with enabling Flow: off-topic messages get a scope reminder.
- Each session lasts about 45 minutes and only the user who opened it (or a Master) can see the chat.
If AI engine unavailable on this server. appears, the AI component is not installed or is broken. Reinstall it through the system update; manual registration remains available.
Review configuration (AI)
For an already-registered exporter, the Review configuration (AI) button in the list runs the assistant in idempotent mode: it reads what already exists on the device (flow and BGP configuration), compares it with the brand guide, and applies only what is missing. It is the typical path to bring up the mitigation BGP session after registration, fix a wrong export address, or a mismatched sampling. The credential comes from the vault; if it does not exist, the chat asks for access and stores it encrypted for next time. At the end, it delivers a report of what was correct, what was applied, and the mitigation session's state.
My networks
The My networks tab defines the public IP blocks of the provider's clients and services. It is with this list that Flow detects DDoS against those IPs and builds the per-client traffic view. Without registered networks, Flow does not know what a victim is.
Ways to register
- Automatically include my networks: with the toggle on, the system registers by itself, periodically, the /24 networks that receive traffic whose destination ASN is the exporters' own ASN. It is safe by construction: it never includes a third-party network.
- Add my networks: opens a picker with suggestions grouped into Documented in IPdocs, Your networks in the BGP table (requires route collection on), and Detected in your traffic. Check several, use Select all my networks, and confirm with Add selected. Already-registered networks appear as Already monitored.
- Import from ASN/AS-SET: queries public routing databases (whois/IRR and RIPEstat) and lists the prefixes of the given ASN or AS-SET for selection. Requires internet access.
- Add manually (advanced): IP block (network), Client / usage (optional), and Contracted bandwidth — optional (Mbps) fields.
Fill in the Contracted bandwidth whenever you know it. It becomes the reference capacity for severity by impact (answers "did the victim lose internet?") and feeds the per-client view with the percentage of bandwidth consumed. Without it, impact is measured against the largest edge link.
Detection and sensitivity
The Detection tab controls the attack watchdog. It comes ready to use: nothing needs to be configured to start. And it only warns; blocking is your decision in the Mitigation tab.
Ready-made attack rules
Each rule recognizes a known vector and comes calibrated out of the box: UDP flood, SYN flood, ICMP flood, amplification (DNS, NTP, and others), fragmentation, TCP flood, and volume rules by packets and by traffic. Each rule has its own toggle, and Advanced tuning exposes:
| Field | What it does |
|---|---|
| Attack type | The vector the rule recognizes. |
| Where it applies | Whole network, Per block, or Per interface. |
| Trigger (packets/s) and Trigger (traffic, Mbps) | Firing thresholds. |
| Window (seconds) | Threshold observation time. |
| Severity | Info, Warning, or Critical. |
A calibration mini-chart shows the real traffic of the last 24 h against the rule's threshold. There is also Add rule (advanced) and Restore defaults (with confirmation).
Outbound detection and anti-spoofing
- Detect outbound abuse: detects a provider client becoming the source of an attack against third parties (a compromised host). In the advanced rules, the Direction field accepts Inbound (you are attacked), Outbound (your client attacks), or Both.
- Detect forged source (BCP38): detects a client emitting traffic with a forged source. Configure the Alert floor (packets/s) and the Allowed prefixes per interface table: a source outside the interface's prefixes is treated as forged; interfaces with no prefix (uplinks) are not checked.
Simulator "What if?"
Describe a hypothetical attack and see whether detection would fire, and why. The simulator runs the real detection engine without saving anything. Fields: Preset model (presets such as DNS amplification, SYN flood botnet, Carpet bombing, and CDN false-positive test), Attack type, Packets/s, Traffic (Mbps), Distinct sources, % served from web (:443/:80), and Distinct destinations (carpet/outbound). Click Simulate: the result is WOULD FIRE or Would NOT fire, with vector, rule, and score.
Best practice: calibrate the thresholds with the simulator before the first real attack.
Anti-false-positive and learning
- Detection smoothing (EWMA): dampens isolated spikes. Levels Off, Light, Medium, and Strong. The stronger it is, the smoother and slower to react; a sustained attack still fires.
- Normal-traffic learning (baseline): the system learns the pattern and warns when it deviates a lot. Sensitivity in 3 levels: Conservative (fewer false alarms), Balanced (recommended), and Aggressive (catches earlier). The advanced tuning exposes the alert sigma, the minimum floor in Mbps, and the baseline history in days, plus the Seasonal baseline (day of week and holidays) toggle.
- Holidays: on a holiday, traffic is compared to the holiday profile. Brazilian national holidays are seeded automatically, including movable ones; add local ones with Add holiday or use Re-seed national.
Expression decoders
Custom signatures by expression over flow fields (src_port, dst_port, packet_len, proto, tcp_flags, with comparison and logical operators). Each decoder becomes a traffic class with its own threshold (Threshold metric in pps or Mbps) and goes through the same anti-false-positive as the native rules. There are ready-made examples (SNMP/DNS/NTP amplification, DNS query flood, HTTP/S flood, volumetric) and a limit on active decoders.
Deep forensics (header sample)
Advanced fingerprint analyses require a header sample that NetFlow does not carry. Two paths: on-demand capture in the incident console, with no extra hardware, or continuous sFlow via a mirror port (opt-in, gated by free RAM). The sFlow source (continuous forensics) card has a Check now button with a diagnostic of what is arriving, and the How to turn on the sFlow source wizard has per-platform tabs: Built-in sampler (recommended), Mikrotik (RouterOS), Huawei NE / port-mirror, and Switch with native sFlow. The Payload inspection (DPI) — entropy + signature option keeps only derived metrics, never the packet contents.
Severity by impact New in 7.2
"Is it an attack?" and "does it matter?" are different questions. Severity by impact decides whether an attack is critical by how much of the link it consumes and how long it lasts, not just by its type. This way the team is not woken up by small spikes of 20 to 200 Mbps that last 1 or 2 minutes: they become only a record in the history.
The configuration lives in the Alerts tab, Severity by impact card, with the Reclassify attacks by their impact on the network toggle (on by default) and the thresholds:
| Threshold | Default | Effect |
|---|---|---|
| Consider CRITICAL from X % of the link capacity | 50% | A peak above this percentage of the reference capacity escalates to critical. |
| Consider WARNING from | 15% | Minimum percentage for a warning. |
| Traffic floor - below this it is never critical | 200 Mbps | An attack below the floor never becomes critical (short becomes info, long becomes warning). |
| Sustained for N min becomes critical | 30 min | A small but persistent attack rises to critical. |
How impact is measured: the attack peak divided by the reference capacity, which is the client's contracted bandwidth when registered, otherwise the largest edge link; with no reference at all, the decision is by absolute volume. There is also a safety net that escalates a very high peak to critical even on high-capacity edges.
The event stores both severities, the rule's and the effective one by impact. It is the effective one that governs the alert and the display on the screens.
Mitigation: FlowSpec and RTBH
When detection flags an attack, mitigation is the action that takes it down, sent to the edge routers via BGP. By default nothing is automatic: the system suggests and you approve.
| Technique | What it does |
|---|---|
| Surgical block (FlowSpec) | Takes down only the attack traffic; the rest of the client's traffic keeps working. |
| Blackhole (RTBH) | Discards ALL traffic to the attacked IP: it saves the network, but the IP goes offline. |
When to use each
The recommendation shown in the incident console is deterministic, computed from the detected vector and the device's capability:
- Device without FlowSpec support (for example, Mikrotik): RTBH only. Ravi announces the victim's /32 route with blackhole at the edge and traffic to the target dies at the uplink; the IP goes offline.
- Device with FlowSpec: surgical match by vector. Amplification matches the reflector service's source port over UDP; SYN/ACK/RST flood matches the TCP flag; a DNS query flood matches destination port 53; fragmentation matches the fragment criterion; a generic attack matches the protocol and port of the dominant flow.
- Carpet bombing: the same surgical match is applied to the whole block (destination in CIDR), blocking the attack across all destinations at once without taking down the block's legitimate destinations.
Rule of thumb: prefer FlowSpec when the edge supports it, because it preserves the client. Use RTBH when the edge does not support it, when the upstream only accepts blackhole, or as a last resort in an attack that saturates the link. In the incident console, the corresponding buttons are Mitigate by vector and Blackhole (RTBH) (see Incident console).
FlowSpec templates
The FlowSpec templates card is a library of reusable rules to apply during an attack or reference in a playbook. In New template: name, description, Protocol (Any, TCP, UDP, or ICMP), Source port, Destination port, TCP flags, Is fragment, Packet size (with an operator), and the action: Discard or Rate limit (bps). The Apply button asks for the target IP or block (CIDR) and announces the rule via FlowSpec to the capable routers. Import and Export in JSON let you move the library from one Ravi server to another.
Announcement groups
The Announcement groups card directs mitigation to a subset of routers (for example, announcing blackhole only to the edges). Without groups, mitigation goes to all active routers. In New group: name, Group routers, and Internal community (advanced), attached to the route so the router can steer it; left blank, it is generated automatically.
BGP communities
The BGP communities card is the catalog of communities classified as Traffic engineering, Mitigation, and Blackhole, to attach to blackhole announcements according to the upstream's policy.
Feasibility diagnostic
Before confirming a mitigation, the system checks whether the announcement will take effect and warns with the exact reason when it will not:
- No mitigation router registered (points to Flow settings › Mitigation).
- Ravi's BGP announcement service is not running on the server.
- The BGP session is not established: the router must accept Ravi's iBGP neighbor on TCP 179 (the screen suggests using Review configuration (AI)).
- Session up, but the FlowSpec family was not negotiated: enable the family on the neighbor or use Blackhole (RTBH), which only requires unicast.
Mitigation BGP session
To apply FlowSpec or RTBH, Ravi needs an iBGP session with each router that will carry out the block. The Routers that apply the block card, in the Mitigation tab, shows the exporters automatically as cards with a toggle: turning it on creates and activates the mitigation session with the exporter's defaults (same ASN on both sides). Each peer shows the FlowSpec or RTBH badge according to its capability.
If the exporter has no known ASN, the screen warns: Enter the router's ASN to enable (under Advanced tuning).
For a router that is not an exporter, use Add another router:
| Field | What it does |
|---|---|
| Name and Router IP | Identification and address of the BGP neighbor. |
| Your ASN and Router ASN | The two sides of the session (equal in iBGP). |
| Community (RTBH) | Community attached to the blackhole announcement, for example 65535:666. |
| Next-hop (RTBH) | Next-hop of the blackhole announcement, for example 192.0.2.1. |
| Router supports FlowSpec (surgical block) | Check if the edge negotiates the FlowSpec family. |
What to configure on the router
On the device side, configure an iBGP neighbor pointing to the Ravi server, with the ipv4 unicast (for RTBH) and ipv4 flowspec (for the surgical block) families, accepting the connection on TCP 179. The per-brand recipes are in the catalog guide, and Review configuration (AI) applies everything on its own. On Mikrotik, which has no FlowSpec, the recipe treats the /32 routes received from Ravi as blackhole via a route filter.
A detail that prevents a session that will not come up: the neighbor's source address on the router (connect-interface/local-address) must be the same IP configured as the source of the flow export. On the Ravi side, the local address is resolved automatically.
BGP table (route collection), optional
The BGP table tab configures separate, collection sessions: Ravi reads the router's routing table to know the exact path of each traffic (neighbor, carrier, AS_PATH) instead of estimating. Flow already works without it. The Route collection (route enrichment) card has the Enable BGP route collection toggle and, in the advanced tuning, the RIB re-read interval (seconds). In the Routers that deliver the routing table card, the exporters become cards with a toggle, with status Established or Inactive and the count of received prefixes; Add another session accepts a name, neighbor IP, Our ASN, Peer ASN, Relation (iBGP, transit, peering, CDN, or cache, which feeds the cost lens), and eBGP multihop.
Collection enables: real upstream in the cost and peering lens, AS_PATH and communities in the route lookup, network suggestions in the My networks tab, BGP hijack detection, and the attack-path Sankey with real data. Full table is supported up to around 1 million routes; for a comfortable full table, a server with 12 GB of RAM or more is recommended.
1-click approval New in 7.2
The attack alert on WhatsApp, Telegram, or email can include a magic link that approves the block with 1 click, straight from the phone, without logging into the panel. Human approval remains yours; only the path gets shorter.
Configuration
In the Alerts tab, Approval link card:
- System public URL: blank, it uses the auto-detected address (the system's SSL domain or public IP, shown as Auto-detected). Fill it in only to force another address, for example behind a reverse proxy.
- Link validity: default 15 minutes, adjustable from 1 to 1440.
How it works
- For each eligible attack, the system generates a single-use token and attaches the link to the alert.
- The link's page opens without login (the token is the authorization) and shows the attack: target, router, type and vector, peak, and the proposed action (FlowSpec surgical block or RTBH blackhole).
- Only the Confirm block button executes the action. Opening the link only displays the information, so the automatic WhatsApp or Telegram preview does not trigger anything.
- The executed action is exactly the one fixed in the attack's record (target, vector, mode, protocol, and port); nothing can be tampered with through the URL. Each link is valid only once, with protection against double-clicking.
Error states are friendly: link already used, link expired (approve from the panel), invalid link, or failure to apply. If, after confirming, the Ravi side cannot announce (BGP session down, FlowSpec family not negotiated, or announcement service stopped), the page shows the feasibility warning with what is missing, and the approval is preserved.
The public URL must be reachable from the team's phone, outside the LAN. If the detected address is a private IP, the link will not open outside the network: fill in the System public URL with a reachable address.
Auto-mitigation
With auto-mode on, sustained critical attacks are mitigated automatically with FlowSpec by vector and reverted on a timer, without intervention. The factory default is manual (off): the system suggests and you approve.
The Mitigation auto-mode card, in the Mitigation tab:
| Option | What it does |
|---|---|
| Enable auto-mitigation (global) | Master switch for auto-mode. |
| Auto-mitigate critical attacks only | Ignores warnings; on by default. |
| Undo the block by itself after N minutes | Auto-revert time for the block; default 30 minutes, from 1 to 1440. |
| Apply to | All exporters or Selected only, with a per-exporter toggle. |
| Announce to | All routers or a specific announcement group. |
Protected networks
The protected networks card lists the blocks the system never blocks on its own, for example critical clients. Add protected network opens a picker with Your monitored networks and the Other network (type the block) option. The protection applies only to automatic mitigation: manual mitigation is still possible.
Keep auto-mitigation off until you validate the mitigation BGP sessions and the protected networks list. Start with manual approval and the 1-click link; turn on auto-mode once you trust the behavior.
Response playbook
The Incident response (playbook) card, in the Detection tab, defines what the system does when an attack happens, with ordered actions in the On start and On end phases. It is additive to the normal alerts, it does not replace them.
- Simple mode: the Automatic response to critical attack toggle applies automatic mitigation (FlowSpec by vector) when a critical is detected. It is opt-in; the system default is manual approval.
- Advanced playbooks: Add playbook with Minimum severity, Triggers on (inbound, outbound, or both direction), and Wait before acting (min), an anti-blip that requires the attack to persist N minutes before any action.
In each phase, the Action type accepts: Email, Telegram, WhatsApp, Webhook, Script, Mitigate (FlowSpec), and Blackhole (RTBH). The Parameters (JSON) field configures each action, for example:
# Webhook {"url":"https://noc.yourprovider.com/hook"} # Script {"cmd":"my_script.sh"} # Email {"to":"noc@yourprovider.com"}
The mitigation action can reference a FlowSpec template and an announcement group. Behavior at attack time: the system picks the most specific playbook (the highest minimum severity that matches the event), each phase runs only once per event, and the decision uses the effective severity by impact, which avoids automatic mitigation from reclassified noise. Everything is audited in a log visible in the incident console.
Script type security: the executable must be inside the allowed folder on the server (/var/www/html/flow/scripts by default), runs with a 30-second timeout, and receives the context through environment variables (FLOW_DST, FLOW_SRC, FLOW_VETOR, FLOW_PPS, FLOW_BPS, FLOW_EVENTO), with no shell interpolation.
Transit cost and peering
The Transit cost tab classifies the ASNs seen in traffic by their commercial relationship, feeding the dashboard's cost lens and the peering recommendations. The system already recognizes the major CDNs on its own (Google, Netflix, Akamai, Cloudflare, Meta, and others); you only need to mark who you have a direct connection (peering) or a local cache with.
| Relationship | Meaning |
|---|---|
| Transit | Internet you pay for (default path). |
| Peering | Direct connection, without paying transit. |
| CDN | Content network (video, streaming). |
| Cache | Served from within your network. |
The screen has the Suggestions (ASNs seen in traffic not yet classified, with a system guess) and Saved sub-tabs, plus search and manual addition with the Relation field.
Confirm only relationships that actually exist (an active agreement). Marking peering or cache that does not exist distorts the cost calculation and produces a false positive in the recommendations.
How the system classifies, in priority order: the relationship declared in the collection BGP session, then the manual table on this tab, then the CDN-name heuristic, and finally transit. When route collection is on, the classification uses the real upstream of each flow and the card gets the real-routing badge; without BGP, it falls back to the per-ASN heuristic.
The result appears on the Flow dashboard: a donut by relationship, paid versus optimized traffic, and the Peering recommendation, which point out the largest ASNs arriving via paid transit (action: peer) and non-optimized CDNs (action: cache or peer). See Flow dashboard.
Server capacity
The Server capacity tab reads the machine's real resources and decides what it can handle. Heavy features can only be enabled if the infrastructure can take it: what does not fit appears blocked, with the reason.
The live-metrics card shows the server's Classification (Small, Medium, or Powerful), Total RAM, Free RAM, Cores, Load, Collector memory, Flows/s, and Free disk (the disk never blocks anything). A small server: less than 4 GB of RAM or up to 2 cores; powerful: 8 GB or more and 4 cores or more.
The Heavy features card shows each feature's state: Supported, At the limit, or Blocked.
| Feature | Unlocked from | Blocked below |
|---|---|---|
| ClickHouse (Explorer) | 8 GB of RAM and 4 cores | 5 GB of RAM or fewer than 4 cores |
| City-level GeoIP | 2 GB of total RAM | 1.5 GB of total RAM |
| On-demand forensic capture | 1 GB of free RAM | 512 MB of free RAM |
| Continuous forensic sFlow | 2 GB of free RAM | 1 GB of free RAM |
The At the limit state appears between the two thresholds, or when free RAM is below 15% or the per-core load is above 1.5: you can enable it, but with care. The block applies on the screen (a disabled toggle with a padlock and reason) and also on the server, which refuses activation: you cannot turn on something that would bring the machine down.
In the Explore tab, when the ClickHouse (powerful appliance) backend is not supported by the server, the option appears disabled with the reason and the View server capacity link. The disabled toggle is not a defect: it is the capacity gate.
Group access New in 7.2
Flow can be delivered to internal teams or to the provider's clients without leaking third-party data, through access groups.
In the user-group registration there are 3 levels for Flow: Do not include Flow, Include Flow (read-only), and Include and manage Flow. Master users see everything and have access to the settings gear.
Beyond the level, the group can be limited to specific exporters (Select the exporters this group can see). For a scoped user:
- The entire dashboard, the Explorer, and the other screens show only the traffic of the allowed exporters; the overview is rebuilt using only them.
- The cards that span the entire provider disappear by design: Network risk score, Flow health, Clients, world map, and the peering and transit-cost lens. It is not a defect: it is data isolation.
The configuration of the groups themselves is in Access groups.