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 · 1 comment
Open
3 tasks

TLS対応 #27

ddddddO opened this issue May 26, 2024 · 1 comment

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
    • curl -s -v --tls-max 1.2 https://zenn.dev/openlogi/articles/f6cc91ac413c8f -I
      • tlsv1.2で確認できる。WiresharkのInfo列にClientHelloとか出してくれる
  • https://tls12.xargs.org/
    • これもめちゃくちゃ頼りになりそう
  • packemonのdebugモードでtls実装を確認していく
    • ↑のwireshark起動しておく
    • sudo go run cmd/packemon/*.go --send --debug --proto tcp-tls-handshake
@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

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