From: Ian Jackson Date: Sun, 25 Sep 2022 15:57:51 +0000 (+0100) Subject: PROTOCOL: Abolish old copy X-Git-Tag: hippotat/1.0.0~46 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=d02437e4eadbeb2cef7aa90361802968e7352234;p=hippotat.git PROTOCOL: Abolish old copy Signed-off-by: Ian Jackson --- diff --git a/old-python/PROTOCOL b/old-python/PROTOCOL deleted file mode 100644 index e18cf0e..0000000 --- a/old-python/PROTOCOL +++ /dev/null @@ -1,42 +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: clock-based lifetime-limited bearer tokens. - -Encryption and integrity checking: none. Use a real VPN over this! - -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) - token - target_requests_outstanding - http_timeout - d data (SLIP format, with SLIP_ESC and `-' swapped) - - -Authentication token is: - -(separated by a single space). The hmac is - HMAC(secret, ) - - -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