ehang-io / nps

一款轻量级、高性能、功能强大的内网穿透代理服务器。支持tcp、udp、socks5、http等几乎所有流量转发,可用来访问内网网站、本地支付接口调试、ssh访问、远程桌面,内网dns解析、内网socks5代理等等……,并带有功能强大的web管理端。a lightweight, high-performance, powerful intranet penetration proxy server, with a powerful web management terminal.
https://ehang.io/nps/documents
GNU General Public License v3.0
30.47k stars 5.5k forks source link

删除TCP隧道后没有关闭已经建立的连接 #1043

Open weinull opened 2 years ago

weinull commented 2 years ago

Describe the bug 删除TCP隧道后没有关闭已经建立的连接

To Reproduce Steps to reproduce the behavior:

  1. 新建TCP隧道代理指定IP的SSH端口
  2. 通过隧道端口登录到SSH
  3. 删除TCP隧道
  4. 已建立的SSH连接没有关闭,一直保持着连接,可以正常操作,只是已经无法通过隧道建立新的SSH连接

Expected behavior 删除TCP隧道后强制断开该隧道的所有连接

Screenshots or logs 暂无

Server (please complete the following information):

Client (please complete the following information):

Additional context Add any other context about the problem here.