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
29.77k stars 5.38k forks source link

默认nps.conf #900

Open sanwzzz opened 2 years ago

sanwzzz commented 2 years ago

Describe the bug 执行reload 报错reload fail。使用默认配置文件nps.conf无修改 /etc/nps/nps.conf /解压目录/conf/nps.conf 都试过 版本v0.26.10

To Reproduce Steps to reproduce the behavior:

  1. sudo nps reload
  2. 2021/10/20 22:36:28 reload fail

Expected behavior A clear and concise description of what you expected to happen.

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.

doexee commented 2 years ago

遇到了同样的问题, @sanwzzz 请问你找到了临时的解决办法了吗?

sanwzzz commented 2 years ago

遇到了同样的问题,@sanwzzz 请问你找到了临时的解决办法吗?

提示reload fail 但是实际保存成功。修改账号密码等后可以使用新密码登录。 同时登录接口没做限制,可以暴力破解。这个问题可以NGINX反代限制频率。 但是后续遇到其他问题了,改用方案了。

doexee commented 2 years ago

遇到了同样的问题,@sanwzzz 请问你找到了临时的解决办法吗?

提示reload fail 但是实际保存成功。修改账号密码等后可以使用新密码登录。 同时登录接口没做限制,可以暴力破解。这个问题可以NGINX反代限制频率。 但是后续遇到其他问题了,改用方案了。

确实可以保存成功,谢谢你的回复。

chenkehao1998 commented 2 years ago

我的情况不太一样 reload之后 依然可以用之前的admin/123登录,而新配置的账号密码依然失效