mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4967] [Feature Request] 是否能够转发 FIN,实现 TCP 半关闭? #3913
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3913
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hubenchang0515 on GitHub (Sep 4, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4967
Describe the feature request
我代理的程序使了 TCP 的半关闭特性,A 断开连接(发送 FIN)后 B 不会立刻断开连接。
如图:A 连接了 B 的 8484 端口,执行了某些操作后向 8484 发送 FIN,B 等待 A 连接 7580 端口后,8484 才回复 FIN

使用 frp 代理时,A 发送 FIN 后,还没有连接 7580 就收到了返回的 FIN。感觉应该时 frp 收到 FIN 后自行断开连接了。
Describe alternatives you've considered
No response
Affected area
@f0re1gnKey commented on GitHub (Sep 5, 2025):
你需要 3层隧道
@xqzr commented on GitHub (Sep 6, 2025):
不能。frp 在应用层实现转发
@github-actions[bot] commented on GitHub (Sep 21, 2025):
Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.