goForward icon indicating copy to clipboard operation
goForward copied to clipboard

使用golang实现的tcp udp端口转发,支持流量统计、web管理、规则热加载

Results 12 goForward issues
Sort by recently updated
recently updated
newest added

大佬,程序很好用。 看能否提供规则备注功能,时间久了,容易忘记添加的是啥。 另外,目标地址能否增加动态域名的支持呢。

enhancement

一使用 ipv6 CPU占用就会很高,只是简单的 ssh,用 ipv4 的时候没发现有问题,一改成 ipv6 连接, CPU 就瞬间升高到 10% ,然后慢慢还能升到接近 100%,断开连接后也不会下降,需要关闭 goforward 才行。 ![图片](https://github.com/csznet/goForward/assets/37104069/27f59bbe-c2d4-413d-8c2a-540f3088852b) ![图片](https://github.com/csznet/goForward/assets/37104069/5127d281-94d5-41cc-9979-aa64396d766a) ![图片](https://github.com/csznet/goForward/assets/37104069/a1078fc4-ce2a-4b59-8287-25e3784f6142) ![图片](https://github.com/csznet/goForward/assets/37104069/e9127ffd-8c80-437e-a136-aa7724f16597) ![图片](https://github.com/csznet/goForward/assets/37104069/d953b224-ea4d-4b69-9e39-a154a4112e7a) ![图片](https://github.com/csznet/goForward/assets/37104069/1efd9dab-a543-468e-8746-19af08a0d4c1) goforward 最新版本 v1.2.2,系统环境如下图 ![图片](https://github.com/csznet/goForward/assets/37104069/f1558260-7870-43e8-aa66-ea81df309eee)

启动命令为:ExecStart=/usr/local/bin/goForward -pass [密码] -port 30000 在界面添加ipv6,两个相同的端口后,工具崩溃,可复现,日志如下 `Apr 17 02:50:44 cn goForward[15293]: goForward Version v1.1.9 Apr 17 02:50:44 cn goForward[15293]: Data: /usr/local/bin/goForward.db Apr 17 02:50:45 cn goForward[15293]: Web:30000 Apr 17 02:50:45...

× goForward.service - Start goForward on boot Loaded: loaded (/etc/systemd/system/goForward.service; enabled; preset: enabled) Active: failed (Result: exit-code) since Wed 2024-04-17 21:40:06 CST; 36s ago Duration: 10.111s Process: 1822 ExecStart=/root/goForward (code=exited,...

![Screenshot_2024-04-09-15-23-03-095_com.server.auditor.ssh.client.png](https://github.com/csznet/goForward/assets/142149737/b3cf0ab1-2f78-4ad0-8306-bb6a662a28ff) 这玩意占用好像有点大

设置端口转发之后,随着时间的流动,内存也越来越大,知道程序奔溃退出

还没应用,请问会识别v4 v6吗?

比如监听 1000-2000 转发到目标IP的 1000-2000 端口,访问的是哪个端口就转发到哪个端口

![image](https://github.com/csznet/goForward/assets/63859866/346d7258-75b8-45f3-afa5-71b30a6972b9) 就建立了一条tcp转发,但是cpu跑满

https://github.com/csznet/goForward/blob/954807b7fe01b4a20a280bcc0946ac997f8fc189/forward/forward.go#L158