frp icon indicating copy to clipboard operation
frp copied to clipboard

frps和frpc点对点配置,挂载的三个ssh服务,会不定期同时中断。

Open sslzhou948 opened this issue 1 year ago • 2 comments

Bug Description

服务端和客户端分别安装在两套openwrt上,使用mobax访问服务端对应的三个ssh服务,不定期的会所有连接同时中断。

frpc Version

0.47.0

frps Version

0.47.0

System Architecture

Linux/X86_64

Configurations

image

Logs

1724220349323

Steps to reproduce

  1. frpc增加transport.tcpMuxKeepaliveInterval = 30 和transport.heartbeatInterval = 30 
  2. ssh 启用 keepalive,例如 ServerAliveInterval 60
  3. mobax打开链接保持
  4. 日志已经可以看到心跳记录 ...

Affected area

  • [ ] Docs
  • [ ] Installation
  • [X] Performance and Scalability
  • [ ] Security
  • [X] User Experience
  • [ ] Test and Release
  • [ ] Developer Infrastructure
  • [ ] Client Plugin
  • [ ] Server Plugin
  • [ ] Extensions
  • [ ] Others

sslzhou948 avatar Aug 21 '24 06:08 sslzhou948

对于TCP长会话。 是否有中间防火墙,配置了最大持续时间? 通常来说KeepaliveInterval 需要大于 3倍的 heartbeatInterval 。

firmament2008 avatar Aug 23 '24 01:08 firmament2008

注意到心跳只有 接收,没有 发送(回复)

xqzr avatar Aug 23 '24 08:08 xqzr

注意到心跳只有 接收,没有 发送(回复)

我理解另一端的日志里应该有发送吧?

sslzhou948 avatar Aug 30 '24 09:08 sslzhou948

Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

github-actions[bot] avatar Sep 21 '24 00:09 github-actions[bot]