Categorygithub.com/kawa1214/tcp-ip-go
repository
0.0.0-20230703091802-f7b684cf80b4
Repository: https://github.com/kawa1214/tcp-ip-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

Tutorial

  1. Build docker image
make build
  1. Run docker container
make up
  1. Run main.go(in docker container)
go run example/todo/main.go
  1. curl execution(in docker container)
curl --interface tun0 -X POST -H "Content-Type: application/json" -d '{
    "title": "ToDo2"
}' 'http://10.0.0.2/todos'

curl --interface tun0 http://10.0.0.2/todos

Dump TCP packets using Wireshark

  1. Packet Monitoring(in docker container)
make capture
  1. Open wireshark/capture.pcap in wireshark