Skip to content

bzot 1.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Dec 14:28

Features

  • IPv6 & dual-stack listener (lib/net.h, lib/net.c, lib/config.c, main.c): Added IPv6 literal support to -b / bind (::1, 2001:db8::1, etc.) and dual-stack IPv6 + IPv4 listening on :: via explicit IPV6_V6ONLY socket configuration (0 for ::, 1 for specific IPv6 addresses), plus bracketed [ip]:port endpoint formatting in startup banners and -I output.
  • IPv6 /48 access-log anonymization (lib/net.c, main.c): Extended -L anon and -L errors to mask native IPv6 client addresses to /48 (2001:db8:abcd::) while unwrapping IPv4-mapped ::ffff:a.b.c.d peers on dual-stack :: sockets to plain /24-masked IPv4.
  • Bracketed IPv6 Host: & URI authorities (lib/http.h, lib/http.c): Extended http_normalize_host() to validate, strip optional :port, and RFC 5952-canonicalize bracketed IPv6 literals ([::1]:8080 -> [::1]) in Host: headers and absolute-form request targets, while keeping [site <host>] virtual host headers restricted to DNS/IPv4 hostnames.