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対応 #27

Open
3 tasks
ddddddO opened this issue May 26, 2024 · 2 comments
Open
3 tasks

TLS対応 #27

ddddddO opened this issue May 26, 2024 · 2 comments

Comments

@ddddddO
Copy link
Owner

ddddddO commented May 26, 2024

https://zenn.dev/satoken/articles/golang-tls1_2 がとても参考になる

  • Generator で https で送れるようにする

    • HTTP section に httpsにする?(TLShandshakeする?)なチェックボックスを設ける
    • NetworkInterfaceForTCP に受信処理追加 これでなく自前実装のやつにかな
    • tls.go にもろもろ実装
  • Monitor で TLS 表示できるようにする

追記

  • curl でtlsのハンドシェイク確認
    • sudo tcpdump -U -i eth0 -w - | /mnt/c/Program\ Files/Wireshark/Wireshark.exe -k -i -
      • filterしとく tcp.port == 443
  • https://tls12.xargs.org/
    • これもめちゃくちゃ頼りになりそう
  • packemonのdebugモードでtls実装を確認していく
@ddddddO ddddddO mentioned this issue May 26, 2024
Closed
@ddddddO ddddddO mentioned this issue Jul 15, 2024
@ddddddO
Copy link
Owner Author

ddddddO commented Jul 19, 2024

@ddddddO
Copy link
Owner Author

ddddddO commented Jul 22, 2024

一旦debug環境で動作するレベルの実装ができた
clientが送るfinished messageが正しいのが作れなくてハマった

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