Results 51 comments of mingang.he

Thank you. I will review it later.

Hi,从上面的描述我感受到了目前不太完善的安装指引会给一部分新用户带来的麻烦。这个 PR 增加的安装 Go 部分说明会给不能顺利安装的用户提供很好的帮助,不过我觉得这不是必要的,这部分内容应该是依赖的语言或者包管理机构所做的事情,它们往往已经有完善的安装文档了。 更友好的安装方式,当然是通过用户的 Linux 发行版包管理器进行安装,而不需要在用户本地安装编译环境。不过 graftcp 目前没有进入任何一个主流的发行版仓库中,也许等软件完善(目前 IPv6 支持开发中)或者有包维护者打包收录后,就可以避免从源码编译安装了。 对于第2点提到的 conf 模板,graftcp-local 其实是有一个[示例](https://github.com/hmgle/graftcp/blob/master/graftcp-local/example-graftcp-local.conf)的,graftcp 目前没有太多的配置要求,不支持配置文件。 有空我再看看 proxychains 的文档。

Currently graftcp has a bug related to wine, see https://github.com/hmgle/graftcp/issues/8#issuecomment-1000414671. Until this bug is fixed, you can try proxychains-ng or [cproxy](https://github.com/NOBLES5E/cproxy.git).

Only HTTP proxy? Try to modify the `graftcp-local.conf`: ``` http_proxy = 127.0.0.1:8080 select_proxy_mode = only_http_proxy ``` Then restart `graftcp-local`.

Oh I see. This feature is not supported now, but can be implemented theoretically.

Thank you for your feedback. Introducing `PR_SET_NO_NEW_PRIVS` indeed brings new restrictions to gain superuser privileges. I'll look into a solution to this problem. If you have any new ideas, feedback...

> 有没有更优雅的方法 线上的docker不能停止。 可以看下 docker 的最新文档:https://docs.docker.com/network/proxy/

> 支持Windows吗? 仅支持 Linux。Windows 的 WSL 2 应该也可以,我没有试过。

决定不支持其他平台了。

抱歉,近期暂无精力处理这个不太完善的程序出现的问题。