ihciah / shadow-tls

A proxy to expose real tls handshake to the firewall
https://www.ihcblog.com/a-better-tls-obfs-proxy/
MIT License
2.32k stars 265 forks source link

shadow-tls连通性问题 #82

Closed LucaLin233 closed 1 year ago

LucaLin233 commented 1 year ago

问题:Surge策略组中点击测试延迟始终显示超时 设备:Surge 确认过ss-rust的端口和shadow-tls的端口都没有被墙,以及二者的docker日志,均正常(shadowtls日志都是显示和我本地的ip建立连接完成),shadow-tls使用的是v2版本,请问还能是什么问题导致的连接超时?

ss-rust compose:

shadowsocks: image: teddysun/shadowsocks-rust:latest container_name: ss-rust restart: always network_mode: host volumes:

服务端重启过后连接正常,但已经出现过好几次 目前添加 RUST_LOG=error 来记录日志观察会不会返回原因(这种做法是否正确?)

ihciah commented 1 year ago

可以排查下是不是fd到limit了。

LucaLin233 commented 1 year ago

可以排查下是不是fd到limit了。

额我个人是linux新手,请问这个fd到limit是什么意思,抱歉(

hdid commented 1 year ago

Check memlock as ihciah has already written about it.

LucaLin233 commented 1 year ago

Check memlock as ihciah has already written about it.

It is already unlimited

hdid commented 1 year ago

What is the output of cat /proc/sys/fs/file-nr command? (specially in outage time)

LucaLin233 commented 1 year ago

What is the output of cat /proc/sys/fs/file-nr command? (specially in outage time)

992 0 9223372036854775807, is this correct?