Skip to content

Conversation

@czarte
Copy link
Collaborator

@czarte czarte commented Nov 6, 2025

This reverts commit a151e96.


Note

Reintroduces return-route IDs into routes/CORES and plumbs them through Neighborhood and ProxyServer, updates message schemas (hostname optional, sequence/reception fields), DNS/impersonation handling, and tests.

  • Routing/Core:
    • Add return-route ID (RRID) to Route (encrypted hop) with Route::id(); change Route::round_trip(...) to accept RRID.
    • ExpectedServices::RoundTrip now carries RRID; Neighborhood generates/increments RRIDs (zero-hop too) and composes responses with RRID.
    • RouteQueryMessage now uses hostname_opt; Host moved to proxy_server/protocol_pack.
  • ProxyServer:
    • New AddReturnRouteMessage; store RRID→return-route metadata in TtlHashMap; attach on requests; on responses/DNS failures, extract RRID from route and use stored metadata to report services and errors.
    • ClientRequestPayload_0v1.target_hostname is Option<String>; factories default ports; server impersonators accept optional hostname.
  • Dispatcher/Streams:
    • Rename fields: reception_port_optreception_port, sequence_number_optsequence_number; propagate across TransmitDataMsg, InboundClientData, readers/pools.
  • Misc:
    • Simplify TtlHashMap; remove packet "describe" helpers; extensive test updates and API adjustments throughout.

Written by Cursor Bugbot for commit 820eeb5. This will update automatically on new commits. Configure here.

@czarte czarte merged commit a71cd1f into master Nov 6, 2025
7 checks passed
@czarte czarte deleted the GH-818-revert branch November 6, 2025 17:12
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.

3 participants