Crate citadel_wire

Crate citadel_wire 

Source
Expand description

Citadel Wire: Network Traversal and Connection Management

This crate provides comprehensive networking utilities for establishing secure peer-to-peer connections across residential NATs and firewalls. It implements multiple NAT traversal strategies and secure connection protocols.

§Features

  • UDP hole punching with multiple strategies
  • NAT type detection and traversal analysis
  • QUIC protocol support for secure connections
  • TLS certificate and security management
  • UPnP port mapping and gateway control
  • Platform-specific socket configuration
  • IPv4 and IPv6 support where available

§Important Notes

  • Zero unsafe code policy enforced
  • Async-first design with Tokio runtime
  • Security-focused implementation
  • Automatic fallback mechanisms
  • Comprehensive error handling
  • udp_traversal - UDP hole punching implementation
  • [standard] - Core networking components
  • hypernode_type - Node type definitions
  • error - Error type definitions

Tools for punching holes through the firewall and network. This enables functionality across residential NATs

Modules§

error
Error Types for Network Traversal and Firewall Operations
exports
hypernode_type
Node Type Configuration for Network Topology
misc
Certificate Format Conversion Utilities
nat_identification
NAT Type Identification and Traversal Analysis
quic
QUIC Protocol Implementation for Secure Connections
socket_helpers
Socket Creation and Configuration Utilities
tls
TLS Configuration and Certificate Management
udp_traversal
UDP NAT Traversal Framework
upnp_handler
UPnP Port Mapping and Gateway Management