Skip to content

Real-time network monitor + outbound firewall — see & block every connection. Privacy-first, local-first, Rust fleet agent, SIEM exports, 8 languages. / Moniteur réseau temps réel + pare-feu sortant, agent de flotte Rust, exports SIEM. 100 % local.

Dark-mode contrast + recent-traffic search (user feedback)

MoneyLisa57ffd33792ba
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4e66575..9b46f2e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,27 @@ The format follows [Keep a Changelog](https://keepachangelog.com/) — EN/FR.
## [Unreleased]
+### Added / Ajouté
+
+- EN: **Recent-traffic search** — the live packet feed gains a query
+ field that narrows rows by process name, remote host or protocol,
+ answering the most requested triage shortcut. Localized in all 8 UI
+ languages.
+ FR: **Recherche dans le trafic récent** — le flux de paquets gagne un
+ champ de requête qui réduit les lignes par nom de processus, hôte
+ distant ou protocole. Localisé dans les 8 langues de l'UI.
+
+### Fixed / Corrigé
+
+- EN: **Dark-mode legibility** — `--text-muted`/`--text-faint` (and the
+ light-theme equivalents) were ~2.5–4:1 contrast at the 9–10px sizes
+ used in lists; bumped to ≈4.5–5.5:1, and the packet feed microtext
+ goes from 9px to 10px. Reported by a user on TabNews.
+ FR: **Lisibilité du thème sombre** — `--text-muted`/`--text-faint`
+ (et les équivalents clairs) tombaient à ~2,5–4:1 aux tailles 9–10px
+ des listes ; remontés à ≈4,5–5,5:1, et le microtexte du flux de
+ paquets passe de 9px à 10px. Signalé par un utilisateur TabNews.
+
## [1.6.4] — 2026-10-23 — security & efficiency hardening / durcissement sécurité & efficacité
### Security / Sécurité
diff --git a/frontend/index.html b/frontend/index.html
index f181a85..13b598b 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -48,8 +48,8 @@
html[data-theme="dark"], :root {
--bg: #000000; --surface: #0f0f0f; --surface-2: #1c1c1c;
--border: #2a2a2a; --scrollbar: #333333; --scrollbar-h: #4a4a4a;
- --text: #e2e8f0; --text-2: #cbd5e1; --text-dim: #94a3b8;
- --text-muted: #64748b; --text-faint: #475569;
+ --text: #e2e8f0; --text-2: #cbd5e1; --text-dim: #a4b4c6;
+ --text-muted: #8494a8; --text-faint: #6c7d94;
--blue-text: #93c5fd; --red-text: #fca5a5; --green-text: #86efac;
--warn-text: #fbbf24;
--danger-bg: #2d1b1b; --danger-active: #3b1f2b;
@@ -62,7 +62,7 @@
--bg: #eef1f5; --surface: #ffffff; --surface-2: #eef1f4;
--border: #d9dee5; --scrollbar: #b9c4cf; --scrollbar-h: #8fa0ae;
--text: #1e293b; --text-2: #334155; --text-dim: #51617a;
- --text-muted: #64748b; --text-faint: #94a3b8;
+ --text-muted: #5f6f83; --text-faint: #7c8ea4;
--blue-text: #1d4ed8; --red-text: #dc2626; --green-text: #15803d;
--warn-text: #b45309;
--danger-bg: #fef2f2; --danger-active: #fecdd3;
diff --git a/frontend/src/components/Sidebar.jsx b/frontend/src/components/Sidebar.jsx
index 386e232..78d5244 100644
--- a/frontend/src/components/Sidebar.jsx
+++ b/frontend/src/components/Sidebar.jsx
@@ -9,7 +9,8 @@
* listes déroulantes appareils LAN + hôtes externes, et le flux de
* paquets récents.
*/
-import { Wifi, Smartphone, Monitor, Tv, Cpu, HelpCircle, ShieldOff, Shield, Skull, PauseCircle, Microscope } from 'lucide-react'
+import { useState } from 'react'
+import { Wifi, Smartphone, Monitor, Tv, Cpu, HelpCircle, ShieldOff, Shield, Skull, PauseCircle, Microscope, Search } from 'lucide-react'
import PrivacyScore from './PrivacyScore'
import BandwidthChart from './BandwidthChart'
import { useT } from '../i18n'
@@ -86,6 +87,11 @@ export function matchesFilter(node, filter, alertedIds) {
export default function Sidebar({ nodes, lanDevices, packets, selected, onClose, privacyScore, bandwidth, filter, onFilterChange, onWhitelist, alertedNodes }) {
const { t } = useT()
+ // EN: Local query narrowing the recent-traffic feed by app name,
+ // host or protocol — independent from the graph search filter.
+ // FR: Requête locale qui réduit le flux de trafic récent par nom
+ // d'app, hôte ou protocole — indépendante du filtre du graphe.
+ const [pktQuery, setPktQuery] = useState('')
const extNodes = Object.values(nodes).filter(n => n.id !== 'local')
// EN: the "Alerts" chip narrows the LAN list to flagged devices too —
// other categories keep the full device list (they're local, not hosts).
@@ -99,6 +105,12 @@ export default function Sidebar({ nodes, lanDevices, packets, selected, onClose,
const filteredNodes = extNodes.filter(n => matchesFilter(n, filter, alertedNodes))
const hiddenCount = filteredNodes.length < extNodes.length ? extNodes.length : null
+ const pq = pktQuery.trim().toLowerCase()
+ const visiblePackets = !pq ? packets : packets.filter(p =>
+ (p.process || '').toLowerCase().includes(pq)
+ || (p.dst || '').toLowerCase().includes(pq)
+ || (p.protocol || '').toLowerCase().includes(pq))
+
return (
/* EN: Bento layout — each section is a rounded card floating on the
black rail, separated by gaps instead of divider lines.
@@ -179,9 +191,35 @@ export default function Sidebar({ nodes, lanDevices, packets, selected, onClose,
</div>
{/* EN: Recent packet feed / FR: Flux de paquets récents */}
- <div style={{ ...CARD, maxHeight: 160, overflowY: 'auto', flexShrink: 0 }}>
+ <div style={{ ...CARD, maxHeight: 190, overflowY: 'auto', flexShrink: 0 }}>
<SectionTitle label={t('section_packets')} />
- {packets.slice(0, 25).map((p, i) => <PacketRow key={i} packet={p} />)}
+ {/* EN: Narrow the feed to one app/host/protocol — the most
+ requested triage shortcut on the live feed.
+ FR: Réduire le flux à une app/un hôte/un protocole — le
+ raccourci de triage le plus demandé sur le flux live. */}
+ <div style={{ position: 'relative', padding: '0 16px 4px' }}>
+ <Search size={10} style={{
+ position: 'absolute', left: 22, top: '50%',
+ transform: 'translateY(-60%)', color: 'var(--text-muted)', pointerEvents: 'none',
+ }} />
+ <input
+ value={pktQuery}
+ onChange={e => setPktQuery(e.target.value)}
+ placeholder={t('packets_filter')}
+ style={{
+ width: '100%', boxSizing: 'border-box',
+ background: 'var(--bg)', border: '1px solid var(--border)',
+ borderRadius: 6, padding: '3px 8px 3px 22px',
+ fontSize: 10, color: 'var(--text)', outline: 'none',
+ }}
+ />
+ </div>
+ {visiblePackets.slice(0, 25).map((p, i) => <PacketRow key={i} packet={p} />)}
+ {pq && visiblePackets.length === 0 && (
+ <div style={{ padding: '6px 16px 10px', fontSize: 10, color: 'var(--text-faint)', fontStyle: 'italic' }}>
+ {t('packets_none')}
+ </div>
+ )}
</div>
{/* EN: Tiny credit footer floating on the rail — same free-floating
@@ -486,14 +524,14 @@ function PacketRow({ packet }) {
<div style={{ padding: '3px 16px', display: 'flex', alignItems: 'center', gap: 6 }}>
<span style={{ color, fontSize: 10, flexShrink: 0 }}>{out ? '>' : '<'}</span>
{packet.process && (
- <span style={{ fontSize: 9, color: '#f59e0b', flexShrink: 0, maxWidth: 80, overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>
+ <span style={{ fontSize: 10, color: '#f59e0b', flexShrink: 0, maxWidth: 80, overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>
{packet.process}
</span>
)}
- <span style={{ fontSize: 9, color: 'var(--text-dim)', flex: 1, overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>
+ <span style={{ fontSize: 10, color: 'var(--text-dim)', flex: 1, overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>
{packet.dst} · {packet.protocol}
</span>
- <span style={{ fontSize: 9, color: 'var(--text-faint)', flexShrink: 0 }}>{packet.size}B</span>
+ <span style={{ fontSize: 10, color: 'var(--text-faint)', flexShrink: 0 }}>{packet.size}B</span>
</div>
)
}
diff --git a/frontend/src/locales/de.js b/frontend/src/locales/de.js
index 53bfeb2..4cd87ce 100644
--- a/frontend/src/locales/de.js
+++ b/frontend/src/locales/de.js
@@ -44,6 +44,8 @@ export default {
section_lan: n => `LAN-Geräte (${n})`,
section_ext: (n, total) => total ? `Externe Hosts (${n}/${total})` : `Externe Hosts (${n})`,
section_packets: 'Aktueller Verkehr',
+ packets_filter: 'Nach App, Host, Protokoll filtern…',
+ packets_none: 'Kein passender Verkehr im Live-Feed',
// Node detail field labels
field_ip: 'IP',
diff --git a/frontend/src/locales/en.js b/frontend/src/locales/en.js
index b02d4d3..e8fabe7 100644
--- a/frontend/src/locales/en.js
+++ b/frontend/src/locales/en.js
@@ -43,6 +43,8 @@ export default { // Navigation
section_lan: n => `LAN Devices (${n})`,
section_ext: (n, total) => total ? `External hosts (${n}/${total})` : `External hosts (${n})`,
section_packets: 'Recent traffic',
+ packets_filter: 'Filter by app, host, protocol…',
+ packets_none: 'No matching traffic in the live feed',
// Node detail field labels / Étiquettes des champs de détail de nœud
field_ip: 'IP',
diff --git a/frontend/src/locales/es.js b/frontend/src/locales/es.js
index 1140717..721cec4 100644
--- a/frontend/src/locales/es.js
+++ b/frontend/src/locales/es.js
@@ -43,6 +43,8 @@ export default { // Navegación
section_lan: n => `Dispositivos LAN (${n})`,
section_ext: (n, total) => total ? `Hosts externos (${n}/${total})` : `Hosts externos (${n})`,
section_packets: 'Tráfico reciente',
+ packets_filter: 'Filtrar por app, host, protocolo…',
+ packets_none: 'Sin tráfico coincidente en el flujo',
// Etiquetas de los campos de detalle de nodo
field_ip: 'IP',
diff --git a/frontend/src/locales/fr.js b/frontend/src/locales/fr.js
index 8b4331a..1547713 100644
--- a/frontend/src/locales/fr.js
+++ b/frontend/src/locales/fr.js
@@ -43,6 +43,8 @@ export default { // Navigation
section_lan: n => `Appareils LAN (${n})`,
section_ext: (n, total) => total ? `Hôtes externes (${n}/${total})` : `Hôtes externes (${n})`,
section_packets: 'Flux récents',
+ packets_filter: 'Filtrer par app, hôte, protocole…',
+ packets_none: 'Aucun trafic correspondant dans le flux',
// Étiquettes des champs de détail de nœud / Node detail field labels
field_ip: 'IP',
diff --git a/frontend/src/locales/ja.js b/frontend/src/locales/ja.js
index fa2be74..fbc4d5d 100644
--- a/frontend/src/locales/ja.js
+++ b/frontend/src/locales/ja.js
@@ -44,6 +44,8 @@ export default {
section_lan: n => `LANデバイス (${n})`,
section_ext: (n, total) => total ? `外部ホスト (${n}/${total})` : `外部ホスト (${n})`,
section_packets: '最近のトラフィック',
+ packets_filter: 'アプリ・ホスト・プロトコルで絞り込み…',
+ packets_none: '一致するトラフィックはありません',
// ノード詳細フィールド
field_ip: 'IP',
diff --git a/frontend/src/locales/pt-BR.js b/frontend/src/locales/pt-BR.js
index 4417eeb..44e9aba 100644
--- a/frontend/src/locales/pt-BR.js
+++ b/frontend/src/locales/pt-BR.js
@@ -44,6 +44,8 @@ export default {
section_lan: n => `Dispositivos LAN (${n})`,
section_ext: (n, total) => total ? `Hosts externos (${n}/${total})` : `Hosts externos (${n})`,
section_packets: 'Tráfego recente',
+ packets_filter: 'Filtrar por app, host, protocolo…',
+ packets_none: 'Nenhum tráfego correspondente no feed',
// Campos do detalhe do nó
field_ip: 'IP',
diff --git a/frontend/src/locales/ru.js b/frontend/src/locales/ru.js
index ffa26ac..dce13d7 100644
--- a/frontend/src/locales/ru.js
+++ b/frontend/src/locales/ru.js
@@ -44,6 +44,8 @@ export default {
section_lan: n => `LAN-устройства (${n})`,
section_ext: (n, total) => total ? `Внешние хосты (${n}/${total})` : `Внешние хосты (${n})`,
section_packets: 'Недавний трафик',
+ packets_filter: 'Фильтр по приложению, хосту, протоколу…',
+ packets_none: 'Нет подходящего трафика в ленте',
// Поля карточки узла
field_ip: 'IP',
diff --git a/frontend/src/locales/zh-CN.js b/frontend/src/locales/zh-CN.js
index fa10a55..23c2696 100644
--- a/frontend/src/locales/zh-CN.js
+++ b/frontend/src/locales/zh-CN.js
@@ -44,6 +44,8 @@ export default {
section_lan: n => `局域网设备 (${n})`,
section_ext: (n, total) => total ? `外部主机 (${n}/${total})` : `外部主机 (${n})`,
section_packets: '最近流量',
+ packets_filter: '按应用、主机、协议筛选…',
+ packets_none: '实时流量中没有匹配项',
// 节点详情字段
field_ip: 'IP',