Habr•August 4, 2026•🇷🇺Translated from Russian

Mapping Logical Air Gap Techniques for Secure Network Segmentation

A comprehensive technical guide examines practical methods for constructing logical air gaps that isolate sensitive network segments while still permitting controlled data exchange. The material builds on the principle that security is an architectural property rather than a simple perimeter fence, positioning logical air gaps between the extremes of a complete physical disconnect and an ordinary reverse proxy.

Why Firewalls Alone Are Insufficient

Traditional perimeter firewalls maintain an always-present network path that can be exploited through rule errors, unknown vulnerabilities, or configuration changes. For segments such as industrial control systems, backup repositories, hardware security modules, and machine-learning models, the cost of compromise justifies stronger isolation than packet filtering can provide.

Definition and Evaluation Criteria

A logical air gap exists when no end-to-end network path remains between an untrusted and a trusted segment, yet meaningful data exchange continues through an intermediary that terminates one session and originates another. Three primary axes are used for comparison: persistence of a direct route, which party initiates connections, and support for synchronous replies. Cost in money, latency, and operational effort forms an implicit fourth dimension.

Level 0 – Physical Isolation

At the lowest level, isolation is enforced by the absence or physical one-way nature of the transmission medium. Classic air gap and sneakernet rely on removable media with manual inspection. Hardware optical diodes provide unidirectional fiber links whose directionality is proven by circuitry rather than configuration. Stations with manual or robotic confirmation add human oversight to each transfer.

Level 1 – Network-Layer Separation

Separate VRF or VLAN instances without route leakage, dual-homed hosts with forwarding disabled, and bump-in-the-wire Layer-2 bridges all prevent packets from traversing the boundary. One-way UDP firewall rules offer a low-cost pilot before hardware diode deployment, though they remain dependent on correct configuration.

Level 2 – Transport-Layer Mediation

Proxies that fully terminate TCP sessions, pull-based models where the trusted side always initiates outbound connections, and mutual outbound connections to a meeting point in a DMZ are presented. Two common misconceptions are highlighted: reverse tunnels that re-establish an end-to-end stream and single-packet authorization schemes that ultimately permit direct connectivity once the port is opened.

Level 3 – Storage-Based Exchange

Message brokers such as Redis, RabbitMQ, Kafka, and NATS, file spools, object storage used as mailboxes, database tables acting as transfer queues, and one-way replication or change-data-capture mechanisms allow the two sides to interact only through a shared intermediary. Shared memory between virtual machines on the same hypervisor provides microsecond latency at the cost of placing both segments on a single host.

Level 4 – Semantic Validation

Above the transport layer, narrow RPC contracts using gRPC and protobuf, request reconstruction by proxies, signed envelopes, JSON Schema validation, two-phase ticket-and-callback flows, and human-in-the-loop approval further reduce the attack surface by operating on meaning rather than raw traffic.

Level 5 – Exotic Channels

Screen-to-camera QR-code chains, printed barcodes, and acoustic modems illustrate that isolation is a property of the overall construction rather than any single commercial product.

Related articles

Habr•Other

SpaceVM Border Firewall Configuration Guide Restricts SSH and Web Access to Specific Subnets

SpaceVM has published a detailed tutorial on configuring its border firewall using a three-node cluster example. The guide demonstrates how to allow SSH and HTTP/HTTPS access exclusively from the 172.22.21.0/24 subnet while disabling default system rules that permit broader access. It explains rule processing order, where lower index values take precedence, and shows how to apply traffic shaping limits. Administrators must activate rules after creation and verify connectivity from allowed and disallowed hosts. The instructions cover both incoming filter rules and shaping policies for management networks without affecting virtual machine traffic.

AntiMalware•Other

OpenAI Rolls Out Autonomous AI Agents Dots to All ChatGPT Plus Subscribers

OpenAI has expanded access to its personal AI agents known as Dots to all ChatGPT Plus subscribers, previously limited to higher-tier plans. The agents, introduced in September 2026, can independently handle long-running tasks, monitor external services, and proactively offer assistance without explicit user prompts. Dots operate using their own cloud-based computers and integrate with tools such as Slack, HubSpot, Atlassian, and password managers including 1Password. The company also broadened availability to the European Economic Area, the United Kingdom, and Switzerland while introducing a dedicated privacy center for permission management. Enhanced usage limits are currently active for Plus, Pro, and Business subscribers, with Enterprise customers receiving free access until January 13, 2027.

Habr•Other

Relatively Secure Method for Storing API Keys in Android Applications Using Native Code and JNI

Alfa-Bank developer shares a practical approach to protecting API keys in Android apps by combining native C++ code with a custom encryption scheme. The method stores an encrypted API key, the encryption key, and the cryptographic algorithm logic inside a native library loaded via JNI, forcing an attacker to locate and reverse all three components. The tutorial demonstrates implementation using NDK, CMake, and the XXTEA algorithm chosen for its balance of simplicity, speed, and reasonable security. A Kotlin wrapper class called ApiKeyExtractor exposes two native functions: one for encryption or decryption during build time and another that returns the decrypted key at runtime without exposing parameters. The article also explains how to generate the encrypted constants safely using instrumented unit tests and stresses that the goal is to raise the bar for attackers rather than achieve absolute security. Full source code for the demonstration project is provided, with clear warnings to exclude secret files from version control.

Habr•Other

Wireshark 5.0.0 Released with Full Theming System, Process Attribution, and Expanded Protocol Support

Wireshark 5.0.0 has been released as the new stable branch following the 4.6.x series. The update introduces a unified theming engine that controls all interface colors and graphs through JSONC theme files, along with a built-in Theme Designer tool. New capture options in Dumpcap, TShark, and Wireshark now record process PID, name, launch time, executable path, command line, parent process, and username for each packet. Additional improvements include hierarchical configuration profiles, real-time traffic distribution statistics, packet tagging with emojis and comments, Zstandard compression for capture files, and a compact JSON output mode for TShark. The HTTP/3 dissector received major enhancements for stream following, object export, and decompression. Numerous new protocols were added and legacy interfaces were removed.