Skip to content

feat(network): idle timeout PacketRelay decorator#603

Merged
fortuna merged 1 commit into
pr-relay-2-adapterfrom
pr-relay-4-timeout
May 3, 2026
Merged

feat(network): idle timeout PacketRelay decorator#603
fortuna merged 1 commit into
pr-relay-2-adapterfrom
pr-relay-4-timeout

Conversation

@fortuna
Copy link
Copy Markdown
Contributor

@fortuna fortuna commented May 3, 2026

This PR layers optional timeout behavior using TimeoutPacketRelay. It safely manages standard time.AfterFunc/Reset races via a high-performance lastActivity timestamp and mitigates Denial-of-Service (DoS) risks via standard RFC 4787 Section 4.3 unidirectional mapping refreshes.

🔗 Dependencies

@fortuna fortuna added this to the Revamp Packet Proxy milestone May 3, 2026
@fortuna fortuna changed the base branch from main to pr-relay-3-relays May 3, 2026 18:18
@fortuna fortuna force-pushed the pr-relay-3-relays branch from 26b09b6 to b6ea163 Compare May 3, 2026 18:21
@fortuna fortuna force-pushed the pr-relay-4-timeout branch from da67c42 to 2f70149 Compare May 3, 2026 18:21
@fortuna fortuna force-pushed the pr-relay-3-relays branch from b6ea163 to 698f2e6 Compare May 3, 2026 18:24
@fortuna fortuna force-pushed the pr-relay-4-timeout branch from 2f70149 to 0134356 Compare May 3, 2026 18:24
Base automatically changed from pr-relay-3-relays to pr-relay-2-adapter May 3, 2026 18:24
@fortuna fortuna merged commit 0134356 into pr-relay-2-adapter May 3, 2026
@fortuna fortuna deleted the pr-relay-4-timeout branch May 3, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant