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  Per user but normally global
15   MAX_MAX_BATCH_DOWN MAX_MAX_QUEUE_TIME
16  Global
17   MTU
18  Per user
19   PASSWORD
20
21 Client side configuration;
22  MAX_BATCH_DOWN MAX_QUEUE_TIME PASSWORD
23
24 Routing assistance: none needed; secnet polypath will DTRT
25
26 Client form parameters:
27  I MBD MQT P D