From 3f2eaa2f7ee9841e3dd21dc615068ccdc37543d6 Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Thu, 15 Oct 2020 19:37:43 -0300 Subject: Add LogServ and DCC SYNC --- merkle-tree.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/merkle-tree.md b/merkle-tree.md index cc09cc3..03b8062 100644 --- a/merkle-tree.md +++ b/merkle-tree.md @@ -173,3 +173,26 @@ Users and channel operators MUST be able to opt-out of logging. Opt-out is provided by this specification through the use of user and channel modes. [FIXME there may be more] + +LogServ +------- + +Retrieving logs is done with the use of LogServ. When the client connets, it +MUST send a CTCP to LogServ requesting a DCC SYNC session. + +`DCC SYNC` +---------- + +Syntax (request): + + DCC SYNC hash_type=counter/full_hash time + +Syntax (response): + + DCC SYNC https://[127.0.0.1]:9999/requested_logs + +The response target MUST be a file containing IRC lines since the given +hash/timestamp. + +This CTCP MAY also be sent to other users in the channel. It does not have to +go through LogServ. -- cgit 1.4.1