From d22eacb13eb676b5c096b47c72a3fdbdb332d5a5 Mon Sep 17 00:00:00 2001 From: t3sserakt Date: Fri, 5 Jun 2020 16:37:10 +0200 Subject: Fixed bug #5822 by adding a monotonic time to the connection create message of a peer that want to start a KX, and the corresponding test #5823. Credits to dvn, lurchi and xrs for helpful discussions and coding. --- src/include/gnunet_protocols.h | 10 +++++++--- src/include/gnunet_signatures.h | 4 ++++ 2 files changed, 11 insertions(+), 3 deletions(-) (limited to 'src/include') diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index a9cd7466a..0db6150aa 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h @@ -2734,9 +2734,8 @@ extern "C" { * 1000-1009 Connection-level Messages * 1010-1019 Channel-level Messages * 1020-1029 Local Client-Service - * 1030-1039 Local Service Monitoring - * 1040-1049 Application Data - * 1050-1059 Reserved + * 1030-1049 Local Service Monitoring + * 1050-1059 Application Data */ /******************************** Connection ********************************/ @@ -2932,6 +2931,11 @@ extern "C" { */ #define GNUNET_MESSAGE_TYPE_CADET_LOCAL_INFO_TUNNELS_END 1041 +/** + * Request to drop a message of type X to peer y. + */ +#define GNUNET_MESSAGE_TYPE_CADET_DROP_CADET_MESSAGE 1042 + /******************************** Application *******************************/ diff --git a/src/include/gnunet_signatures.h b/src/include/gnunet_signatures.h index a00e0372d..503113770 100644 --- a/src/include/gnunet_signatures.h +++ b/src/include/gnunet_signatures.h @@ -241,6 +241,10 @@ extern "C" */ #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DV_INITIATOR 37 +/** + * Signature by a peer that like to create a connection. + */ +#define GNUNET_SIGNATURE_PURPOSE_CADET_CONNECTION_INITIATOR 38 #if 0 /* keep Emacsens' auto-indent happy */ { -- cgit v1.2.3