VoluSys Get started

Networking & TLS

A complete path from Ethernet frames to verified HTTPS, all written for VoluSys.

TCP/IP#

The stack handles ARP, IPv4, ICMP echo, UDP and TCP (handshake, retransmission, windowing). At boot, DHCP configures the address, netmask, gateway and DNS server; ifconfig shows the lease. The DNS resolver handles A records and is shared by every app.

TLS#

  • Versions: TLS 1.3, falling back to TLS 1.2 when the server requires it.
  • TLS 1.3 suites: TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384, TLS_CHACHA20_POLY1305_SHA256.
  • TLS 1.2: ECDHE-ECDSA and ECDHE-RSA with AES-GCM and ChaCha20-Poly1305.
  • Key exchange: X25519 and P-256.
  • Certificates: X.509 chain building and validation against an embedded copy of Mozilla’s CA root list. That covers RSA, ECDSA (P-256/P-384/P-521) and Ed25519 roots, name and basic constraints, validity periods, hostname matching and OCSP stapling.
  • Randomness comes from the kernel CSPRNG.
curl -I in Terminal showing a TLS 1.3 connection with a stapled OCSP response.

Testing#

tests/tls builds the TLS library on the host and runs it against test vectors and real servers, so protocol changes are checked without booting the OS. See Testing.