Repository navigation
Network Modes
EN | FR | 🔵 MESH | package secubox-netmodes
Network-Modes chooses and shows the topology of the box: router, inline or passive sniffer, access point, relay. The page tells the truth about the current state: a mode is never invented, the Internet exit is read from the default route, and applying a mode needs an explicit confirmation that warns the connection may be cut.

Demonstration capture (fictitious data). Panel: /netmodes/ · API: /api/v1/netmodes/ · config: /etc/secubox/netmodes.toml. It ships in the secubox-lite profile (see Modules-by-Profile).
| Id | Name | Role |
|---|---|---|
router |
Router | full NAT router with DHCP, NAC and DPI |
sniffer-inline |
Inline sniffer | transparent bridge with dual-stream DPI (tc mirred) |
sniffer-passive |
Passive sniffer | out-of-band monitoring on a SPAN/TAP port |
access-point |
Access point | Wi-Fi AP 802.11r/k/v with band steering |
relay |
Relay/Extender | network relay with WireGuard VPN and tuned MTU |
-
The mode is never made up. With no recorded state,
GET /statusandGET /get_current_modeanswer "unknown" (mode_connu: false) instead of the former default "router". -
The WAN comes from the default route.
/statusadds the interface and gateway of the default route with the lowest metric. Blockingipcalls run in a thread, because the module is served inside the aggregator. -
Confirmed application. Applying a mode and restoring the backup go through an in-page confirmation (never
confirm()), with a warning that the connection may be cut. -
Honest page. The WAN, LAN and bridge forms saved nothing yet displayed "saved": they are removed. The page called two routes that do not exist (
/interfaces,/current_mode, hence "No interfaces"); it now uses/statusand/get_available_modes. -
Hardware detection is shown from
secubox-net-detectwhen present. That helper is shipped by no package at the moment, and the page explains its absence without raising an alarm.
-
POST /set_moderecords a pending mode without applying it. -
POST /apply_modebacks up the current netplan files, renders the mode template into00-secubox.yaml(if the template exists, otherwise netplan is left unchanged), runsnetplan apply, then records the mode only if it succeeded. -
POST /confirm_modeconfirms the new mode works;POST /rollbackrestores the last backup and applies it again.
GET /preview_changes?mode=… returns the netplan YAML that would be applied. MSS clamping goes through a dedicated nftables table (secubox_netmodes_mss), never iptables.
The routes above need an administrator token (require_jwt).
Architecture · NAC · DPI-Vivant · Hardware-Matrix · Modules-by-Profile · Modules-by-Family · Admin-Panels-Gallery
SecuBox-Deb · Licence : CMSD-1.0 (Source-Disclosed)
Contact : CyberMind · Gérald Kerma · Notre-Dame-du-Cruet, Savoie
Hardware-Matrix · Acknowledgments · Wiki v2.5.0
SecuBox | FR | DE | 中文 | v3.0.0-alpha.12
- Home
- Architecture
- Trixie | FR
- Hardware-Matrix
- Roadmap
- Profils
- Modules-by-Profile 📦 lite / isp / full : ce qu'embarque chaque profil | FR
- Modules-by-Family 🗂️ les modules par famille | FR
- DNS-Filtrage
- Multiboot ⭐
-
Live-USB-VirtualBox
run-vbox.sh -
Live-USB-QEMU
run-qemu.sh - Live-USB | FR | DE | 中文
- Auto-Load 🚚 boxes sans écran | FR
- First-Boot-Premier-Pas 🧭 premier pas | FR
- Installation | FR | DE | 中文
- ARM-Installation | FR | DE | 中文
- Netboot-Install 🔧 MOCHAbin netboot + signed install
- ESPRESSObin | FR | DE | 中文
- Eye-Remote 📡
- Android-ToolBox 📱 one-tap R3
- Browser-Extension 🧩 cartographie
- QEMU-ARM64 🖥️
- Configuration | FR | DE | 中文
- Troubleshooting | FR | DE | 中文
- ToolBox 👁️ cabine numérique · rapport vie privée
- Anti-Track 🛡️ bloque · empoisonne · anonymise
- Billets 📮 micro-blog gateway · média vignette zoomable
- Messagerie 💬 mur public, messages privés, radio/Billets/BBS centralisés
- Identite-SBX-OS 🪪 personnes, appareils, comptes liés, connexion passive
- Metalogue 🕸️ OSINT suite · Maigret + SpiderFoot (Maltego-style)
- WAF 🛡️ pare-feu applicatif autonome (nft direct, hors-HTTP) | FR
- SOC 🎯 vues rassemblées | FR
- Actor-Intelligence 🕵️ acteurs, échelle de réponse | FR
- NAC 🔐 contrôle d'accès réseau | FR
- Webfilter 🧹 filtrage DNS par catégories et par appareil | FR
- Interceptor 🎯 supervision de l'inspection (sbxmitm, sbxwaf, nDPI) | FR
- Network-Modes 🌐 modes réseau, WAN, interfaces | FR
- Caches-and-Mirrors 💾 caches de la box et dépôt APT local | FR
- Portal 🚪 portail de session | FR
- Certificates 📜 certificats | FR
- Metrics 📊 mesures, sites, cartes, rapport PDF | FR
- SBX-OS 🧩 le Hall en application | FR
- Aurora-Design 🎨 design system admin | FR
- Admin-Panels-Gallery 🖼️ galerie des 37 pages | FR
- ThreatMesh 🛰️ blocklist souveraine (feeds + mesh, sans CAPI) | FR
- Modules 🇬🇧
- MODULES-FR 🇫🇷
- MODULES-DE 🇩🇪
- MODULES-ZH 🇨🇳
-
Operations-Runbook 🛠️ incidents | FR
-
API-Reference | FR | DE | 中文
- Multi-Agent-Worktree — un agent · une issue · une branche