X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=hippotat.git;a=blobdiff_plain;f=PROTOCOL;h=e18cf0e1554da169e6ffdcd8994ba3a727f8c17c;hp=cf6eacfc554a034c2e663f78945af7c4942220f6;hb=HEAD;hpb=a2b48abfb3e429655bbc13992bd2dd12d05679e7 diff --git a/PROTOCOL b/PROTOCOL deleted file mode 100644 index cf6eacf..0000000 --- a/PROTOCOL +++ /dev/null @@ -1,36 +0,0 @@ -Server maintains a queue of outbound packets for each user - -Packets which are older than the applicable max_queue_time are discarded - -Each incoming request to the server takes up to max_batch_down bytes -from the queue and returns them as the POST response body payload - -Each incoming request contains up to max_batch_up bytes of payload. -It's a multipart/form-data. - -Authentication: for now, plaintext password - -Routing assistance: none in hippotat; can be requested on client - from userv-ipif via `vroutes' parameter. Use with secnet polypath - ideally uses the special support in secnet 0.4.x. - -Client form parameters (multipart/form-data): - m metadata, newline-separated list (text file) of - client ip address (textual) - password - target_requests_outstanding - http_timeout - d data (SLIP format, with SLIP_ESC and `-' swapped) - - - - -Possible future nonce-based authentication: - -server keeps big nonce counter for each client -meaning is: - nonce counter is most recent nonce client has sent -also server keeps bitmap of the previous ?64 nonces, - whether client has sent them - -client picks.... xxx