|
|
|
@ -413,6 +413,7 @@ transfer one or more dht messages directly without a previously made path.
|
|
|
|
|
v: 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
link immediate SML message (LISM)
|
|
|
|
|
|
|
|
|
|
transfer an SML message between nodes
|
|
|
|
@ -425,8 +426,20 @@ transfer an SML message between nodes
|
|
|
|
|
|
|
|
|
|
----
|
|
|
|
|
|
|
|
|
|
Stateles Mesh Layer (SML)
|
|
|
|
|
|
|
|
|
|
As a censor circumvention method layer 4 (udp) or layer 2 (ethernet)
|
|
|
|
|
network bridges are used to stateless route messages to the main onion
|
|
|
|
|
routing network in a stateless manner such that these network bridges
|
|
|
|
|
can be cacsaded many layers deep. The incentive to run these would be
|
|
|
|
|
the ability to hide your traffic shape in the shape of others without
|
|
|
|
|
the need to excess node churn.
|
|
|
|
|
|
|
|
|
|
stateless mesh discovery protocol (SMDP)
|
|
|
|
|
|
|
|
|
|
protocol for detecting and discovering mesh local
|
|
|
|
|
topology and where the mainline network is.
|
|
|
|
|
|
|
|
|
|
TODO: implement me
|
|
|
|
|
|
|
|
|
|
stateless mesh layer (SML)
|
|
|
|
@ -436,11 +449,16 @@ uses ethernet.
|
|
|
|
|
|
|
|
|
|
SML messages MUST be contained inside a LISM when not over ethernet.
|
|
|
|
|
|
|
|
|
|
SML message MUST be routed to the recipiant if we are not the recipiant based
|
|
|
|
|
on the currently unspecified stateless routing protocol.
|
|
|
|
|
|
|
|
|
|
TODO: implement routing protocol :^)
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
a: protocol_id_uint16
|
|
|
|
|
r: "<32 bytes public identity key of recipiant>",
|
|
|
|
|
s: "<32 bytes public identity key of sender>",
|
|
|
|
|
t: "<1024 bytes payload>",
|
|
|
|
|
t: "<1280 bytes payload>",
|
|
|
|
|
v: 0,
|
|
|
|
|
z: "<64 bytes signature generated by sender>"
|
|
|
|
|
}
|
|
|
|
@ -448,18 +466,18 @@ SML messages MUST be contained inside a LISM when not over ethernet.
|
|
|
|
|
protocol values:
|
|
|
|
|
|
|
|
|
|
0 - mesh discovery
|
|
|
|
|
t is a SMDP frame
|
|
|
|
|
t is a SMDP frame (todo: specify me)
|
|
|
|
|
|
|
|
|
|
1 - direct chat
|
|
|
|
|
t is a NUL padded plaintext chat message for node opers to communicate between
|
|
|
|
|
nodes.
|
|
|
|
|
|
|
|
|
|
2 - direct snode to snode ip traffic
|
|
|
|
|
t is an ip packet for "0 hop" communication between service nodes.
|
|
|
|
|
|
|
|
|
|
3 - relayed data packet
|
|
|
|
|
2 - relayed data packet
|
|
|
|
|
t is a udp packet relayed from a client behind a client.
|
|
|
|
|
|
|
|
|
|
3 - snode to snode direct ip traffic
|
|
|
|
|
t is an ip packet for "0 hop" direct ip traffic between service nodes
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
routing layer:
|
|
|
|
|