Community Mirror Network over IPFS

Note

In accordance with the MxOS Foundation documentation policy, this section presents the high-level overview, operational framework, and reference architecture of the decentralized mirrors. Step-by-step manuals, functional specifications, and automation code are maintained in a self-contained manner within the canonical mirrors.git repository and vigia.git.

Overview

The MxOS Foundation Community Mirror Network is a free software distribution infrastructure designed around the principles of technological sovereignty, territorial resilience, and bandwidth efficiency.

Unlike traditional mirrors based on centralized HTTP server farms, this system decouples the data from the hosting server:

  1. Content-addressed storage: RPM packages and ISO images are indexed in Kubo over IPFS using UnixFS data trees with SHA-256 cryptographic hashes; an identical file shares the same block across the entire network without duplication.

  2. Community pinning: Any workstation, institutional server, or local node can act as a guardian node, pinning the modules it chooses to custody and share across its local area network and the internet swarm.

  3. Canonical resolution via DNSLink: The _dnslink.mirrors.mx-os.mx name record points to the latest root Content Identifier CID; each update propagates globally through the standard Domain Name System.

  4. Community observability with Vigía: Real-time monitoring at https://mirrors.mx-os.mx/vigia/ that audits the territorial redundancy of the repositories and exposes public metrics.

Public Services and Domains: ipfs.mx-os.mx and mirrors.mx-os.mx

The MxOS Foundation clearly defines the role of its two public access points:

Use Us as Your IPFS Gateway: ipfs.mx-os.mx

The ipfs.mx-os.mx domain, aliased as gateway.mx-os.mx, operates as the public and neutral IPFS gateway of the MxOS Foundation, hosted on HOBOPS.IO sovereign infrastructure.

  • Purpose: Provide the entire technical, academic, and developer community with a free HTTP/HTTPS resolution endpoint to query any content published on the global IPFS network, whether or not it belongs to the foundation.

  • Universal resolution formats:

    • By Content Identifier: https://ipfs.mx-os.mx/ipfs/<CID> allows downloading any block or UnixFS file from the swarm.

    • By InterPlanetary Name: https://ipfs.mx-os.mx/ipns/<nombre-o-llave> resolves mutable Ed25519 and DNSLink records.

  • Integration: Compatible with the IPFS Companion web browser extension for Firefox, Chromium, Chrome, and Brave, and with terminal downloads via curl or wget.

  • Operational profile: Operates strictly as a high-speed, ephemeral-access reverse proxy without permanent storage or third-party pinning.

The MxOS Foundation Free Software Mirror: mirrors.mx-os.mx

The mirrors.mx-os.mx domain is the canonical web portal and official distribution catalog for free software packages and media curated by the MxOS Foundation.

  • Purpose: Display the official mirror network catalog, publish the foundation’s release notes and technical advisories, provide step-by-step DNF/DNF5 client configuration guides, granular pinning guides for guardian operators, and the territorial swarm health map Vigía.

  • Dual access: Accessible via the standard web at https://mirrors.mx-os.mx or via the native decentralized protocol at ipfs://mirrors.mx-os.mx and /ipns/mirrors.mx-os.mx.

Supported Services and Distributions

The official catalog published under /ipns/mirrors.mx-os.mx comprises:

  • CentOS Stream 10: Complete suite of repositories and metadata for the x86_64 architecture:

    • BaseOS: Core packages and operating system kernel, ~15 GB.

    • AppStream: Development modules and user-space applications, ~45 GB.

    • CRB: CodeReady Linux Builder with build libraries and headers, ~30 GB.

    • HighAvailability: Packages for high-availability clusters, ~500 MB.

    • NFV and RT: Network Functions Virtualization and real-time extensions, ~5 GB.

    • SIG Extras: Supplementary community packages extras-common, ~50 MB.

  • Fedora Linux: Netinst ISO images, ~10 GB, and complete Everything package repositories, ~125 GB per release, for releases 43, 44, and 45 development/branched.

Four-Times-Daily Synchronization Cycle

Upstream repositories are updated four times a day via coordinated systemd timers mxos-mirror.timer:

  • Schedule expression: OnCalendar=*-*-* 00,06,12,18:00:00, every 6 hours on the hour.

  • Courtesy randomized delay: RandomizedDelaySec=900, a 15-minute window to distribute load toward upstream servers.

  • Operational persistence: Persistent=true, ensuring that runs missed during system suspend or reboot are triggered immediately upon recovery.

  • Concurrency control: Exclusive file-descriptor lock at /tmp/mxos-repo-sync.lock to prevent simultaneous executions.

Vigía: P2P Observability and Mapping Dashboard

The Vigía project at https://git.mx-os.mx/MxOS/vigia provides transparent visibility and open auditing of the swarm:

  • Custodian Directory: Responsive table structured with the canonical columns:

    • Rol: Single-line visual badges ⭐ Gateway Oficial and 🛡️ Guardián Pionero.

    • Custodio: Alias, full name, and verified link to the operator’s website.

    • Módulos custodiados: Components hosted locally by the node.

    • Ubicación territorial: Full canonical location text without abbreviations, for example Ixtlahuacán de los Membrillos, Jalisco, México.

    • Afiliación: Entity, company, or collective to which the node belongs, for example EVALinux or HOBOPS.IO.

  • One-click identity copy: Copies the Peer ID to the clipboard with immediate visual feedback.

  • Reactive tag filtering: Real-time node filtering by custodied module, activating a control bar with a reset button.

  • Telemetry channels:

Storage Management with Btrfs and Subvolumes

To maximize I/O performance and streamline granular disk administration across guardian nodes and master servers, the MxOS mirror infrastructure leverages the native capabilities of Btrfs and Copy-on-Write CoW:

  • Atomic and instantaneous deletion: Each catalog module resides in its own independent Btrfs subvolume. Deleting an entire repository exceeding 100 GB completes in milliseconds via btrfs subvolume delete, avoiding costly file-by-file recursive removals.

  • Zero-storage-cost snapshots: Read-only backup snapshots are created before each synchronization via btrfs subvolume snapshot -r. Shared blocks do not duplicate disk space thanks to the CoW design.

  • Instantaneous cloning and branching: Module derivation and test repositories are created using reflinks via cp -a --reflink=always.

  • Rootless operation: By including the user_subvol_rm_allowed mount option for Btrfs in /etc/fstab, operators can manage subvolumes and snapshots under standard user accounts without requiring sudo privilege elevation.

  • Automation: The canonical repository provides the bin/mxos-btrfs.bash management script with subcommands list, init, snapshot, delete, and rollback.

Cryptographic Sovereignty and IPNS Key Management

Updates to the master catalog are signed with the dedicated mxos-mirrors Ed25519 cryptographic key with permanent identifier k51qzi5uqu5di6ed3qtnwrdlvpmfil07ib6qfzb1t259nux49jenn8my4dtg0v, enabling autonomous repository resolution via /ipns/k51qzi5uqu5di6ed3qtnwrdlvpmfil07ib6qfzb1t259nux49jenn8my4dtg0v without relying on DNS.

Key backup is performed in shared memory /dev/shm using standard PEM PKCS#8 and libp2p Protobuf formats, symmetrically encrypted with age or gpg for offline cold storage. The complete technical specification and disaster recovery procedures are detailed in the IPNS Key Management Specification.