Results 34 comments of Yongsheng Xu

@mokhtarabadi I've add the libpegas, check the master branch and see if this match your needs. see: https://github.com/chux0519/pegasocks/blob/master/include/pegasocks/pegas.h for APIs, I haven't add docs for this yet, so briefly, it...

> @chux0519, it looks great, I'll check it tomorrow > > can you implement the below item too: pegasocks send the remote fd (socket which used to connect to proxy...

> Because i used pegasocks as jni there is no need to use libancillary anymore, no difference, can use unix socket instead tcp, simply send fd as int After a...

@mokhtarabadi I've implment the RPC call in TCP. Your protect server should read 4 bytes as integer(fd), and do protection,if success, echo the fd, otherwise write back 4 bytes with...

Yeah, since there're still many people using it, I think I will add shadowsocks support later. (I've used shadowsocks for a while, and in our country the GFW seems to...

after PR: https://github.com/chux0519/pegasocks/pull/21 TCP mode is working now, all AEAD ciphers in http://shadowsocks.org/en/wiki/AEAD-Ciphers.html is supported, for stream cipher, only `aes-128-cfb` is implemented. here is a example config ``` { "server_address":...

启动的 `-t` 参数是默认的吗,可以试试改成 1 看能不能解决问题。([这里的](https://github.com/chux0519/pegasocks/blob/b519a266889652d3bb2da6a54580af3b769dfabc/include/pegasocks/pegas.h#L14) threads 参数改成1 ) 如果不行,配置的最外层 "ssl.verify" 是什么,如果是默认值,改成 false 跳过验证试试看

> 更换为mbedtls-2.28.0 版本 并且将环境变量设置为 v2ray.vmess.aead.forced=false 可以链接 [https://github.com/Jrohy/multi-v2ray/issues/561](url) 那可能和 v2ray 的这个升级有关,我之前有建一个 [issue](https://github.com/chux0519/pegasocks/issues/13),不过还没来得及做。 如果仅仅是协议升级影响的话,有试过使用 openssl 然后同样设置 ` v2ray.vmess.aead.forced=false` 吗

it may be a GBK related problem, try `chcp 65001` in your cmd/powershell (GBK -> UTF8),then rerun the program.

Found the same issue here. I think the public api should be mentioned in the spec, although the function signature may need to be defined by learner via test cases.