[ERROR] github.com/p4gefau1t/trojan-go/tunnel/tls.(*Server).acceptLoop.func1:server.go:140 tls handshake failed | sni mismatched: , expected: [ERROR] github.com/p4gefau1t/trojan-go/tunnel/tls.(*Server).acceptLoop.func1:server.go:140 tls handshake failed | sni mismatched: , expected: ...
flow: xtls-rprx-direct # or xtls-rprx-origin # flow-show: true # print the XTLS direction log # udp: true # sni: example.com # aka server name # skip-cert-verify: true ``` 32 changes: 31 additions & 1 deletion 32 adapter/outbound/trojan.go Original file line numberDiff line ...
run-type: client local-addr: 0.0.0.0 local-port: 1080 remote-addr: <AWS Cloudfront分配过来的地址> remote-port: 443 log-level: 1 log-file: ./trojan-go.log password: - my-password websocket: enabled: true path: /my-path 服务端配置: run-type: server local-addr: 0.0.0.0 local-port: ...
.header("user-agent", "grpc-go/1.46.0"); .header("user-agent", "tonic/0.10"); Ok(request.body(()).unwrap()) } pub async fn proxy_stream(&self, stream: AnyStream) -> io::Result<AnyStream> { let (mut client, h2) = h2::client::handshake(stream).await.map_err(map_io_error)...
go func(conn net.Conn) { newConn, err := s.handshake(conn) if err != nil { s.errChan <- common.NewError("socks5 failed to handshake with client").Base(err) log.Error(common.NewError("socks5 failed to handshake with client").Base(err)) return } log.Info("socks5 connection from...
Chore: use Go v1.17 & support Windows ARM64 (p4gefau1t#377) LoyalsoldiercommittedAug 28, 2021 98cfe18 Commits on May 31, 2021 Fix: TLS ECC certificate failed to handshake (p4gefau1t#352) fregieand LoyalsoldiercommittedMay 31, 2021 907ebd6 Commits on May 26, 2021 Fix: build on...
tlsConfig *gotls.Config xtlsConfig *goxtls.Config authConfig internet.ConnectionAuthenticator config *Config addConn internet.ConnHandler @@ -59,6 +62,9 @@ func ListenTCP(ctx context.Context, address net.Address, port net.Port, streamSe if config := tls.ConfigFromStreamSettings(streamSettings)...