go-gost / gost

GO Simple Tunnel - a simple tunnel written in golang
https://gost.run
MIT License
4.13k stars 505 forks source link

反向端口转发存在很多FIN wait 2不释放,很早之前就有这个bug #442

Open f4nff opened 6 months ago

f4nff commented 6 months ago

image

client:

services:
- name: service-0
  addr: ":53309"
  handler:
    type: rtcp
  listener:
    type: rtcp
    chain: chain-0
  forwarder:
    nodes:
    - name: target-0
      addr: 192.168.22.197:3389

chains:
- name: chain-0
  hops:
  - name: hop-0
    nodes:
    - name: node-0
      addr: 114.112.235.78:23456
      connector:
        type: relay
      dialer:
        type: grpc
        metadata:
          keepalive: true
          keepalive.time: 8s
          keepalive.timeout: 8s
          keepalive.permitWithoutStream: true
f4nff commented 6 months ago

不是一闪而过,是一直不释放.

ginuerzh commented 5 months ago

有可能是grpc超时导致的。

ginuerzh commented 1 month ago

可以试试最新版本,修复了一些连接相关的问题。