chiark / gitweb /
wip
[hippotat.git] / PROTOCOL
1 Server maintains a queue of outbound packets for each user
2
3 Packets which are older than MAX_QUEUE_TIME are discarded
4
5 Each incoming request to the server takes up to MAX_BATCH_DOWN bytes
6 from the queue and returns them as the POST response body payload
7
8 Each incoming request contains up to MAX_BATCH_UP bytes of payload.
9 It's a multipart/form-data.
10
11 Authentication: for now, plaintext password
12
13 Sever side configuration:
14
15  [<client-ipaddr>] or [default]
16  max_batch_down
17  max_queue_time
18  max_request_time
19  password
20
21  [global]
22  max_batch_down
23  max_queue_time
24  max_request_time
25
26  [virtual]
27  network            # required
28  host               # default is first host in network (eg <network>.1)
29  relay              # default is first host in network not equal to server
30  mtu                # default is 1500
31
32 Client side configuration;
33  MAX_BATCH_DOWN MAX_QUEUE_TIME PASSWORD
34
35 Routing assistance: none needed; secnet polypath will DTRT
36
37 Client form parameters:
38  i              ip address (textual)
39  p              password
40  d              data (SLIP format)
41  mbd mqt mrt    config updates