dosgo / ngrok-c

ngrok client for c language,Due to the use of GO ngrok language development, porting to embedded devices some inconvenience, such as openwrt, so use C language rewrite a client. Very mini, the need to support polarssl library.
MIT License
497 stars 202 forks source link

无法处理HTTPS请求 #51

Closed sjtuross closed 7 years ago

sjtuross commented 7 years ago

编译了最新版ngrokc v1.44-(2017/07/25),服务端是Ubuntu 16.04上通过apt-get install ngrok-server安装的,运行时提供了受信的SSL证书

HTTP和TCP channel都能正常使用,但HTTPS始终得不到客户端的数据返回,请问可能是什么原因?

另外,我看到有文章提到需要提供一个config文件,里面配置trust_host_root_certs,但ngrok-c貌似并不支持config文件输入

sjtuross commented 7 years ago

如何查看ngrok-c的详细日志?

sjtuross commented 7 years ago

原来是不能转发至本地443,开源版本不支持TLS tunnel