Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gotoren/echoman
【hands-on sample】echoman: Echoes messages to peer nodes through the TUN/TAP interface.
https://github.com/gotoren/echoman
echo-server go rawsocket tcpip
Last synced: 19 days ago
JSON representation
【hands-on sample】echoman: Echoes messages to peer nodes through the TUN/TAP interface.
- Host: GitHub
- URL: https://github.com/gotoren/echoman
- Owner: GotoRen
- License: mit
- Created: 2022-10-07T16:55:51.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-03T11:43:14.000Z (about 2 years ago)
- Last Synced: 2024-06-20T13:25:38.805Z (7 months ago)
- Topics: echo-server, go, rawsocket, tcpip
- Language: Go
- Homepage:
- Size: 5.69 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 📣 echoman: simple echo server
## 🌱 Overview
- This is a simple tool where a client generates packets over TCP/IP and sends them to a server.
- The echo server echoes data by swapping src/dst L3 address and L4 port number. (However, some parameters such as TypeCode and CheckSum are recalculated.)## ✏️ Documents
- [Information: Network design](./docs/01_information.md)
- [Application: An application that communicates over the overlay network](./docs/02_application.md)
- [Usage: How to start echoman](./docs/03_usage.md)
- [Appendix: About sockets](./docs/04_appendix.md)## 📚 References
- [RFC 792 - Internet Control Message Protocol](https://www.rfc-editor.org/rfc/rfc792)
- [RFC 768 - User Datagram Protocol](https://www.rfc-editor.org/rfc/rfc768)
- [Universal TUN/TAP device driver](https://docs.kernel.org/networking/tuntap.html)
- [Checksum calculation](https://o21o21.hatenablog.jp/entry/2019/01/31/120436)