summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2020-10-15 19:37:43 -0300
committerSoniEx2 <endermoneymod@gmail.com>2020-10-15 19:37:43 -0300
commit3f2eaa2f7ee9841e3dd21dc615068ccdc37543d6 (patch)
treefc7f618e93abbf5cf74929b5bdf4de9fe954c10f
parent9ac5ee065a545227fc9bf76b2ca7d1fe56fd6624 (diff)
Add LogServ and DCC SYNC
-rw-r--r--merkle-tree.md23
1 files changed, 23 insertions, 0 deletions
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.