<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Fengyongxiao on Medium]]></title>
        <description><![CDATA[Stories by Fengyongxiao on Medium]]></description>
        <link>https://medium.com/@fengyongxiao?source=rss-bbe366bb8eb2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*NFNnKqoVsHKmFMTy</url>
            <title>Stories by Fengyongxiao on Medium</title>
            <link>https://medium.com/@fengyongxiao?source=rss-bbe366bb8eb2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 16:39:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@fengyongxiao/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Who is eating my VyOS traffic? This little tool shows it at a glance]]></title>
            <link>https://medium.com/@fengyongxiao/who-is-eating-my-vyos-traffic-this-little-tool-shows-it-at-a-glance-886136c78e81?source=rss-bbe366bb8eb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/886136c78e81</guid>
            <category><![CDATA[traffic]]></category>
            <category><![CDATA[elastiflow]]></category>
            <category><![CDATA[vyos]]></category>
            <category><![CDATA[sflow]]></category>
            <dc:creator><![CDATA[Fengyongxiao]]></dc:creator>
            <pubDate>Sat, 21 Nov 2026 08:46:46 GMT</pubDate>
            <atom:updated>2026-11-21T08:46:46.305Z</atom:updated>
            <content:encoded><![CDATA[<p>The office network crawls at peak hours and nobody knows who is eating the bandwidth? One binary fixes it: bandwidth, top talkers and flow records, for anything that exports sFlow, in a browser or over SSH. Up and running in 30 seconds.</p><p>The pain first 👇</p><p>The VyOS box at our office egress has been running for a long time. Every workday peak, the network crawls. Who is eating the bandwidth? No idea. Which machine, talking to which server? No idea either. Pure guessing. The answer was always “try a reboot” 🙂</p><p>VyOS can export sFlow samples. So can most switches, other brands of routers, and servers.</p><p>But then what? There was nothing to look at them with ❌ The usual tools want a separate server, or a database and a whole dashboard stack. Way too much, just to see my own traffic.</p><p>So I wrote a small tool myself. It is called vyos-sflow ✨ One binary. Run it on the router itself, or put it on any Linux machine and let every device send its sFlow there</p><h3>Three steps to install</h3><p>First, turn on sFlow in VyOS (skip this if it already sends to 127.0.0.1:6343):</p><pre>configure<br>set system sflow interface eth0<br>set system sflow server 127.0.0.1 port 6343<br>commit<br>save<br>exit</pre><p>Not a VyOS box? Same idea — point that device’s sFlow export at this machine, port 6343, and continue below.</p><p>Then download it and run it:</p><pre>curl -fLO https://github.com/githubflyideas/vyos-sflow/releases/download/v1.3.3/vyos-sflow-1.3.3-linux-amd64.tar.gz<br>tar -xzf vyos-sflow-1.3.3-linux-amd64.tar.gz<br>cd vyos-sflow-1.3.3-linux-amd64 &amp;&amp; ./vyos-sflow serve</pre><p>Open http://ROUTER_IP:8066 in a browser, sign in with admin / tryvyossflow66, and change the password. That is all. The charts start filling in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*H4-EzDqqlvNV0Kd_.png" /></figure><p>Overview page</p><h3>What you get</h3><p>✅ Current bandwidth, and the curve for the last 48 hours</p><p>✅ Top talkers: which client and which server use the most traffic, ranked</p><p>✅ Interface traffic from the device’s own counters, next to the sampled estimate, so you can see if the numbers line up</p><p>✅ The flow records behind the charts — click a spike and find out who it was</p><p>✅ If a chart is empty, the Sources page tells you why. No guessing</p><h3>Get it</h3><p>Free and open source, Apache-2.0. Search GitHub for vyos-sflow, or use the download link on this site. If you don’t like it, delete the folder and it’s gone — the router itself is untouched.</p><p>If VyOS runs your office egress or an internet-café gateway, give it a try. That “where did my traffic go” feeling is gone.</p><p>What do you use to watch your egress traffic? Tell me below 👇</p><p><a href="https://githubflyideas.github.io/vyos-sflow/">vyos-sflow · sFlow traffic analysis for VyOS and Linux</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=886136c78e81" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Internal Network Being Scanned?]]></title>
            <link>https://medium.com/@fengyongxiao/internal-network-being-scanned-cd7c166d3ce8?source=rss-bbe366bb8eb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd7c166d3ce8</guid>
            <category><![CDATA[notion]]></category>
            <dc:creator><![CDATA[Fengyongxiao]]></dc:creator>
            <pubDate>Thu, 15 Oct 2026 02:02:28 GMT</pubDate>
            <atom:updated>2026-10-15T02:02:28.086Z</atom:updated>
            <content:encoded><![CDATA[<h3>Internal Network Being Scanned? Bandwidth Maxed Out? I Caught the Attacking IP 10 Minutes After Deployment 🔍</h3><p><em>Cover caption: “0 → 1: Locating an Abnormal Host” with a screenshot of the “Findings” page (port scan / flood alert list)</em></p><p>Last week I ran into abnormal bandwidth usage. I wrote down the entire troubleshooting process, from deployment to diagnosis. It took 10 minutes.</p><h3>Step 0: See it in action first (optional, 30 seconds)</h3><p>Run traffic66 demo. It simulates a company network with a day of historical data, 4 devices, and one complete attack. Open 127.0.0.1:8066 in your browser, log in with admin / traffic66, and click into &quot;Findings.&quot; Every step of the attack is laid out there.</p><h3>Step 1: Deployment (about 3 minutes)</h3><ul><li><strong>Linux:</strong> Unzip to /opt/traffic66, write a systemd unit, and start it.</li><li><strong>Windows:</strong> Unzip to C:\traffic66, double-click traffic66.exe, and allow the ports through the firewall.</li><li><strong>Ports, just three:</strong> UDP 6343 (sFlow) / 2055 (NetFlow) / 4739 (IPFIX). The web UI uses TCP 8066.</li><li><strong>Also, increase the receive buffer size:</strong> net.core.rmem_max=16777216</li></ul><h3>Step 2: Get your devices sending flows (about 3 minutes)</h3><ul><li><strong>On your core switch, one configuration is enough.</strong> Suggested sFlow sampling rates: 1 Gb/s → 1:1000, 10 Gb/s → 1:4096, 40/100 Gb/s → 1:8192.</li><li><strong>Set the active flow timeout to 60 seconds, and export the sampler options.</strong> Otherwise you’ll keep seeing waiting for the sampling rate.</li></ul><h3>Step 3: Confirm the data is arriving (30 seconds)</h3><ul><li><strong>Open the “Settings” page.</strong> Protocol, sampling rate, packet loss, and sampled interfaces are all shown there. If the status isn’t green, it tells you exactly what to change.</li><li><strong>Nothing arriving?</strong> Run tcpdump -ni any udp port 6343 or udp port 2055 or udp port 4739. It will tell you whether the problem is the device/routing or the local firewall.</li></ul><h3>Step 4: Check “Findings” (about 1 minute)</h3><p>Every 5 minutes, it checks the last 10 minutes of data. Behavior originating from the internal network is treated as high priority:</p><ul><li><strong>Port scanning:</strong> Small packets sent to many hosts on the same port.</li><li><strong>Brute force:</strong> A large number of short connections to a login service.</li><li><strong>Lateral movement:</strong> An internal host suddenly starts file-sharing or remote-management sessions it has never used before.</li><li><strong>Anomalous upload:</strong> 100 MB sent to a new address within 10 minutes, at 3× the return volume.</li><li><strong>Flooding:</strong> 20,000+ small packets per second aimed at the same address.</li></ul><p>Click any entry to jump to that host’s detail page. It shows who it’s talking to, which services it’s using, which countries it’s connecting to, and its latest flow records, all on one page.</p><h3>Step 5: Wrap up</h3><ul><li><strong>Confirmed attack:</strong> Click “Resolved.”</li><li><strong>False positive:</strong> Click “Not an issue” to close it permanently.</li><li><strong>Tip:</strong> Name your internal address ranges, devices, and interfaces in inventory.txt. Next time, you&#39;ll understand them at a glance.</li></ul><p>⚠️ <strong>Two pitfalls to flag first:</strong></p><ol><li>In the demo, attacks are fully detected at a 1:4096 sampling rate. However, very small-scale scans may be hidden by sampling. For critical network segments, consider lowering the sampling rate, or go with port mirroring and packet capture directly.</li><li>The web interface is plain HTTP. If you expose it to the public internet, you must put a TLS proxy in front of it or access it through an SSH tunnel.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd7c166d3ce8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stop Wrestling with ntopng or Elasticflow ❗️ One File Replaced My Entire Traffic Analytics Stack]]></title>
            <link>https://medium.com/@fengyongxiao/stop-wrestling-with-ntopng-or-elasticflow-%EF%B8%8F-one-file-replaced-my-entire-traffic-analytics-stack-31676c6dc0af?source=rss-bbe366bb8eb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/31676c6dc0af</guid>
            <category><![CDATA[elastiflow]]></category>
            <category><![CDATA[notion]]></category>
            <dc:creator><![CDATA[Fengyongxiao]]></dc:creator>
            <pubDate>Tue, 13 Oct 2026 09:37:26 GMT</pubDate>
            <atom:updated>2026-10-13T09:37:26.097Z</atom:updated>
            <content:encoded><![CDATA[<p>I used to build a whole stack for traffic analysis: ElastiFlow + Elasticsearch + Kafka + Grafana.</p><p>Conclusion: it worked, but the maintenance cost was absurd. Whenever ES ran out of memory, I spent the whole night putting out fires 😇</p><p>Later I switched to traffic66, a single-file program written in Go. Here are some real comparisons:</p><h3>Deployment</h3><ul><li><strong>Full stack:</strong> ES + Kafka + Grafana, at least 3 components. Half a day of configuration.</li><li><strong>traffic66:</strong> Unzip → run. 30 seconds, no middleware.</li></ul><h3>Resources</h3><ul><li><strong>Full stack:</strong> ES alone needs several GB of memory just to start.</li><li><strong>traffic66:</strong> On a 2-core machine handling 5,000 flows/s, memory use is 0.6–0.8 GB. Detailed records come to about 12 GB per day.</li></ul><h3>Query speed</h3><ul><li><strong>Long-range overview:</strong> under 0.2 seconds.</li><li><strong>Top 66 sessions across all traffic in the last hour:</strong> about 9 seconds.</li></ul><h3>Feature coverage (what I actually use)</h3><ul><li>① Receives sFlow v5, NetFlow v5/v9, and IPFIX. Works on any UDP port.</li><li>② Can also capture directly from a local NIC (connected to a switch mirror port), or analyze existing pcap files.</li><li>③ Top 66 session ranking, grouped by application, subnet, device, encapsulation, or VLAN.</li><li>④ Flow detail ring charts: server ↔ client, service ↔ server.</li><li>⑤ Flow diagram: host → application → country.</li><li>⑥ Interface reconciliation: flow estimates shown side by side with device counters.</li><li>⑦ Findings: port scans, brute-force attempts, lateral movement, anomalous uploads, flooding, and threat-intelligence hits.</li><li>⑧ Terminal UI (TUI): usable directly over SSH.</li></ul><h3>Who it isn’t for (to be clear about it)</h3><ul><li><strong>Long-term raw packet storage for forensics.</strong> traffic66 analyzes <em>flows</em>. It doesn’t store packets.</li><li><strong>Complex custom dashboards.</strong> The Grafana ecosystem is still stronger here.</li></ul><p><strong>In one sentence:</strong> if all you need is to quickly answer “who’s eating the bandwidth, is there anything abnormal, and where is the traffic going,” this saves far more effort than the full stack.</p><p><strong>Data retention:</strong> detailed records are kept for 30 days by default (adjustable). Summaries are kept for 400 days.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=31676c6dc0af" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Boss Asked “Who’s Hogging the Bandwidth?”]]></title>
            <link>https://medium.com/@fengyongxiao/whos-eating-the-bandwidth-one-executable-answers-in-3-minutes-422ccdc3f119?source=rss-bbe366bb8eb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/422ccdc3f119</guid>
            <category><![CDATA[ntpng]]></category>
            <category><![CDATA[sflow]]></category>
            <category><![CDATA[bandwidth]]></category>
            <dc:creator><![CDATA[Fengyongxiao]]></dc:creator>
            <pubDate>Tue, 13 Oct 2026 01:49:14 GMT</pubDate>
            <atom:updated>2026-10-13T09:22:37.860Z</atom:updated>
            <content:encoded><![CDATA[<h3>My Boss Asked “Who’s Hogging the Bandwidth?” — I Handed Him One EXE and Got the Answer in 3 Minutes 😎</h3><h3>Who’s Eating the Bandwidth? One Executable Answers in 3 Minutes 😎</h3><p><em>Cover caption: Single file · No database to install · Up and running in 30 seconds</em> <em>(Cover image: web overview page with bandwidth graph and top clients)</em></p><p>I’ve been doing network operations for five years now. What I fear most isn’t outages. It’s the message in the team chat: “The network has been slow lately. Who’s hogging the bandwidth?” 🙃</p><p>My old routine went like this: log into the core switch → show interface → can&#39;t tell who&#39;s responsible → set up a mirror port and capture packets → spend two hours staring at captures...</p><p>Now my routine is just one thing: open the traffic66 web page.</p><h3>What is it?</h3><p>In one sentence: it collects sFlow, NetFlow, and IPFIX flow data and tells you who is using the bandwidth, where the traffic is going, and whether it matches your interface counters.</p><h3>Why I keep it running on a server 👇</h3><ul><li>✅ <strong>One executable.</strong> Single-file builds for Windows, Linux, and macOS. No Elasticsearch, no Kafka, no separate database. It runs offline too.</li><li>✅ <strong>Running in 30 seconds.</strong> Unzip → run → open 127.0.0.1:8066 → log in with admin / traffic66. Done.</li><li>✅ <strong>Want to see it first?</strong> One command: traffic66 demo simulates a company network with a day of historical data, 4 devices, and a full attack scenario, so you can explore right away.</li><li>✅ <strong>Two interfaces.</strong> A web UI in the browser, plus a terminal UI on the server (traffic66 tui). Connect over SSH and press 1–8 to switch pages. No browser needed.</li><li>✅ <strong>Interface reconciliation (this one is rare).</strong> Flow statistics are estimates by nature. traffic66 places those estimates side by side with your device’s interface counters (sFlow or SNMP). When they don’t match, it tells you why: an interface isn’t being sampled, traffic is being counted twice, or packets are being dropped along the way.</li><li>✅ <strong>Geo and ASN out of the box.</strong> Ships with the free DB-IP database. The world map shows which countries your traffic goes to. You can swap in MaxMind GeoLite2 if you prefer.</li><li>✅ <strong>13 languages</strong>, with native Chinese UI. No guessing at English menus.</li></ul><h3>Deployment warnings (important)</h3><ul><li>The web interface is plain HTTP. Don’t expose it to the public internet. Bind to -addr 127.0.0.1:8066 and put a TLS proxy in front, or access it through an SSH tunnel.</li><li>Only allow UDP ports from the devices you’re collecting from (6343 / 2055 / 4739).</li><li>Capacity reference: on a 2-core machine at 5,000 flows/s, detailed records come to about 12 GB per day, roughly 360 GB over 30 days. Memory use is 0.6–0.8 GB.</li></ul><h3>Licensing, stated plainly</h3><p>Evaluation is free. Organizations with fewer than 100 people can use it in production for free. Larger organizations need to register for production use after 30 days. Registration doesn’t disable any features.</p><p><strong>Let’s talk in the comments:</strong> What are you using to look at traffic today? ntopng or PRTG?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=422ccdc3f119" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[traffic66 hands-on review: a flow analyzer that runs from a single file — but is it…]]></title>
            <link>https://medium.com/@fengyongxiao/article-header-class-hero-col-div-class-kicker-span-a-href-root-blog-406470e6c6cf?source=rss-bbe366bb8eb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/406470e6c6cf</guid>
            <dc:creator><![CDATA[Fengyongxiao]]></dc:creator>
            <pubDate>Fri, 09 Oct 2026 01:27:03 GMT</pubDate>
            <atom:updated>2026-10-09T02:08:33.687Z</atom:updated>
            <content:encoded><![CDATA[<h3>traffic66 hands-on review: a flow analyzer that runs from a single file — but is it beginner-friendly?</h3><blockquote><em>Versions tested: traffic66 v1.6.0</em></blockquote><blockquote><a href="https://github.com/githubflyideas/traffic66/releases/tag/v1.6.0">Release traffic66 1.6.0 · githubflyideas/traffic66</a></blockquote><blockquote><em>Test setup: Debian Linux x86–64, 8 cores; the router is a MikroTik RouterOS CHR 7.24.5 virtual machine</em></blockquote><h3>Why I looked at it</h3><p>I wanted flow analytics for the MikroTik gear at home and in a small office, mostly to answer the eternal question: who is eating the bandwidth? ntopng felt heavy, ElastiFlow means running Elasticsearch, and pmacct + Grafana is a build-it-yourself project. Then I came across <a href="https://github.com/githubflyideas/traffic66">traffic66</a>, whose pitch is “one program for sFlow, NetFlow and IPFIX”: no separate database, a web UI plus a terminal UI, and it cross-checks its numbers against the devices’ own interface counters.</p><p>I looked at it from three angles: <strong>how easy it is to install, how good the UI is, and how friendly it is to beginners</strong>. I also pointed a real RouterOS VM at it to test flow export. Every number below is something I measured myself; where I didn’t test something, I say so.</p><h3>1. Installation: it really is “one file”</h3><h4>The release build: running in seconds</h4><p>The releases page offers 5 packages: Windows x64, Linux x86–64/ARM64, and macOS Intel/Apple Silicon. The Linux x86–64 archive is about 35 MB; unpacked, the traffic66 binary is about 71 MB. The archive also contains the README, the licence files and an inventory.txt.example.</p><p>Timings on my test machine:</p><ul><li>Download traffic66-linux-amd64.tar.gz (about 35 MB): 2.2 s</li><li>Unpack: 0.6 s</li><li>Start until the log prints the web address: 0.3 s</li></ul><p>The startup log is refreshingly clear and tells you the default account on first start:</p><pre>first start: sign in as user &quot;admin&quot; with password &quot;traffic66&quot;; a new password is asked for at the first sign-in<br>web UI: http://127.0.0.1:8066</pre><p>The database is an embedded DuckDB compiled into the program, so <strong>there is no database to install</strong>. The IP-to-country and ASN databases (DB-IP Lite) are built in as well and work offline. According to the CI configuration, the Linux build is statically linked (the README says kernel 3.2 or later); I had no old system at hand, so I didn’t verify that.</p><p>The README includes a systemd setup: create a user, create the data directory, set a password with passwd, write the unit file. Copy, paste, done. Default ports: UDP 6343 (sFlow), 2055 (NetFlow), 4739 (IPFIX) and TCP 8066 (web). On top of that, <strong>every UDP port accepts every protocol</strong>, so a device pointed at the &quot;wrong&quot; port still gets through — a small touch that saves beginners a lot of grief.</p><h4>Want a look first? There’s a demo mode</h4><pre>./traffic66 demo</pre><p>This simulates a company network with a day of history and 4 simulated devices, including an attack that unfolds step by step. You can tour the whole UI without connecting a single device.</p><h4>Building from source: one small snag</h4><p>I also built from source (Go 1.24). On a fresh Debian install, the first go build failed at the link step:</p><pre>/usr/bin/ld: cannot find -lstdc++: No such file or directory</pre><p>DuckDB goes through cgo and needs the C++ standard library; installing g++ fixes it. After that:</p><ul><li>git clone --depth 1: 4.6 s</li><li>Cold-cache go build (including about 164 MB of Go modules, mostly DuckDB&#39;s prebuilt libraries): 18.7 s</li></ul><p>The binary built this way is about 91 MB. The repo’s scripts/build.sh statically links libstdc++ and strips debug info — that&#39;s how the release binaries are made, hence the smaller size. go test ./... passed in full.</p><p><strong>In short: regular users should just grab a release — the barrier is essentially zero. If you build it yourself, install g++ first.</strong></p><h4>Resource usage</h4><p>I measured the resident memory (RSS) of two instances:</p><ul><li>The release build, freshly started with no data: about <strong>122 MB</strong></li><li>A test instance receiving NetFlow from RouterOS: about <strong>117 MB</strong></li></ul><p>My traffic was tiny, so these numbers only describe idle and light load; I did not test heavy traffic. DuckDB’s memory limit defaults to a share of the machine’s RAM (the log shows -memory 0.10).</p><h3>2. The UI: lots of features, sensibly organized</h3><blockquote><em>Note: most screenshots below come from my own build of the source (the top-left corner shows </em><em>v0.1.0-dev, i.e. the latest main branch); the first-login screenshot comes from release v1.6.0. The data comes from my RouterOS test VM, so traffic is tiny and the charts look sparse. The installation number in the page footer has been blurred.</em></blockquote><h4>Sign-in and the first password change</h4><p>Sign-in page</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/799/1*_rq2-zTm5wsY1gGcHLC57g.png" /></figure><p>The sign-in page is minimal. On a fresh install it shows “First sign-in: user admin, password traffic66” right on the page, so nobody has to dig through docs for the default password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*shMk9mGGswD-nUgXe_SRVw.png" /></figure><p>First sign-in: the password must be changed first</p><p>After signing in you land on the Account page with “This is the default password of a new installation. Set a new password before you start.” The new password needs at least 8 characters and cannot be traffic66. Until you change it, the sidebar navigation is hidden — only “Log out” remains. I confirmed this through the API too: before the change, every data endpoint returns change_password. You simply can&#39;t keep running on the default password, and I like that.</p><h4>Overall layout</h4><p>Overview (English UI)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*45imLspnSvw0aFC4J_bm2Q.png" /></figure><p>The layout is the familiar left sidebar plus content area, with a light theme and a restrained color palette.</p><ul><li><strong>The sidebar</strong> has four groups: Overview, Top 66, Traffic details, Flow paths, Interface check, Flow records; Findings, Threat intel, Geo &amp; networks; Settings, Offline pcap analysis; Data cleanup</li><li><strong>At the bottom of the sidebar</strong> sits a small status panel: “Receiving” / “No data arriving”, ingested flows per second, dropped, disk used and free space. Below that: the language picker, a light/dark theme toggle, Account and Log out. One glance tells you whether data is coming in.</li><li><strong>The top toolbar</strong> has an interface picker, time ranges (15 min / 1 hour / 6 hours / 24 hours / 7 days / 30 days / Custom…), a “Refreshes every 30 s” note and a “Copy link” button for sharing the current view with a colleague.</li></ul><p><strong>The Overview page</strong>, from top to bottom:</p><ol><li>A row of key-number cards: current bandwidth, traffic in the last hour (with peak and time), active internal hosts, remote hosts, and the match with device counters</li><li>Interface bandwidth over time (inbound and outbound)</li><li>Bandwidth stacked by application, switchable between Total / Inbound / Outbound</li><li>Two donut charts: traffic direction and protocol</li><li>Top clients and top services</li><li>At the very bottom, a Findings card counting High / Medium / Low; with nothing open it says “No open findings: nothing needs attention.”</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bAlEYUzSI_pmCqlrQp_haw.png" /></figure><p>The lower half of the Overview page</p><h4>The main pages</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GDpi-phCKl6zMYzbe9PdDA.png" /></figure><p>Top 66</p><p><strong>Top 66</strong>: four filter boxes at the top — device, client, server, service. The page says “Click any value on the page to filter — no typing needed”, and it means it: click any value in the table and it becomes a filter. You can switch between a Table and a Talkers view and group by conversations and other dimensions.</p><p>Flow records</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MD9c5Ej110EuNFZe_BfqpA.png" /></figure><p><strong>Flow records</strong>: at the top, the record count and a bar chart for the last 15 minutes (updated every 5 s); below it, individual records, newest first. Columns include time, client and port, server and port, protocol, application, country, encapsulation, traffic, packets and device, and “Columns” lets you pick which ones to show. When testing RouterOS, this page plus the API is how I checked the numbers.</p><p>Interface check</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7Xppc5pp8rYC9tPBgiCBgg.png" /></figure><p><strong>Interface check</strong>: the most distinctive page in traffic66. Each interface gets a bits/s and a packets/s chart, with the flow estimate and the device’s own counters side by side. My CHR doesn’t provide counters, and instead of an empty page traffic66 explains why and what to do: “This device sends no interface counters, so there is nothing to compare with. Add a line like snmp 10.0.0.1 public under Settings → Names to read them over SNMP.” Interfaces that only show up as the far end of flows (not sampled) are listed separately as peer interfaces.</p><p>Settings → Sources</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K3o76SaA4lF3U5R13L6NFA.png" /></figure><p><strong>Settings</strong>: the first block is “Sources”, one row per sending device with protocol, flows/s, sampling, loss, last seen and status. My router showed NetFlow v9, 1:1, 0.00%, Receiving. Under the device name there’s a detail line such as “without flowDirection (61): sampled interface inferred from traffic” — impressively granular. It also lists the UDP ports being listened on and how many packets each has received.</p><p>Further down:</p><ul><li>Countries/ASN databases: DB-IP Lite built in, with a one-click update, or upload MaxMind, IPinfo or IPtoASN databases instead</li><li>A custom logo</li><li>“Names”: add hosts, networks and devices through a form, or expand “Edit as text (advanced)”</li></ul><p>In later screenshots a small yellow “!” badge appeared next to Settings in the sidebar, which looks like a nudge to check the Settings page.</p><p>Offline pcap analysis</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bQmYgFN0wKwKtTxk3So7tA.png" /></figure><p><strong>Offline pcap analysis</strong>: upload captures from Wireshark or tcpdump — up to 3 files, at most 50 MB each, .pcap and .pcapng only (not compressed). Each file goes into its own database and doesn’t touch the live data.</p><h4>The trial notice in the footer</h4><p>Every page carries the trial status at the bottom (English UI, verbatim):</p><blockquote><em>Traffic66 trial: 30 days left. Please ask the author for a registration licence.<br>Until registered it keeps working, with every feature. Installation ********</em></blockquote><p>The 8-digit installation number is what you send the author to request a licence.</p><p>The licence is the PolyForm Noncommercial 1.0.0 plus the author’s Additional Use Grant. Per the README: free for evaluation and for organizations under 100 people; larger organizations register after 30 days of production use; reselling, hosting for others or building a competing product needs a commercial licence. Both the footer and the code comments state that <strong>nothing gets switched off</strong> when the trial ends — only the footer text changes. That’s a fair approach, but strictly speaking this is not open-source software. Read the licence before using it commercially.</p><h4>13 languages, with full mirroring for Arabic and Urdu</h4><p>The language picker offers 13 languages. I switched the Overview page to every one of them: all 13 are fully translated, with no leftover English in the sidebar, cards, chart legends or buttons — only technical terms such as TCP, SSH, NetFlow, pcap and Top 66 stay in English. Each language file has 551 strings.</p><ul><li>en: English</li><li>zh: 中文</li><li>hi: हिन्दी</li><li>es: Español</li><li>ar: العربية</li><li>fr: Français</li><li>bn: বাংলা</li><li>pt: Português</li><li>ru: Русский</li><li>id: Bahasa Indonesia</li><li>ur: اردو</li><li>ja: 日本語</li><li>ko: 한국어</li></ul><p>en: English</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8y2tOTA9ZWlA4QitmxI3tw.png" /></figure><p>Chinese — 中文</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3x0In462AuE0gPzZ5KpIhw.png" /></figure><p>Japanese — 日本語</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SsChRXhxW8c2HWpXwp5cRQ.png" /></figure><p>Spanish — Español</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ibIkWcgWLTVLbdsvzVExJw.png" /></figure><p>Arabic — العربية (right-to-left)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qFijWMrkxgCz3Yy0w1yyIA.png" /></figure><p>(Screenshots of the other languages mentioned above are left out here to keep the post light.)</p><p>A few details that stood out:</p><ul><li><strong>Arabic and Urdu are genuinely mirrored</strong>: the sidebar moves to the right, cards and tables flow right to left, and even the chart time axes run right to left — not just right-aligned text.</li><li><strong>Bengali uses Bengali digits</strong>, e.g. bandwidth shows as “৪৬.২ Kbps”, and so do the axis labels. That’s thorough localization. Hindi uses Western digits.</li><li>In Spanish, French, Portuguese and Indonesian the longer menu names wrap onto two lines in the sidebar (“Verificación de interfaces”, “Enregistrements de flux”), but it stays readable.</li><li><strong>The English UI</strong> is consistent: “Inbound/Outbound” is used for both the interface chart legend and the per-application toggle, and it sticks to British spelling (“licence”, “Analyse”).</li><li><strong>Chinese</strong> reads naturally and uses the vocabulary network engineers actually use. One small inconsistency: the interface chart legend says 入方向/出方向 (“inbound/outbound direction”) while the per-application chart’s toggle says 入站/出站 — a different word for the same thing; the “Top clients/Top services” headings also keep the English word “Top”.</li><li><strong>Japanese</strong> reads naturally (“上位 66” for Top 66, “インターフェース照合” for Interface check). <strong>Korean</strong> leans on transliterated loanwords such as “인바운드 / 아웃바운드” (inbound/outbound), which is common in Korean IT writing.</li></ul><h3>3. Beginner-friendliness: mostly well thought out, with a few traps</h3><h4>What it gets right</h4><ol><li><strong>The README is organized by task</strong>: try the demo → install → users → device configuration → check that flows arrive → interface check → naming… roughly the order a newcomer runs into things. Configuration snippets for Cisco, Huawei, Juniper, Arista, MikroTik and softflowd are included.</li><li><strong>It tells you what’s wrong</strong>: the Sources table in Settings shows each device’s protocol, sampling, loss and status; when the Interface check page has no counters, it tells you the exact SNMP line to add. During testing I also saw states such as “waiting for a sampling rate”, “no template” and “loss” in the API, and the README says the Settings page gives advice for each (my device was healthy when I took the screenshots, so those hints aren’t pictured).</li><li><strong>Concrete troubleshooting advice</strong>: the README tells you to run tcpdump -ni any udp port 6343 or ... to find out whether the problem is the network or the local machine. If the UDP receive buffer is too small at startup, the log tells you to raise net.core.rmem_max.</li><li><strong>Naming is simple</strong>: add names through the form under Settings → Names, or edit inventory.txt in the data directory (an example file is included) — networks, devices, interfaces, hosts and SNMP all live in one text file. Minor nit: the example file&#39;s comment still says &quot;Sources → Names&quot;, while the menu item is now called &quot;Settings&quot;, so newcomers may hunt for it briefly.</li><li><strong>The sign-in page shows the default account</strong>, the first sign-in forces a password change, and no data is visible until you do. Beginners won’t get stuck wondering what the password is, and nobody keeps running on a weak default.</li></ol><h4>Traps beginners will hit (I hit all of them)</h4><p><strong>Trap 1: unsampled MikroTik exports show nothing for the first 5 minutes.</strong> RouterOS traffic-flow doesn’t sample by default, but its NetFlow v9 template carries a sampling-interval field with the value 0. traffic66 reads that as “sampling rate not known yet”, holds the records with a “waiting” status, and only after <strong>5 minutes</strong> treats them as 1:1. A first-time user will likely assume no data is arriving. The fix: mark the router as unsampled in inventory.txt, for example:</p><pre>device 10.66.0.2 CHR RouterOS unsampled</pre><p>or enable sampling on the router (see below). The README’s MikroTik example doesn’t mention this; I hope it gets added.</p><p><strong>Trap 2: IPFIX templates arrive late.</strong> After you add an IPFIX target on RouterOS, the router doesn’t resend its templates right away — by default it waits for 20 packets or 30 minutes. Meanwhile traffic66 shows “no template” and holds data for at most 5 minutes before discarding it. Setting v9-template-timeout to 1m solves it.</p><p><strong>Trap 3: don’t send v9 and IPFIX from the same router.</strong> In my test I configured both a v9 and an IPFIX target on one router, and the same flow was counted twice in traffic66. Its de-duplication is designed for “the same packet seen once on each of several devices”; one device exporting the same flows over two protocols looks like two sets of data. That’s really a configuration mistake — pick one protocol.</p><p><strong>Trap 4: RouterOS has no sFlow.</strong> traffic66’s README puts sFlow front and center, but RouterOS (at least CHR 7.24.5) <strong>has no sFlow export</strong>. I walked the CLI menu by menu — interface, ip, ipv6, system, tool, routing, snmp — and found nothing. The only option is /ip traffic-flow (NetFlow v1/v5/v9, IPFIX). Fortunately traffic66&#39;s README already uses NetFlow v9 in its MikroTik example, so it doesn&#39;t mislead anyone.</p><h3>4. Real-world test: RouterOS 7.24.5 → traffic66 — do the numbers add up?</h3><p>I ran a MikroTik CHR 7.24.5 under QEMU in a “client → CHR → traffic66 host” setup and generated traffic with ping, iperf3 (TCP/UDP) and curl, while capturing on the client side as ground truth. The router configuration was roughly:</p><pre>/ip traffic-flow set enabled=yes interfaces=all active-flow-timeout=1m inactive-flow-timeout=15s<br>/ip traffic-flow target add dst-address=10.66.0.1 port=2055 version=9 src-address=10.66.0.2 v9-template-timeout=1m<br># <br>/ip traffic-flow set packet-sampling=yes sampling-interval=1 sampling-space=99</pre><p>(The comment line in the middle reads “when you need sampling:”.)</p><p>Results:</p><ul><li><strong>Unsampled</strong>: for one iperf3 TCP flow, the client actually sent 2,305,217 bytes / 73 packets, and RouterOS exported exactly 2,305,217 / 73 over both v9 and IPFIX. traffic66’s figures equal the exported values plus the 18 bytes of Ethernet overhead per packet it adds by default, as the README describes. The UDP flow (643,560 bytes / 627 packets) and the HTTP flows matched the same way.</li><li><strong>1:100 sampling</strong>: RouterOS puts the sampling interval of 100 in every data record. traffic66 correctly scaled by ×100 and estimated the UDP flow at 1,320,000 bytes / 2,500 packets versus an actual 1,320,560 bytes / 2,502 packets. The Sources API reported the sampling state as “known” but left the sampling-rate field empty (I saw this in the API; I didn’t take screenshots during the sampled run) — a minor display issue.</li><li><strong>Loss detection</strong>: traffic66 reported 14–23% export loss. At first I suspected a false alarm, but RouterOS’s ether1 statistics showed tx-queue-drop counts from dozens to thousands (my VM is software-emulated and slow, and the egress queue overflowed under load). <strong>The loss was real, and traffic66 got it right.</strong></li></ul><p>I also tested sFlow decoding with my own sFlow v5 packet generator (RouterOS has no sFlow, so synthetic packets were the only option), covering IPv4/IPv6, VLAN/QinQ, counter samples, unknown record types and truncated datagrams. Nothing crashed and the decoded results were correct. I found one small detail: when an sFlow flow sample’s output-interface field signals “packet discarded” or “sent to multiple interfaces”, it’s treated as an ordinary interface number, so one or two non-existent interfaces show up in the UI. Little impact in everyday use, and easy to fix.</p><h3>5. Pros and cons</h3><p><strong>Pros</strong></p><ul><li>Truly a single file: download, unpack, start — running in a little over 3 seconds, with no database to install</li><li>Built-in GeoIP/ASN that works offline; packages for Windows, Linux and macOS</li><li>The sign-in page shows the default account and the first sign-in forces a password change; failed sign-ins are rate-limited out of the box (README: five wrong passwords in a minute block the address for a minute)</li><li>13 fully translated languages; Arabic and Urdu are fully mirrored (down to the chart time axes) and Bengali uses native digits</li><li>The receive status at the bottom of the sidebar, the Sources table in Settings and the guidance on the Interface check page are genuinely useful; the interface-check idea itself is rare among comparable tools</li><li>In my RouterOS test, NetFlow v9/IPFIX numbers matched the real traffic exactly, and sampling scaling and loss detection were correct</li><li>A demo mode and a terminal UI (traffic66 tui)</li></ul><p><strong>Cons / caveats</strong></p><ul><li>Not an open-source licence; commercial use and larger organizations need to register (though nothing gets switched off)</li><li>Building from source needs a C++ toolchain, and the binary is on the large side (about 71 MB for the release)</li><li>With unsampled MikroTik exports there’s a 5-minute “waiting” period, and IPFIX templates take time to arrive — neither is documented clearly yet</li><li>The web UI is plain HTTP; for internet-facing use you’ll need your own TLS reverse proxy (the README explains how)</li><li>A small flaw in how the special output-interface encodings in sFlow are handled</li></ul><h3>6. Verdict and score</h3><p>If all you want is to know who is using the bandwidth and where the traffic goes, without maintaining a full ELK or Grafana stack, traffic66 is one of the fastest-to-get-going options I’ve seen lately: it runs within seconds, the UI is available in 13 languages, and the Settings page tells you straight away what’s wrong. For MikroTik users, remember one rule — “use NetFlow v9, and either mark the router unsampled or turn on sampling&quot; — and you&#39;ll avoid nearly every trap.</p><p>My subjective scores (out of 10):</p><ul><li><strong>Installation — 9/10.</strong> The release build is practically zero-effort; building from source needs g++, minus 1</li><li><strong>UI — 8/10.</strong> Clear layout, click-to-filter, translations complete down to right-to-left support; some small details (one inconsistent Chinese term, the empty sampling-rate field) still need polish</li><li><strong>Beginner-friendliness — 7/10.</strong> Excellent diagnostics, but the MikroTik traps aren’t documented, which can confuse first-time users</li><li><strong>Overall — 8/10.</strong> Worth a try for small teams and home labs; read the licence before commercial use</li></ul><p><em>All test data in this article was measured by the author&amp;AI in a test environment; your results may differ.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=406470e6c6cf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Meet Traffic66]]></title>
            <link>https://medium.com/@fengyongxiao/we-installed-the-flow-analyzers-on-github-one-after-another-a66831ea05e3?source=rss-bbe366bb8eb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/a66831ea05e3</guid>
            <category><![CDATA[wireshark]]></category>
            <category><![CDATA[ntpng]]></category>
            <category><![CDATA[sflow]]></category>
            <category><![CDATA[tcpdump]]></category>
            <category><![CDATA[netflow]]></category>
            <dc:creator><![CDATA[Fengyongxiao]]></dc:creator>
            <pubDate>Thu, 08 Oct 2026 05:47:41 GMT</pubDate>
            <atom:updated>2026-10-09T02:00:25.521Z</atom:updated>
            <content:encoded><![CDATA[<h3>Flow analytics in a single program</h3><p>traffic66 collects flow exports from switches, routers and firewalls, and shows who uses the bandwidth, where the traffic goes, and whether the numbers match the devices’ own interface counters. One executable, no database to install, works offline.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*08PM3OwEx9pvx3qzqeGQqA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a66831ea05e3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>