Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@
The release notes on GitHub are taken from this file: the section whose
heading is the version number.

## 2.4.0

- Top 66 opens on the two ends of each conversation (top clients and top servers side by side) instead of the grouped table; the table is still one click away and a shared link still lands where the sender was.
- The sponsor banner of an unregistered installation is a strip across the top of the browser instead of a column in the sidebar: the 728x90 banners are shown side by side, as many as the window has room for, and the rest rotate in together. It scrolls away with the page and is left out of print.
- The traffic66 server no longer downloads the sponsor banner. Only the viewer's browser fetches it from GitHub; a browser that cannot reach GitHub shows the built-in text. `/api/sponsor` and the copy in `<data>/sponsor` are gone (an existing folder can be deleted).
- The evaluation mark is on every page — the overview, the sources, the account and the help page were left out before — and the word repeats about half as often again, in the same faint ink and the same size. The login screen is not marked.
- Every page that shows incoming data refreshes itself, on a beat that follows the range: 20 s on 15 minutes, 30 s on an hour, a minute on 6 and 24 hours, five minutes on 7 and 30 days. The traffic, Top 66, flow paths, geo and interface pages used to stand still on a 6-hour or 24-hour range until something was clicked, which is what "the chart lags behind the data" looked like. The top bar says the beat the range actually uses.
- The source and destination network charts count traffic whose AS the database could not place, as "unknown", the way the AS table beside them already did. Leaving it out emptied whole buckets on short ranges and drew the chart as blocks with gaps between them.
- 95th-percentile billing shows the line its figure was taken across: one chart per billed interface, inbound and outbound over the period, with a dashed line at the figure charged. `GET /api/billing/series?from&to&if` returns the same five-minute buckets. Buckets the device reported nothing for stay empty, as they are left out of the percentile.
- Geo map: the three line widths are 1.5 / 3 / 4.5 px (were 1.5 / 4 / 8). The widest line drowned the five shades that carry the same figure.
- A licence says who it is made out to — a person or an organisation — and the sidebar, the footer and the licence page say it beside the name. The signed message gains a third version; licences issued before it still verify and show "kind not stated" rather than a guess.
- The asset ledger's address assignment is removed: the IP page, the addresses, the utilisation bars, the free-address suggestions, the conflict report, their CSV columns and the two paste formats that only fed them (`show ip arp`, `show mac address-table`). What is left is a note beside a device's ports: the networks it carries, added on the device's own page. Nothing is looked up in them. Sites and racks, and names, now stand on their own in the sidebar instead of under an asset-management group. A ledger filled in before this keeps its address rows; nothing reads them.
- `GET /api/report?from&to&if` answers the numbers behind a period report: traffic and flow totals, average, peak and 95th percentile of the whole period, a row per interface, the top hosts, applications and countries, and how many findings the detection rules raised, by severity. `if=exporter/ifindex` narrows the whole report to one interface (its totals, its top lists, its row).
- Each interface row says which measurement it rests on: `counters` where the device's own interface counters were read (what a carrier bills against — average, peak and 95th percentile per direction, with the share of the period that was measured), `flows` where there are none and the sampled flows are the only measurement there is. Utilisation against the interface speed is given only where that speed is known, rather than as a percentage of a guess.
- The peak and the percentile leave out the bucket that is still filling, so a report that reaches up to now no longer takes its peak from a half-counted minute.
- `TestAttackFound` no longer fails now and then: the test builds its traffic from a fixed hour of the day, so the 1:4096 sampling of the demo attack draws the same records on every run and on every platform (the port scan reaches detection as 18 distinct ports against a threshold of 5, instead of coming within one port of it at 15:00).

## 2.3.9

- NetFlow / IPFIX loss compensation starts much sooner: a session is compensated once 100 records have arrived and the factor is recomputed every 5 seconds (was 30 seconds), so totals in the first minute after start are no longer low when the exporter or the kernel drops packets. With 37% loss the compensated total at 30 s rose from 0.62 to 0.98 of the real total.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ macOS: run `xattr -dr com.apple.quarantine .` in the folder first. PowerShell: u
Web UI: **Help** in the menu. GitHub: [MANUAL.md](docs/MANUAL.md)

Free for evaluation and for organizations under 100 people ([licence](LICENSE.md)).
Unregistered builds show a small sponsor banner, loaded by your browser from GitHub or cached by the server from GitHub (no data sent); registering removes it.
Unregistered builds show a sponsor strip, loaded only by your browser from GitHub (the server never fetches it, and no data is sent); registering removes it.
5 changes: 1 addition & 4 deletions cmd/traffic66/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ var version = ""
// CHANGELOG.md. TestDevVersionMatchesChangelog keeps the two in step: the
// default used to be a hardcoded 0.1.0-dev, and because nothing checked it
// it stayed that way for two major versions.
const devVersion = "2.3.9"
const devVersion = "2.4.0"

func init() {
if version == "" {
Expand Down Expand Up @@ -576,9 +576,6 @@ func serve(args []string, demo bool) {
log.Printf("your browser will warn about it once; check that fingerprint, or add %s to your trusted certificates", info.CertPath)
}
}
if offline == nil {
go srv.RunSponsor(ctx) // sponsor banner fallback; skipped while registered
}
hs := &http.Server{Handler: srv.Handler(), ReadHeaderTimeout: 10 * time.Second}
go hs.Serve(ln)
log.Printf("web UI: %s://%s", scheme, displayAddr(ln.Addr()))
Expand Down
2 changes: 1 addition & 1 deletion docs/MANUAL.ar.md
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ root، وWindows إلى [Npcap](https://npcap.com). تأتي التدفقات ا
`license.json` الذي تتلقاه في دليل البيانات. للتواصل:
<route66traffic66@gmail.com>.

تعرض التثبيتات غير المسجلة لافتة رعاية صغيرة في الشريط الجانبي الأيسر. يحمّلها متصفحك من GitHub ([ads-sponsor](https://github.com/githubflyideas/ads-sponsor))، أو إن تعذّر الوصول إليه فمن نسخة نزّلها خادم traffic66 من هناك ويحفظها في `<data>/sponsor`؛ ولا يرسل traffic66 أي بيانات عنك أو عن التثبيت. التسجيل يزيلها.
تعرض التثبيتات غير المسجلة شريط رعاية أعلى الصفحة. يحمّله متصفحك وحده من GitHub ([ads-sponsor](https://github.com/githubflyideas/ads-sponsor))؛ ولا يتصل خادم traffic66 بـ GitHub لأجله أبدًا ولا يحتفظ بنسخة منه. والمتصفح الذي لا يصل إلى GitHub يعرض بدلًا منه نصًا قصيرًا مدمجًا. لا تُرسل أي بيانات عنك أو عن التثبيت. ويزول بالتسجيل.

<a id="11-security-sizing-troubleshooting"></a>

Expand Down
2 changes: 1 addition & 1 deletion docs/MANUAL.bn.md
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ available (ইংরেজি পাঠ বাধ্যতামূলক): ম
পাবেন তা data directory-তে রাখুন। যোগাযোগ:
<route66traffic66@gmail.com>।

নিবন্ধিত নয় এমন ইনস্টলেশনে বাম সাইডবারে একটি ছোট স্পনসর ব্যানার দেখা যায়। আপনার ব্রাউজার এটি GitHub ([ads-sponsor](https://github.com/githubflyideas/ads-sponsor)) থেকে লোড করে, আর GitHub-এ পৌঁছাতে না পারলে traffic66 সার্ভার সেখান থেকে ডাউনলোড করে `<data>/sponsor`-এ রাখা কপি থেকে; traffic66 আপনার বা ইনস্টলেশনের কোনো তথ্য পাঠায় না। নিবন্ধন করলে এটি সরে যায়।
নিবন্ধিত নয় এমন ইনস্টলেশনে পাতার উপরে একটি স্পনসর ফিতা দেখা যায়। শুধু আপনার ব্রাউজার এটি GitHub ([ads-sponsor](https://github.com/githubflyideas/ads-sponsor)) থেকে লোড করে; traffic66 সার্ভার এর জন্য কখনো GitHub-এ যোগাযোগ করে না এবং কোনো কপি রাখে না। যে ব্রাউজার GitHub-এ পৌঁছাতে পারে না, সেখানে এর বদলে একটি ছোট অন্তর্নির্মিত লেখা দেখা যায়। আপনার বা ইনস্টলেশনের কোনো তথ্য পাঠানো হয় না। নিবন্ধন করলে এটি সরে যায়।

<a id="11-security-sizing-troubleshooting"></a>

Expand Down
2 changes: 1 addition & 1 deletion docs/MANUAL.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ Installationsnummer; senden Sie sie an den Autor und legen Sie die
zurückgeschickte `license.json` in das Datenverzeichnis. Kontakt:
<route66traffic66@gmail.com>.

Nicht registrierte Installationen zeigen in der linken Seitenleiste ein kleines Sponsorenbanner. Ihr Browser lädt es von GitHub ([ads-sponsor](https://github.com/githubflyideas/ads-sponsor)) oder, wenn GitHub nicht erreichbar ist, aus einer Kopie, die der traffic66-Server von dort geladen hat und in `<data>/sponsor` aufbewahrt; traffic66 sendet keinerlei Daten über Sie oder die Installation. Mit der Registrierung verschwindet es.
Nicht registrierte Installationen zeigen oben auf der Seite einen Sponsorenstreifen. Nur Ihr Browser lädt ihn von GitHub ([ads-sponsor](https://github.com/githubflyideas/ads-sponsor)); der traffic66-Server kontaktiert GitHub dafür nie und hält keine Kopie. Ein Browser, der GitHub nicht erreicht, zeigt stattdessen einen kurzen eingebauten Text. Es werden keine Daten über Sie oder die Installation gesendet. Mit der Registrierung verschwindet er.

<a id="11-security-sizing-troubleshooting"></a>

Expand Down
2 changes: 1 addition & 1 deletion docs/MANUAL.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ pie de cada página muestra el número de instalación de 8 dígitos; envíelo
al autor y ponga el `license.json` que reciba en el directorio de datos.
Contacto: <route66traffic66@gmail.com>.

Las instalaciones no registradas muestran un pequeño banner de patrocinio en la barra lateral izquierda. Tu navegador lo carga desde GitHub ([ads-sponsor](https://github.com/githubflyideas/ads-sponsor)) o, si no puede alcanzarlo, desde una copia que el servidor traffic66 descargó de allí y guarda en `<data>/sponsor`; traffic66 no envía ningún dato sobre ti ni sobre la instalación. Al registrarse desaparece.
Las instalaciones no registradas muestran una franja de patrocinio en la parte superior de la página. Solo tu navegador la carga, desde GitHub ([ads-sponsor](https://github.com/githubflyideas/ads-sponsor)); el servidor traffic66 nunca contacta con GitHub para ello ni guarda una copia. Un navegador que no alcanza GitHub muestra en su lugar un breve texto incorporado. No se envía ningún dato sobre ti ni sobre la instalación. Al registrarte desaparece.

<a id="11-security-sizing-troubleshooting"></a>

Expand Down
2 changes: 1 addition & 1 deletion docs/MANUAL.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ d'installation à 8 chiffres ; envoyez-le à l'auteur et placez le
`license.json` reçu en retour dans le répertoire de données. Contact :
<route66traffic66@gmail.com>.

Les installations non enregistrées affichent une petite bannière de sponsor dans la barre latérale gauche. Votre navigateur la charge depuis GitHub ([ads-sponsor](https://github.com/githubflyideas/ads-sponsor)) ou, s'il ne peut pas l'atteindre, depuis une copie que le serveur traffic66 y a téléchargée et garde dans `<data>/sponsor` ; traffic66 n'envoie aucune donnée sur vous ni sur l'installation. L'enregistrement la supprime.
Les installations non enregistrées affichent un bandeau de sponsor en haut de la page. Seul votre navigateur le charge, depuis GitHub ([ads-sponsor](https://github.com/githubflyideas/ads-sponsor)) ; le serveur traffic66 ne contacte jamais GitHub pour cela et n'en garde aucune copie. Un navigateur qui ne peut pas atteindre GitHub affiche à la place un court texte intégré. Aucune donnée sur vous ni sur l'installation n'est envoyée. L'enregistrement le fait disparaître.

<a id="11-security-sizing-troubleshooting"></a>

Expand Down
2 changes: 1 addition & 1 deletion docs/MANUAL.hi.md
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ installation number दिखता है; उसे लेखक को भे
मिले उसे data directory में रखें। संपर्क:
<route66traffic66@gmail.com>।

अपंजीकृत इंस्टॉलेशन में बाईं साइडबार में एक छोटा प्रायोजक बैनर दिखता है। आपका ब्राउज़र इसे GitHub ([ads-sponsor](https://github.com/githubflyideas/ads-sponsor)) से लोड करता है, या GitHub तक न पहुँच पाने पर उस प्रति से जिसे traffic66 सर्वर ने वहीं से डाउनलोड करके `<data>/sponsor` में रखा है; traffic66 आपके या इंस्टॉलेशन के बारे में कोई डेटा नहीं भेजता। पंजीकरण करने पर यह हट जाता है।
अपंजीकृत इंस्टॉलेशन में पेज के ऊपर एक प्रायोजक पट्टी दिखती है। इसे केवल आपका ब्राउज़र GitHub ([ads-sponsor](https://github.com/githubflyideas/ads-sponsor)) से लोड करता है; traffic66 सर्वर इसके लिए कभी GitHub से संपर्क नहीं करता और कोई प्रति नहीं रखता। जो ब्राउज़र GitHub तक नहीं पहुँच पाता, वह इसकी जगह एक छोटा अंतर्निहित पाठ दिखाता है। आपके या इंस्टॉलेशन के बारे में कोई डेटा नहीं भेजा जाता। पंजीकरण करने पर यह हट जाती है।

<a id="11-security-sizing-troubleshooting"></a>

Expand Down
2 changes: 1 addition & 1 deletion docs/MANUAL.id.md
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ setiap halaman menampilkan nomor instalasi 8 digit; kirim nomor itu kepada
pembuatnya, lalu letakkan `license.json` yang Anda terima di direktori data.
Kontak: <route66traffic66@gmail.com>.

Instalasi yang belum terdaftar menampilkan banner sponsor kecil di bilah sisi kiri. Browser Anda memuatnya dari GitHub ([ads-sponsor](https://github.com/githubflyideas/ads-sponsor)), atau bila GitHub tidak terjangkau, dari salinan yang diunduh server traffic66 dari sana dan disimpan di `<data>/sponsor`; traffic66 tidak mengirim data apa pun tentang Anda atau instalasi. Mendaftar akan menghapusnya.
Instalasi yang belum terdaftar menampilkan strip sponsor di bagian atas halaman. Hanya browser Anda yang memuatnya, dari GitHub ([ads-sponsor](https://github.com/githubflyideas/ads-sponsor)); server traffic66 tidak pernah menghubungi GitHub untuk itu dan tidak menyimpan salinan. Browser yang tidak dapat menjangkau GitHub menampilkan teks bawaan singkat sebagai gantinya. Tidak ada data tentang Anda atau instalasi yang dikirim. Mendaftar akan menghapusnya.

<a id="11-security-sizing-troubleshooting"></a>

Expand Down
2 changes: 1 addition & 1 deletion docs/MANUAL.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ Linux では root か `setcap cap_net_raw,cap_net_admin+ep`、macOS では root

[PolyForm Noncommercial License 1.0.0](../LICENSE.md) と [Traffic66 Additional Use Grant](../ADDITIONAL-USE-GRANT.md)(英語版が正本)のもとでのソースアベイラブルです。評価用途と 100 人未満の組織は無料。それより大きな組織は本番利用 30 日後に登録が必要です。販売、他者向けのホスティング、競合製品には商用ライセンスが必要です。機能が止まることは一切ありません。各ページの下部に 8 桁のインストール番号が表示されるので、それを作者に送り、返ってきた `license.json` をデータディレクトリに置いてください。連絡先:<route66traffic66@gmail.com>。

未登録のインストールでは、左サイドバーに小さなスポンサーバナーが表示されます。ブラウザーが GitHub([ads-sponsor](https://github.com/githubflyideas/ads-sponsor))から読み込みます。GitHub に届かない場合は、traffic66 サーバーがそこからダウンロードして `<data>/sponsor` に保存したコピーを使います。traffic66 はあなたやインストールに関するデータを一切送信しません。登録すると表示されなくなります。
未登録のインストールでは、ページ上部にスポンサー帯が表示されます。読み込むのはブラウザーだけで、GitHub([ads-sponsor](https://github.com/githubflyideas/ads-sponsor))から取得します。traffic66 サーバーはそのために GitHub へ接続せず、コピーも保持しません。GitHub に届かないブラウザーでは、代わりに短い組み込みテキストが表示されます。あなたやインストールに関するデータは送信されません。登録すると表示されなくなります。

<a id="11-security-sizing-troubleshooting"></a>

Expand Down
2 changes: 1 addition & 1 deletion docs/MANUAL.ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ Linux는 root 또는 `setcap cap_net_raw,cap_net_admin+ep`, macOS는 root, Windo

[PolyForm Noncommercial License 1.0.0](../LICENSE.md)과 [Traffic66 Additional Use Grant](../ADDITIONAL-USE-GRANT.md)(영문이 구속력을 가짐)에 따른 소스 공개: 평가 용도와 100명 미만 조직은 무료이고, 더 큰 조직은 운영 사용 30일 뒤 등록합니다. 판매, 타인을 위한 호스팅, 경쟁 제품에는 상용 라이선스가 필요합니다. 꺼지는 기능은 전혀 없습니다. 모든 페이지 하단에 8자리 설치 번호가 표시되니 작성자에게 보내고, 돌려받은 `license.json`을 데이터 디렉터리에 넣으십시오. 연락처: <route66traffic66@gmail.com>.

등록되지 않은 설치에서는 왼쪽 사이드바에 작은 후원 배너가 표시됩니다. 브라우저가 GitHub([ads-sponsor](https://github.com/githubflyideas/ads-sponsor))에서 불러오고, GitHub에 닿지 않으면 traffic66 서버가 그곳에서 내려받아 `<data>/sponsor`에 보관한 사본을 사용합니다. traffic66은 사용자나 설치에 관한 어떤 데이터도 보내지 않습니다. 등록하면 사라집니다.
등록되지 않은 설치에서는 페이지 상단에 후원 배너 띠가 표시됩니다. 브라우저만 GitHub([ads-sponsor](https://github.com/githubflyideas/ads-sponsor))에서 불러오며, traffic66 서버는 이를 위해 GitHub에 접속하지 않고 사본도 보관하지 않습니다. GitHub에 닿지 않는 브라우저에서는 대신 짧은 내장 문구가 표시됩니다. 사용자나 설치에 관한 데이터는 전송되지 않습니다. 등록하면 사라집니다.

<a id="11-security-sizing-troubleshooting"></a>

Expand Down
Loading
Loading