uotrouter

package
v0.0.201 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package uotrouter wraps sing-box's UDP-over-TCP router so that route rules see the real destination of a UoT session rather than its magic address.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New returns a router that unwraps UoT connections before handing them to router. sing-box's uot.Router records the magic address in metadata.Domain after unwrapping, and domain rules prefer Domain over Destination.Fqdn, so without this every domain/domain_suffix rule would match the magic address instead of the host the client actually asked for.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL