An open API service indexing awesome lists of open source software.

https://github.com/rajiv-k/meh

[WIP] A toy application-layer protocol over TCP for learning purposes. ¯\_(ツ)_/¯
https://github.com/rajiv-k/meh

go learning-by-doing protocol tcp wireshark-dissector

Last synced: 2 months ago
JSON representation

[WIP] A toy application-layer protocol over TCP for learning purposes. ¯\_(ツ)_/¯

Awesome Lists containing this project

README

        

# meh

### meh message format:

0 4 8 16
+---------+---------+----------------+
|d| ver | flags | opcode |
+---------+--------------------------+
| length |
+------------------------------------+
| |
. ... body ... .
. .
+-------------------------------------

d (1 bit): direction of message
1: client to server
0: server to client

ver(3 bit): protocol version
flags(4 bit)
opcode(1 byte)
length(2 bytes): length of message payload following the header
body (variable): message payload

### Wireshark dissector

Refer [wireshark/README.md](./wireshark/README.md) for installation steps.