[PR #2376] [CLOSED] Fix XTCP timeout & Symmetric NAT client #4559

Closed
opened 2026-05-05 14:44:24 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/2376
Author: @arm64v8a
Created: 5/1/2021
Status: Closed

Base: devHead: patch-1


📝 Commits (1)

  • ccb5027 Fix XTCP timeout & Symmetric NAT client

📊 Changes

1 file changed (+70 additions, -46 deletions)

View changed files

📝 client/visitor.go (+70 -46)

📄 Description

See #1585 #1795

Add processing when visitor receives the client's reply earlier than the server's. Fix timeout.
Use ListenUDP rather than Dial. This make XTCP works when client is Symmetric NAT.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fatedier/frp/pull/2376 **Author:** [@arm64v8a](https://github.com/arm64v8a) **Created:** 5/1/2021 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`ccb5027`](https://github.com/fatedier/frp/commit/ccb5027246934054803a536053c81bb1d8d64100) Fix XTCP timeout & Symmetric NAT client ### 📊 Changes **1 file changed** (+70 additions, -46 deletions) <details> <summary>View changed files</summary> 📝 `client/visitor.go` (+70 -46) </details> ### 📄 Description See #1585 #1795 Add processing when visitor receives the client's reply earlier than the server's. Fix timeout. Use ListenUDP rather than Dial. This make XTCP works when client is Symmetric NAT. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 14:44:24 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#4559
No description provided.