summaryrefslogtreecommitdiffstats
path: root/README.md
blob: ee8e55505f89d2146a54eec6a8cd8df306cec578 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# solec

* [Protocol spec](https://git.sr.ht/~rctt/solec/tree/main/item/PROTOCOL.md)

## Running the daemon

You'll need Go toolchain. Get it [here](https://go.dev/dl/)

```
git clone https://git.sr.ht/~rctt/solec
cd solecd
go run cmd/daemon/main.go
```

## Wireshark plugin

To build wireshark plugin you'll need Kaitai Struct Compiler.
KSC currently doesn't support Wireshark plugin generation but
[there is a discussion]("https://github.com/kaitai-io/kaitai_struct/issues/50#issuecomment-1485044090").
After building foked KSC use `./build_spec.sh` to build the plugin and then put
it into Wireshark plugins directory.

## TODO

- Protocol
	- Design handshake process
	- Design basic messaging
	- Maybe put payload type and length into same bytes?

- Server
	- Put server stuff into a package
	- Create handlers

- Network library
	- Handle partial TCP packets
	- Better error handling