Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLS version gostv2 vs gostv3 cipher issue? BUG #492

Open
steom opened this issue Jun 2, 2024 · 0 comments
Open

TLS version gostv2 vs gostv3 cipher issue? BUG #492

steom opened this issue Jun 2, 2024 · 0 comments

Comments

@steom
Copy link

steom commented Jun 2, 2024

Server side
gost -L=http://:80
Client side
gost -L=:8080 -F=http://proxy.local:80

Protocol Negotiated
Default protocol TLS1.2

Gost v2 ”client” it's ok:
main.go:82: load TLS certificate files OK
route.go:650: auto://:8080 on [::]:8080
http.go:161: [http] local_ip:45869 -> auto://:8080 -> remote_hostname:32549
http.go:251: [route] local_ip:45869 -> auto://:8080 ->1@http://proxy.local:80 -> remote_hostname:32549
http.go:304: [http] local_ip:45869 <-> remote_hostname:32549
http.go:306: [http] local_ip:45869 >-< remote_hostname:32549

Gost v3 same ”client” fail to connect with: FAILED: Failed to negotiate SSL connection with local_ip:8080. Error: error:00000001:lib(0):func(0):reason(1)

{"handler":"auto","kind":"service","level":"info","listener":"tcp","msg":"listening on [::]:8080/tcp","service":"service-0","time":"2024-06-03T09:21:19.163+02:00"}
{"handler":"http","kind":"handler","level":"info","listener":"tcp","local":"local_ip:8080","msg":"remote_ip:45975 <> local_ip:8080","remote":"remote_ip:45975","service":"service-0","sid":"cpemttcurdd2ha653flg","time":"2024-06-03T09:21:25.445+02:00"}
{"dst":"remote_hostname:32549","handler":"http","kind":"handler","level":"info","listener":"tcp","local":"local_ip:8080","msg":"remote_ip:45975 <-> remote_hostname:32549","remote":"remote_ip:45975","service":"service-0","sid":"cpemttcurdd2ha653flg","time":"2024-06-03T09:21:25.689+02:00"}
{"dst":"remote_hostname:32549","duration":7006600,"handler":"http","kind":"handler","level":"info","listener":"tcp","local":"local_ip:8080","msg":"remote_ip:45975 >-< remote_hostname:32549","remote":"remote_ip:45975","service":"service-0","sid":"cpemttcurdd2ha653flg","time":"2024-06-03T09:21:25.696+02:00"}
{"duration":256933600,"handler":"http","kind":"handler","level":"info","listener":"tcp","local":"local_ip:8080","msg":"remote_ip:45975 >< local_ip:8080","remote":"remote_ip:45975","service":"service-0","sid":"cpemttcurdd2ha653flg","time":"2024-06-03T09:21:25.703+02:00"}

@steom steom changed the title TLS version v2 v3 TLS version gostv2 vs gostv3 Jun 2, 2024
@steom steom changed the title TLS version gostv2 vs gostv3 TLS version gostv2 vs gostv3 cipher issue? Jun 2, 2024
@steom steom changed the title TLS version gostv2 vs gostv3 cipher issue? TLS version gostv2 vs gostv3 cipher issue? BUG Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant