v0.0.23 Introduce network/packetrelay #623
fortuna
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
✨ New Features
network/packetrelay — New flow-based PacketRelay API (#618)
Replaces the callback-based PacketProxy with a push-pull design: ReceivePackets blocks in the
caller's goroutine, eliminating boilerplate background goroutines. Includes PacketListenerRelay
(adapts any transport.PacketListener) and TimeoutPacketRelay (RFC 4787 §4.3 compliant idle-timeout
decorator).
network/dnsintercept — New InterceptDNSPacketRelay (#618)
Routes UDP DNS to a dedicated resolver via short-lived per-query associations; passes other traffic
to a default relay.
network/lwip2transport — ConfigureDeviceWithRelay (#618)
Wires the lwIP stack directly to any PacketRelay.
🔄 Deprecations
NewPacketProxyFromPacketRelay.
This discussion was created from the release v0.0.23 Introduce network/packetrelay.
Beta Was this translation helpful? Give feedback.
All reactions