Terrestrial Internet architecture (TCP/IP) assumes an uninterrupted end-to-end physical path and millisecond round-trip times (RTT). Across the Earth–Mars physical channel of NeoAnatolia, TCP/IP suffers a complete mathematical collapse across four fundamental regimes.
Architectural Decision: NeoAnatolia OS abandons TCP/IP on the interplanetary trunk entirely, deploying Hermes-Net—a Store-Carry-Forward architecture built on IETF RFC 9171 Bundle Protocol Version 7 (BPv7) and CCSDS 734.1-B-1 / RFC 5326 Licklider Transmission Protocol (LTP).
This specification defines the mathematical breakdown of TCP/IP in deep space, the Hermes-Net layered stack, CBHE/IPN addressing table, post-quantum BPSec blocks, LTP Red/Green mechanics, Probabilistic CGR (OCGR) equations, and the core Rust routing engine.
1. Mission Problem: Mathematical Collapse of TCP/IP in Deep Space
At maximum Earth–Mars separation (401 million km, one-way light time OWLT = 1,344 s, RTT = 2,688 s), standard TCP/IP is paralyzed by handshake latency, unacknowledged pipeline explosion, and congestion-control misinterpretation.
At RTT = 2,688 s and packet loss p = 10⁻⁴ (BER ≈ 10⁻⁵ from Martian dust storms and solar wind), TCP throughput over a 1 Gbps laser trunk collapses to 54 bits/second.
TCP waits for SYN → SYN-ACK → ACK before sending a single payload byte. At maximum Earth–Mars distance, opening a socket alone takes 1.5 × RTT ≈ 67.2 minutes.
When the 1550 nm DSOC optical link between Erzurum (DAG) / Antalya (TUG) and Martian orbit reaches 1 Gbps, in-flight unacknowledged data hits 336 Gigabytes—far beyond any standard TCP Window Size.
TCP interprets every lost packet as network congestion and halves its rate, whereas deep-space packet loss stems from high physical Bit Error Rates (BER ≈ 10⁻⁵).
Planetary occultation of orbital relays, Earth rotation, and the 14-day Solar Conjunction mean a contemporaneous end-to-end path frequently does not exist.
2. Hermes-Net Layered Stack & CBHE/IPN Addressing Space
Local colony networks (Arcadia Planitia 5G/6G, Wi-Fi 7, and fiber SCADA) run high-speed IPv6/QUIC, while every off-planet packet is encapsulated into a BPv7 Bundle at the Mars-Central-1 Edge DTN Gateway.
Instead of verbose text URIs, Hermes-Net uses Compressed Bundle Header Encoding (CBHE) compliant ipn:node.service addressing:
| Node Group | Node Name & Location | IPN Node Number | Critical Service Endpoints (service) |
|---|---|---|---|
| Turkey Primary Hub | World-Central-TR (Konya Karapınar) | ipn:90 | .0 (Admin), .1 (CRDT Sync), .2 (Digital Twin) |
| Turkey Optical/RF | DAG-Erzurum (3,170 m) & TUG-Antalya (2,500 m) | ipn:91, ipn:92 | .0 (LTP CLA), .1 (DSOC AoA Control) |
| Deep-Space Transit | Cislunar-NRHO, Aldrin-Cycler-1, Phobos-Hub | ipn:201 – ipn:301 | .0 (Custody Relay), .1 (Navigation) |
| Mars Orbital Relays | AreoSat-1, AreoSat-2, AreoSat-3 (17,032 km alt.) | ipn:400 – ipn:402 | .0 (DTN CGR Router), .1 (UHF/Ka-Band Bridge) |
| Mars Primary Base | Mars-Central-1 (Arcadia Planitia Data Center) | ipn:4010 (or Subnet 401.x) | .1 (Core DB), .2 (ISRU SCADA), .3 (ECLSS Emergency) |
| Mars Outposts | New-Derinkuyu (Arsia Mons), Rover-Swarm | ipn:4020 – ipn:4099 | .1 (Telemetry), .2 (Autonomous Task Queue) |
Hermes-Sync (CRDT Delta Packets), SCADA Telemetry Streams, Asynchronous Audio/Video Queues, Autonomous G-Code Orders.
RFC 9171 BPv7 + RFC 9172 BPSec serialized as compact binary CBOR (RFC 8949) blocks.
LTP (Licklider Transmission Protocol) for unidirectional long-delay laser/RF links; CCSDS Proximity-1 and QUICCL / TCPCLv4 (RFC 9174) for short-range orbital/surface hops.
CCSDS TM/TC Space Data Frames, LDPC Forward Error Correction, 1550 nm DSOC Photon-Counting Optical Channel, and 32 GHz Ka-Band / 8.4 GHz X-Band RF.
3. RFC 9171 Bundle Structure & Post-Quantum BPSec (RFC 9172)
Every BPv7 Bundle is encoded in bit-packed CBOR rather than JSON/XML. Because interplanetary radio and laser links are exposed to eavesdropping and command spoofing without interactive TLS handshakes, cryptographic protection is embedded inside each bundle.
Version (0x07), Processing Flags, Class of Service (CoS), Destination EID (ipn:90.1), Source EID (ipn:401.1), Creation Timestamp (R-HLC aligned DTN Time + Sequence), Lifetime (e.g., 30 Sols for Solar Conjunction), protected by hardware-accelerated CRC-32C (Castagnoli).
Previous Node Block (Type 6, prevents CGR loops), Bundle Age Block (Type 7, tracks millisecond queuing age across unsynchronized relays), and Hop Count Block (Type 10).
Authenticates origin and integrity using a hybrid classical Ed25519 + NIST Post-Quantum CRYSTALS-Dilithium3 (ML-DSA) signature and HMAC-SHA384 digest.
Encrypts payload with ChaCha20-Poly1305 or AES-256-GCM; symmetric session keys are rotated monthly via unidirectional ML-KEM-1024 (Kyber) key-encapsulation bundles.
4. Licklider Transmission Protocol (LTP) Red/Green Channel Mechanics
Across orbital-to-Earth links from AreoSat relays to Erzurum/Antalya, BPv7 bundles are handed to LTP (RFC 5326), which supports unidirectional link timers and mixed reliability inside a single transmission block.
Life-support alarms (COS_CRITICAL) and CRDT deltas (COS_OPERATIONAL) travel as Red Blocks. Upon seeing End of Red-Part (EORP), the receiver issues a Reception Report (RS) requesting only corrupted segments while custody remains safely persisted in radiation-hardened NVMe/MRAM.
100,000 samples/s telemetry and video streams travel as Green Blocks without ACKs, relying on CCSDS AR4JA LDPC (Rate 1/2 or 7/8) error correction without stalling the stream.
Consults orbital ephemeris (Contact Plan): when AreoSat-1 enters Martian occultation or Erzurum drops below the horizon, LTP automatically suspends retransmission timers and resumes with millisecond precision when line-of-sight returns.
5. Orbital Dynamics Routing: Probabilistic Contact Graph Routing (OCGR)
NeoAnatolia OS extends NASA JPL’s SABR (CCSDS 734.3-B-1) standard with meteorological probability models into Probabilistic Contact Graph Routing (OCGR) over a time-varying orbital contact graph.
P_weather(t) ∈ [0,1] quantifies 1550 nm optical availability given Erzurum/Antalya cloud cover / PWV and Martian dust optical depth τ.
If sudden storm clouds over Erzurum DAG drop P_weather below 0.65, OCGR reroutes COS_CRITICAL and COS_OPERATIONAL bundles within milliseconds to the 32 GHz Ka-Band RF trunk at Antalya TUG or backup relay AreoSat-2.
Once Mars-Central-1 transfers a bundle to AreoSat-1, delivery custody shifts to orbit, freeing surface data-center buffer capacity.
6. Core Software Architecture (Hermes-Net OCGR Engine — Rust)
The reference Rust kernel module below computes the Earliest Delivery Time (EDT) route across orbital contact windows while enforcing Class-of-Service reliability thresholds:
//! NeoAnatolia OS - Hermes-Net (KOM-02.2)
//! RFC 9171 BPv7 Bundle Header & Probabilistic Contact Graph Routing (OCGR) Engine
use std::collections::{BinaryHeap, HashMap};
use std::cmp::Ordering;
/// NeoAnatolia Hizmet Sınıfı (Class of Service - CoS)
#[repr(u8)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord)]
pub enum ClassOfService {
Bulk = 0x01, // Asenkron medya, ham bilimsel veri
Operational = 0x02, // Hermes-Sync CRDT deltalari, rover telemetrisi
Critical = 0x03, // ECLSS yasam destek alarmlari, SEP radyasyon uyarilari
}
/// Gezegenlerarası İletişim Penceresi (Orbital Contact)
#[derive(Clone, Debug)]
pub struct OrbitalContact {
pub id: u32,
pub from_node: u16, // Orn: 401 (Mars-Central-1) veya 400 (AreoSat-1)
pub to_node: u16, // Orn: 91 (Erzurum DAG DSOC) veya 92 (Antalya TUG Ka-Band)
pub start_sec: u64, // Pencere acilis zamani (UTC_TCB sn)
pub end_sec: u64, // Pencere kapanis zamani (UTC_TCB sn)
pub rate_bytes_sec: u64, // Kanal kapasitesi (Byte/sn)
pub owlt_sec: u64, // Tek yonlu isik hizi gecikmesi (182 - 1344 sn)
pub kalan_hacim: u64, // Bu pencerede kalan bos kota (Max Volume - Reserved)
pub link_guvenilirlik: f32, // Atmosferik / gunes aktivitesi guvenilirlik skoru (0.0 - 1.0)
}
#[derive(Clone, Eq, PartialEq)]
struct RouteState {
pub current_node: u16,
pub arrival_time: u64,
pub path_contacts: Vec<u32>,
}
// Dijkstra Oncelik Kuyrugu icin En Erken Varis Zamani (Min-Heap) siralamasi
impl Ord for RouteState {
fn cmp(&self, other: &Self) -> Ordering {
other.arrival_time.cmp(&self.arrival_time)
}
}
impl PartialOrd for RouteState {
fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
Some(self.cmp(other))
}
}
pub struct HermesCgrRouter {
pub contact_plan: Vec<OrbitalContact>,
}
impl HermesCgrRouter {
/// RFC 9171 BPv7 Paketi icin En Erken Varis Zamanli (EDT) Yörünge Rotasını Hesaplar
pub fn find_optimal_route(
&self,
source_node: u16,
dest_node: u16,
bundle_size_bytes: u64,
current_time: u64,
cos: ClassOfService,
) -> Option<(u64, Vec<u32>)> {
let mut pq = BinaryHeap::new();
let mut best_arrival: HashMap<u16, u64> = HashMap::new();
pq.push(RouteState {
current_node: source_node,
arrival_time: current_time,
path_contacts: Vec::new(),
});
best_arrival.insert(source_node, current_time);
// Kritik paketler icin minimum kanal guvenilirlik esigi (%90), digerleri icin %60
let min_reliability = match cos {
ClassOfService::Critical => 0.90,
ClassOfService::Operational => 0.75,
ClassOfService::Bulk => 0.50,
};
while let Some(state) = pq.pop() {
if state.current_node == dest_node {
return Some((state.arrival_time, state.path_contacts));
}
if let Some(&best) = best_arrival.get(&state.current_node) {
if state.arrival_time > best {
continue;
}
}
for contact in &self.contact_plan {
if contact.from_node != state.current_node {
continue;
}
// Pencere kapandiysa, hacim yetersizse veya hava/toz durumu esigin altindaysa atla
if contact.end_sec <= state.arrival_time
|| contact.kalan_hacim < bundle_size_bytes
|| contact.link_guvenilirlik < min_reliability
{
continue;
}
// Paketin iletime baslayabilecegi en erken an
let tx_start = state.arrival_time.max(contact.start_sec);
let tx_duration = (bundle_size_bytes / contact.rate_bytes_sec.max(1)) + 1;
// Iletim pencere kapanmadan tamamlanabiliyor mu?
if tx_start + tx_duration > contact.end_sec {
continue;
}
let next_arrival = tx_start + tx_duration + contact.owlt_sec;
let is_better = best_arrival
.get(&contact.to_node)
.map_or(true, |&prev_best| next_arrival < prev_best);
if is_better {
best_arrival.insert(contact.to_node, next_arrival);
let mut next_path = state.path_contacts.clone();
next_path.push(contact.id);
pq.push(RouteState {
current_node: contact.to_node,
arrival_time: next_arrival,
path_contacts: next_path,
});
}
}
}
None // Gunes Kavusumu (Solar Conjunction) gibi tam kesintilerde yerel NVMe'de sakla
}
}Enforces 90% minimum link reliability for COS_CRITICAL, 75% for COS_OPERATIONAL, and 50% for COS_BULK; returns None during total blackouts (Solar Conjunction) so bundles remain buffered in local NVMe custody.

