p4gefau1t / trojan-go

Go实现的Trojan代理,支持多路复用/路由功能/CDN中转/Shadowsocks混淆插件,多平台,无依赖。A Trojan proxy written in Go. An unidentifiable mechanism that helps you bypass GFW. https://p4gefau1t.github.io/trojan-go/
GNU General Public License v3.0
7.54k stars 1.64k forks source link

fix TFO a bug and updata all packet #528

Open lbsystem opened 3 months ago

lbsystem commented 3 months ago

It will improve performance

Potterli20 commented 3 months ago

Can use back to https://github.com/database64128/tfo-go?? His long time no update https://github.com/SagerNet/tfo-go at a time 可以用回https://github.com/database64128/tfo-go?? 他那个好久更新一次https://github.com/SagerNet/tfo-go

Potterli20 commented 3 months ago
dialer_sing_box "github.com/sagernet/sing-box/common/dialer"
"github.com/sagernet/sing/common/metadata"
"github.com/database64128/tfo-go/v2"

Could it?
lbsystem commented 3 months ago

The library at http://github.com/database64128/tfo-go/v2 is designed for listeners, making applications more stable and faster. However, singbox's TFO is more closely integrated with TLS.

Next time, I anticipate improving the response time when using TLS 1.2 by adopting session tickets. In the future, if Go supports TLS 1.3 0-RTT, I will follow up with that as well. Singbox's TFO has been conducting user authentication for TLS for a long time, so using Singbox's TFO as a client is more prudent.

------------------ Original ------------------ From: trli @.> Date: Tue,Mar 26,2024 7:15 PM To: p4gefau1t/trojan-go @.> Cc: lbsystem @.>, Author @.> Subject: Re: [p4gefau1t/trojan-go] fix TFO a bug and updata all packet (PR#528)

dialer_sing_box "github.com/sagernet/sing-box/common/dialer" "github.com/sagernet/sing/common/metadata" "github.com/database64128/tfo-go/v2" Could it?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Potterli20 commented 3 months ago

The library at http://github.com/database64128/tfo-go/v2 is designed for listeners, making applications more stable and faster. However, singbox's TFO is more closely integrated with TLS. Next time, I anticipate improving the response time when using TLS 1.2 by adopting session tickets. In the future, if Go supports TLS 1.3 0-RTT, I will follow up with that as well. ------------------ Original ------------------ From: trli @.> Date: Tue,Mar 26,2024 7:15 PM To: p4gefau1t/trojan-go @.> Cc: lbsystem @.>, Author @.> Subject: Re: [p4gefau1t/trojan-go] fix TFO a bug and updata all packet (PR#528) dialer_sing_box "github.com/sagernet/sing-box/common/dialer" "github.com/sagernet/sing/common/metadata" "github.com/database64128/tfo-go/v2" Could it? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

okok,I suggest fork trojan-go-fork, and then update, and can you help me repair clinet's ws protocol, thank you!!